NOT
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:
Use of a negated link: Q is IN1 AND NOT IN2:
LD Language
Negated contact: Q is: IN1 AND NOT IN2:
Negated coil: Q is NOT (IN1 AND IN2):
Created with the Personal Edition of HelpNDoc: Streamline your documentation process with HelpNDoc's HTML5 template