138
5 SEQUENCE INSTRUCTIONS
5.2 Association Instructions
5.2 Association Instructions
Ladder block series connection, ladder block parallel connection
ANB, ORB
■ANB
• Performs an AND operation on block A and block B, and takes the resulting value as the operation result.
• The symbol for ANB is not the contact symbol, but rather is the connection symbol.
• When programming in the list mode, up to 15 ANB instructions (16 blocks) can be written consecutively.
■ORB
• Conducts an OR operation on Block A and Block B, and takes the resulting value as the operation result.
• 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.
• The ORB symbol is not the contact symbol, but rather is the connection symbol.
• When programming in the list mode, it is possible to use up to 15 ORB instructions successively (16 blocks).
• There is no operation error in the ANB or ORB instruction.
Setting
data
Internal device R, ZR J\ U\G Zn Constant Others
Bit Word Bit Word
Basic
Process
High
performance
Redundant
Universal
LCPU
ANB
Block A
Block B
Block A
ORB
Block B
ANB
ORB
For parallel connection of 1 contact,
OR or ORI is used.
Y10
X1
0
X3
X2
X4
X5
1LDX1
2 AND X2
3LDX3
4
OR
5
AND X4
6
ORB
Y10
0LDX0
X0
7 ANB
8 OUT
X5
[Ladder Mode]
[List Mode]