149
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Sequence Input Instructions
3
NOT
NOT
Applicable Program Areas
Flags
There are no flags affected by NOT(520).
Function
NOT(520) is placed between an execution condition and another instruction to invert the execution
condition.
Precautions
NOT(520) is an intermediate instruction, i.e., it cannot be used as a right-hand instruction. Be sure to
program a right-hand instruction after NOT(520).
Example Programming
i
Instruction Mnemonic Variations
Function
code
Function
NOT NOT --- 520 Reverses the execution condition.
Symbol
NOT
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
NOT(520)
0.03
NOT(520) reverses the execution condition
in the following example.
0.00 0.01
0.02
NOT(520)
0.00
1
1
1
0
1
0
0
0
0.01
1
1
0
1
0
1
0
0
0.02
1
0
1
1
0
0
1
0
0.03
0
0
1
0
1
1
1
1