Chapter 7
Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)
Boolean NOT (BNOT)
IF NOT operand THEN
<statement>;
Input Parameter
Data Type
EnableIn
BOOL
In
BOOL
Output Parameter
Data Type
EnableOut
BOOL
Out
BOOL
340
The BNOT instruction complements a boolean input.
To perform a bitwise NOT, see
Operands:
Structured Text
Use NOT as an operator within an expression. The operand must be a BOOL values or
expressions that evaluate to BOOL values. This expression evaluates whether operand is
cleared (false).
See
Structured Text Programming
structured text.
Function Block
Operand
BNOT tag
FBD_BOOLEAN_NOT Structure
Description
Enable input. If cleared, the instruction does not execute and outputs are not updated.
Default is set.
Input to the instruction.
Default is set.
Description:
Enable output.
The output of the instruction.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
page
327.
for information on the syntax of expressions within
Type
FBD_BOOLEAN_NOT
Format
Description
Structure
BNOT structure