5. SEQUENCE INSTRUCTIONS
5 − 6
MELSEC-A
ORB
(1) This instruction performs the OR operation of block A and block B, and uses it
as an operation result.
(2) ORB performs parallel connection of circuit blocks with two or more contacts.
For parallel connection of circuit blocks which have only one contact, OR and
ORI are used and ORB is not required. (See below.)
(3) The symbol of ORB is not a contact symbol but a connection symbol.
(4) ORB can be written consecutively up to the number of instructions mentioned
below.
For AnA, A2AS, AnU, QCPU-A (A Mode) and A2USH board
: 15 instructions (16 blocks)
For CPUs other than AnA, A2AS, AnU, QCPU-A (A Mode) and A2USH board
: 7 instructions (8 blocks)
If more ORBs are written consecutively, the PC cannot perform proper
operation.
()
• Coding
0 LD X000
1 AND X001
2 LD X002
3 AND X003
4 ORB
5 OR X004
6 OUT Y010
7 END
X001 X000
X003 X002
Y010
X004
0