2 Standard Functions
2 - 54
NX-series Safety Control Unit Instructions Reference Manual (Z931)
NOT
This function reverses the value of a Boolean bit.
If you omit an input or output parameter, a building error will occur.
An error will not occur if the output terminal is not used or if it is connected to an input terminal on the
next instruction.
This function reverses the TRUE/FALSE value of the Boolean variable In.
The relationships between input and output variables are given in the following table.
• You must use Boolean variables for In and Out.
• The input condition depends on whether the output is safety data or standard data. If the condition is
not met, a building error will occur.
• If you set a safety data type variable for the output terminal, set a safety data type variable for the
input terminal as well.
• If you set a standard data type variable for the output terminal, you can set either a safety data type
variable or a standard data type variable for the input terminal.
Instruction Name FB/FUN Graphic expression
NOT Bit Reversal FUN
Variables
Name I/O Description Valid range Default
In Data to pro-
cess
Input Data to pro-
cess
TRUE or FALSE ---
Out Processing
result
Output Processing
result
TRUE or FALSE FALSE
Boolean Bit strings Integers Durations
BOOL
SAFEBOOL
BYTE
SAFEBYTE
WORD
SAFEWORD
DWORD
SAFEDWORD
INT
SAFEINT
DINT
SAFEDINT
TIME
SAFETIME
In OK OK
Out OK OK
Function
In bit Out bit
FALSE TRUE
TRUE FALSE
Precautions for Correct Use