Mitsubishi Electronics FX3G User Manual

Page of 964
191
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.4 OR, ORI
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction 
Li
st
4
D
evices 
in Det
ai
l
5
Specifi
ed the
De
vice
 &
 
C
onst
ant
6
Bef
ore
 
Pr
og
ra
mmi
ng
7
Bas
ic 
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
Operati
on
7.4
OR, ORI
Outline
OR and ORI instructions are used to connect one contact in parallel.
If two or more contacts are connected in series, use ORB instruction described later to connect such a serial circuit
block to another circuit in parallel.
A step containing OR or ORI instruction is connected in parallel to a preceding step containing LD or LDI instruction.
There is no limitation in the number of times of parallel connection.
1. Instruction format
→ For the number of instruction steps, refer to Section 7.16.
2. Applicable devices
S1: Special auxiliary relays (M) and 32-bit counters (C) cannot be indexed with index registers (V and Z).
S2: State relays (S) cannot be indexed with index registers (V and Z).
S3: "D .b" is available only in FX
3U
 and FX
3UC
 PLCs. However, index modifiers (V and Z) are not available.
S4: This function is supported only in FX
3U
/FX
3UC
 PLCs.
Explanation of function and operation
1. OR instruction (parallel connection of NO (normally open) contacts)
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
OR
S
1
S
1
S
2
S
3
S
4
ORI
S
1
S
1
S
2
S
3
S
4
OR
OR
Basic Instruction
OR
Continuous
Operation
Pulse (Single)
Operation
Mnemonic
Operation Condition
ORI
OR Inverse
Basic Instruction
ORI
Continuous
Operation
Pulse (Single)
Operation
Mnemonic
Operation Condition
Timing chart
OR instruction
LD instruction
X000
Y000
X001
Circuit program
List program
LD
OR
OUT
0000
0001
0002
X000
X001
Y000
Y000
X001
X000
ON
ON
ON
ON
ON
ON
ON