Documentation

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

Input Type Description
IN ANY_BIT Input value

Outputs

Output Type Description
=> ANY_BIT Output value

Application example