M800V/M80V Series PLC Programming Manual (1/2)
7 Basic Instructions
7.2 Connection Instructions
INV: Operation results inversion
Setting
Bit device
data
X
Y
M
L
F
[Instruction symbol] [Execution condition]
INV
Functions
Inverts the operation result immediately prior to the INV instruction.
Operation result immediately prior to the INV instruction
OFF
ON
Arithmetic errors
There are no arithmetic errors associated with the INV instruction.
Program example
A program which inverts the X0 ON/OFF data, and outputs from Y10.
X0
0
3
[Timing chart]
ON
OFF
X0
Y10 ON
OFF
POINT
(1) The INV instruction operates based on the results of calculation made until the INV instruction is given. Accord-
ingly, use it in the same position as that of the AND instruction.
The INV instruction cannot be used at the LD and OR positions.
IB-1501667-B
Usable devices
B SB
T SM V
T
C
[Ladder mode]
END
Word device
D
R/ZR W SW SD
Z
Operation result following the execution of the INV instruction
ON
OFF
Y10
Steps
0
1
2
3
130
Digit
Con-
Pointer
designa-
Index
stant
tion
K
H
P
[List mode]
Inst.
Device
LD
X0
INV
OUT
Y10
END