Association Instructions; Association Instructions; Ladder Block Series Connection, Ladder Block Parallel Connection - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

5.2

Association Instructions

Ladder block series connection, ladder block parallel connection

ANB, ORB
High
Basic
Process
performance
ANB
ORB
Setting
Internal device
data
Bit
Processing details
■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.
[Ladder Mode]
X0
X1
X2
0
X3
X4
X5
• 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).
Operation error
• There is no operation error in the ANB or ORB instruction.
5 SEQUENCE INSTRUCTIONS
138

5.2 Association Instructions

LCPU
Redundant Universal
Block A
Block A
R, ZR
Word
Y10
ANB
Block B
ORB
Block B
For parallel connection of 1 contact,
OR or ORI is used.
J\
U\G
Bit
Word
[List Mode]
0
LD
X0
1
LD
X1
2
AND X2
3
LD
X3
4
AND X4
5
ORB
6
OR
X5
7
ANB
8
OUT
Y10
Zn
Constant
Others

Advertisement

Table of Contents
loading

Table of Contents