OR

OR

PROGRAM OR_DEMO
     VAR
       BOOL1,BOOL2,BOOL3: BOOL;
  END_VAR
    BOOL3:= BOOL1 OR BOOL2;
END_PROGRAM

The function performs a logical OR of two or more inputs.

InputType Description
IN1..ANY_BITInput value
OutputType Description
ANY_BITOutput value

  • © Energocentrum Plus, s.r.o. 2017 - 2024