5-10
ANB,ORB
5.2 Association Instructions
5.2.1 Ladder block series connection and parallel connection
(ANB,ORB)
ANB,ORB
Function
ANB
(1) Performs an AND operation on block A and block B, and takes the resulting value as the
operation result.
(2) The symbol for ANB is not the contact symbol, but rather is the connection symbol.
(3) When programming in the list mode, up to 15 ANB instructions (16 blocks) can be written
consecutively.
ORB
(1) Conducts an OR operation on Block A and Block B, and takes the resulting value as the
operation result.
(2) ORB is used to perform parallel connections for ladder blocks with two or more contacts.
For ladder blocks with only one contact, use OR or ORI; there is no need for ORB in such
cases.
(3) The ORB symbol is not the contact symbol, but rather is the connection symbol.
(4) When programming in the list mode, it is possible to use up to 15 ORB instructions
successively (16 blocks).
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn Constants Other
Bit Word Bit Word
–– ––
Basic
Process
High
performance
Redundant
Universal
ANB
Block A
Block B
Block A
ORB
Block B
ANB
ORB
For parallel connection of 1 contact,
OR or ORI is used.
Y10
X0
0
X2
X1
X3
X4
[Ladder Mode] [List Mode]
1ANDX1
2LDX2
3ANDX3
4 ORB
5 OR X4
6 OUT
Y10
0 LDX0