NOT

NOT

PROGRAM NOT_DEMO
    VAR
      BOOL1,BOOL2: BOOL;
     END_VAR
    BOOL2:= NOT BOOL1;
END_PROGRAM

The function negates the input.

InputType Description
IN ANY_BITInput value
OutputType Description
ANY_BITOutput value

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