5 - 13 5 - 13
MELSEC-Q/QnA
5 SEQUENCE INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
5.2.3 Operation results inversion (INV)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Other
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant
K, H
U
[Instruction Symbol] [Execution Condition]
INV
[Functions]
Inverts the operation result immediately prior to the INV instruction.
Operation Result Immediately
Prior to the INV Instruction.
Operation Result Following the
Execution of the INV Instruction.
OFF ON
ON OFF
[Operation Errors]
(1) There are no operation errors associated with the INV instruction.
[Program Example]
(1) A program which inverts the X0 ON/OFF data, and outputs from Y10
[Ladder Mode] [List Mode]
Device
Steps
Instruction
[Timing Chart]
X0
Y10
ON
OFF
ON
OFF
POINTS
(1) The INV instruction operates based on the results of calculation made until the INV
instruction is given. Accordingly, use it in the same position as that of the AND instruction.
The INV instruction cannot be used at the LD and OR positions.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com