Mitsubishi Electronics FX3GC Manuel D’Utilisation
201
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.7 ANB
1
Introdu
ction
2
Ov
ervi
ew
ew
3
Instruction
Li
st
4
D
evices
in Det
ai
l
5
Specifi
ed the
De
vice
&
C
onst
ant
ant
6
Bef
ore
ore
Pr
og
ra
mmi
ng
ng
7
Bas
ic
ic
Instruction
8
FN
C00-FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
c
Operati
on
7.7
ANB
Outline
Use ANB instruction to connect a branch circuit (parallel circuit block) to the preceding circuit in series.
Use LD or LDI instruction at the start of branch. After completing a parallel circuit block, connect the parallel circuit
block to the preceding circuit in series by ANB instruction.
When there are many parallel circuits, ANB instruction can be used in each circuit block to connect them.
Use LD or LDI instruction at the start of branch. After completing a parallel circuit block, connect the parallel circuit
block to the preceding circuit in series by ANB instruction.
When there are many parallel circuits, ANB instruction can be used in each circuit block to connect them.
1. Instruction format
2. Applicable devices
Explanation of function and operation
1. ANB instruction (serial connection of multiple parallel circuits)
Caution
There is no limitation in the number of ANB instruction.
Though ANB instructions can be used at one time, note that the repeated use of LD or LDI instruction is limited to 8 or
less in the same way as ORB instruction.
Though ANB instructions can be used at one time, note that the repeated use of LD or LDI instruction is limited to 8 or
less in the same way as ORB instruction.
Instruc-
tion
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
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
ANB
There are no applicable devices.
AND Block
ANB
Basic Instruction
1 step
ANB
−
Continuous
Operation
Pulse (Single)
Pulse (Single)
Operation
Mnemonic
Operation Condition
Circuit program
List program
ANB
X000
X002
Y007
ORB
OR instruction before ANB instruction
X001
X003
X004
X005
X006
X003
Parallel block
OR instruction after ANB instruction
ANB
LD
0000 LD
X000
0001 OR
X001
0002 LD
X002
Branch start point
0003 AND X003
0004 LDI
0004 LDI
X004
0005 AND X005
0006 ORB
0006 ORB
Parallel block is completed.
0007 OR
X006
0008
It is connected to the
0009 OR
X003
preceding circuit in series.
0010 OUT Y007