INV ... Operation results inversion
Bit device
X
Y
M
L
F
B SB T SM V T
INV
Function
Inverts the operation result immediately prior to the INV command.
Operation result immediately
prior to the INV command.
Program example
(1) Program to invert the X0 ON/OFF data, and to output to Y10.
X0
10
[Timing Chart]
ON
OFF
X0
ON
Y10
OFF
Points
(1) Because the INV command operates with the operation results immediately prior to the INV
command, the AND instruction should be used at the same position.
The INV command cannot be used at the LD or OR position.
7. Basic Commands
INV
Usable device
Word device
C D R W SW Z SD K
OFF
ON
Y10
- 116 -
Get other manuals https://www.bkmanuals.com
Con-
Pointer
stant
H
Operation result following the
execution of the INV command.
ON
OFF
Coding
No. of
steps
mand
10
LD
11
INV
15
OUT
16
Digit
No. of
desig-
Index
steps
nation
P
4
Com-
Device
X0
Y10