106
5 SEQUENCE INSTRUCTIONS
5.2 Association Instruction
Inverting the operation result
INV
This instruction inverts the operation result up to this instruction.
• This instruction inverts the operation result up to this instruction.
There is no operation error.
• This instruction operates using the operation result so far. Hence, use it at the same position as the AND
instruction. This instruction cannot be used at positions where the LD and OR instructions are programmed.
• If a ladder block is used, the operation result is inverted within the range of the ladder block. When
operating a ladder with this instruction and the ANB instruction, pay attention to the inversion range.
For details ANB instruction, refer to the following.
Page 104 ANB, ORB
Ladder diagram Structured text
ENO:=INV(EN);
Operation result up to the INV
instruction
Operation result after execution of
INV instruction
OFF ON
ON OFF
M0
ANB
M10
Y10
END
M1 M2
M20
Range of inversion