Mitsubishi Electronics FX1S Welding System User Manual


 
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 any device
number
- Use the ANB instruction to connect multi-contact circuits (usually parallel circuit blocks)
to the preceding 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 starting point of the circuit block, use a LD or LDI instruction. After
completing the parallel circuit block, connect it to the preceding block in series using 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 using ANB instructions in a batch, use no more than 8 LD and LDI instructions
in the definition of the program blocks (to be connected in parallel). Ignoring this will
result in a program error (see ORB explanation for example).
Sequential processing limitations:
It is possible to use as many ANB instructions as necessary to connect a number of
parallel circuit blocks to the preceding block in series (see the program listing).