An Introduction to Programming
Example of an ORB instruction
Ladder Diagram
MELSEC Instruction List
LD
ANI
LD
AND
ORB
OUT
IEC Instruction List
LD
ANDN
OR(
AND
)
ST
In this example output Y17 is switched on if input X00 is "1" and input X01 is "0", or if relay M2 is
"0" and relay M10 is "1".
MELSEC System Q Beginners Manual
ORB instruction
X0
st
X1
1
serial connection (AND operation)
M2
nd
2
serial connection (AND operation)
M10
ORB instruction connecting both AND operations
Y17
X0
st
1
serial connection (AND operation)
X1
ORB instruction connecting both AND operations
M2
nd
2
serial connection (AND operation)
M10
Y17
The Basic Instruction Set
4 – 21