AND

AND

PROGRAM AND_DEMO
    VAR
       BOOL1,BOOL2,BOOL3: BOOL;
  END_VAR
    BOOL3:= BOOL1 AND BOOL2;
END_PROGRAM

Logical “AND” of two or more inputs. All inputs must be TRUE for the output to be TRUE.

InputType Description
IN1..ANY_BITInput value
OutputTypeDescription
BOOLOutput value

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