Mitsubishi Electronics FX3G User Manual

Page of 964
208
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.10 INV
7.10
INV
Outline
1. Instruction Format
INV instruction inverts the operation result up to just before INV instruction, and does not require device number
specification.
2. Applicable devices
Explanation of function and operation
1. INV instruction (inverts the result of operations)
In the figure above, Y000 turns ON when X000 is OFF, and Y000 turns OFF when X000 is ON.
INV instruction can be used in the same position as serial contact instructions (AND, ANI, ANDP and ANDF).
Different from LD, LDI, LDP and LDF instructions shown in the list, INV instruction cannot execute connection to bus
lines. Different from OR, ORI, ORP and ORF instructions, INV instruction cannot be used independently in parallel to
a contact instruction.
2. Operation range of INV instruction
When INV instruction is used in a complicated circuit containing ORB and ANB instructions, the operation range of INV
instruction is as shown in the figure below:
INV instruction inverts the operation result after LD, LDI, LDP or LDF instruction located before INV instruction.
Accordingly, if INV instructions are used inside ORB and ANB instructions, blocks after LD, LDI, LDP or LDF
instruction seen from each INV instruction are regarded as the target of INV operation.
Instruc-
tion
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special 
Unit
Index
Con-
stant
Real 
Number
Charac-
ter String
Pointer
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
V Z Modify K H
E
" "
P
INV
There are no applicable devices.
INV
Inverse
Basic Instruction
1 step
INV
Continuous
Operation
Pulse (Single)
Operation
Mnemonic
Operation Condition
X000
Y000
X000
Y000
OFF
ON
OFF
ON
ON
OFF
0  LD      X000
1  INV
2  OUT   Y000
Circuit program
List program
Timing chart
Operation result until just
before INV instruction
Operation result after INV
instruction is executed
ON
ON
OFF
OFF
Inverted
LD
LD
LD
LD
LD
LD