Association Instructions; Anb; Orb - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

5.2

Association Instructions

5.2.1

ANB

Ladder block series connection
5.2.1

ORB

Ladder block parallel connection
ANB, ORB
ANB
ORB
Setting
Internal Devices
Data
Bit
––
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.
0
(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).
ANB
Block A
Block A
Block B
R, ZR
Word
Bit
[Ladder Mode]
X0
X1
X2
X3
X4
X5
High
Basic
performance
Block B
ORB
For parallel connection of 1 contact,
OR or ORI is used.
J
\
U
\G
Word
––
[List Mode]
0
Y10
1
2
3
4
5
6
7
8
ANB, ORB
Process
LCPU
Redundant Universal
Zn
Constants
Other
LD
X0
LD
X1
AND X2
LD
X3
AND X4
ORB
X5
OR
ANB
OUT
Y10
1
2
3
4
5
6
7
8
131

Advertisement

Table of Contents
loading

Table of Contents