FX Series Programmable Controllers Basic Program Instructions 2
2-12
2.12 And Block
Program example:
Basic points to remember:
- An ANB instruction is an independent instruction and is not associated with an
device
number
- Use the ANB instruction to connect multi-contact circuits (usuall
parallel circuit blocks)
to the precedin
circuit in series. Parallel circuit blocks are those in which more than one
contact connects in parallel or the ORB instruction is used.
- To declare the startin
point of the circuit block, use a LD or LDI instruction. After
completin
the parallel circuit block, connect it to the precedin
block in series usin
the
ANB instruction.
Mnemonic Function Format Devices Program steps
ANB
(ANd Block)
Serial connection
of multiple
parallel circuits
N/A 1
X0
X1
X3
X2 X3
X4 X5
X6
ANB
LD
ORB
LD
OR
LD
AND
LDI
OR
AND
ORB
0
1
2
3
4
6
7
5
8
ANB
X
X
X
X
X
X
X
0
1
2
3
4
6
5
9
10
OR
OUT
X
Y
3
7
Recommended sequential
programming method
Y7
Batch processing limitations:
• When usin
ANB instructions in a batch, use no more than 8 LD and LDI instructions
in the definition of the pro
ram blocks (to be connected in parallel). I
norin
this will
result in a pro
ram error (see ORB explanation for example).
Sequential processing limitations:
• It is possible to use as man
ANB instructions as necessar
to connect a number of
parallel circuit blocks to the precedin
block in series (see the pro
ram listin
).