1930
29 BOOLEAN FUNCTIONS
29.2 NOT Operation
29.2 NOT Operation
NOT(_E)
These functions output the logical NOT of input values.
■Description, type, data type
*1 DX cannot be used.
■Operation processing
• These functions perform a NOT operation (bit-by-bit) on the BOOL, WORD, or DWORD data type value input to (s), and
output the operation result, in the same data type as (s), from (d).
Data type: WORD
• Input a BOOL, WORD, or DWORD data type value to (s).
■Operation result
1. Function without EN/ENO
The operation processing is performed. The operation result is output from (d).
2. Function with EN/ENO
The execution conditions and operation results will be as follows.
*1 If the value FALSE is output from ENO, the output data from (d) will be undefined. Create a program so that the undefined value will not
be used in operations.
There is no operation error.
Ladder, FBD/LD Structured text
[Without EN/ENO] [With EN/ENO] [Without EN/ENO]
The function is described as an operator. ( MELSEC iQ-R Programming
Manual (Program Design))
[With EN/ENO]
d:=NOT_E(EN,ENO,s);
Argument Description Type Data type
EN Execution condition (TRUE: Executed, FALSE: Not executed) Input variable BOOL
s (IN)
*1
Input Input variable ANY_BIT
ENO Output status (TRUE: Normal, FALSE: Abnormal) Output variable BOOL
d Output Output variable ANY_BIT
Execution condition Operation result
EN ENO (d)
TRUE (executed) TRUE Operation result output value
FALSE (not executed) FALSE
*1
Undefined value
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
sd
(d)
(s1)
NOT
1111000011010110
0000111100101001