Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
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
X
2
X1
X3
X
4
[Ladder Mode]
[List Mode]
1
A
ND X1
2
LD X2
3
A
ND X3
4
ORB
5
OR
X
4
6
O
UT Y10
0
LD X0