Operator - Performs a boolean negation of the input.

Inputs

Input

Data type

Description

IN

BOOL

Boolean value.

Outputs

Output

Data type

Description

Q

BOOL

Boolean negation of the input.

Truth table

IN

Q

0

1

1

0

Remarks

In FBD language, the block NOT can be used. Alternatively, you can use a link terminated by a o negation. In LD language, negated contacts and coils can be used.

ST Language

Q := NOT IN;
Q := NOT (IN1 OR IN2);

FBD Language

Explicit use of the NOT block:

Fixed_Image
Use of a negated link: Q is IN1 AND NOT IN2:

Fixed_Image

LD Language

Negated contact: Q is: IN1 AND NOT IN2:

Fixed_Image
Negated coil: Q is NOT (IN1 AND IN2):

Fixed_Image

Fixed_Image See also

AND  OR  XOR


Created with the Personal Edition of HelpNDoc: Streamline your documentation process with HelpNDoc's HTML5 template