FX Series Programmable Controllers Basic Program Instructions 2
2-21
2.18 Inverse
Program example:
Basic points to remember:
- The INV instruction is used to chan
g
e (invert) the lo
g
ical state of the current ladder
network at the inserted position.
-Usa
g
e is the same as for AND and ANI; see earlier.
Mnemonic Function Format Devices Program steps
INV
(Inverse)
Invert the current
result of the
internal PLC
operations
N/A 1
X0
PLS M0
M0
SET Y0
X1
PLF M1
M1
RST Y0
0
0
0
1
1
1
0
LD
PLS
LD
SET
LD
RST
PLF
LD
0
1
4
5
8
9
6
3
0
X
M
M
M
Y
M
Y
X
Usages for INV
• Use the invert instruction to quickl
y
chan
g
e the lo
g
ic of a complex circuit.
It is also useful as an inverse operation for the pulse contact instructions LDP, LDF,
ANP, etc.