Table of Contents

NOT

Function name

NOT

ST call

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

Description

The function negates the input.

Inputs

InputType Description
IN ANY_BITInput value

Outputs

OutputType Description
ANY_BITOutput value

Application example