Basic SFC Functions
4-8. 【ANB】
Mnemonic Function
Format and Devices
ANB
(ANd Block)
Serial connection of
multiply parallel circuits
Devices: none
Start of a branch
End of a parallel circuit block
Serial connect with the preceding circuit
Start of a branch
End of a parallel circuit block
Mnemonic
z 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.
z 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. 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)
Description
Program
LD X0
OR X1
AND X3
4
AND
OR X6
ANB
OR X7
OUT Y20
LD X2
LDI X
X5
ORB
56