NB performs an "AND" operation on the previously saved logic results and the
current cumulative register content.
Ladder diagram:
X1
X3
Y1
X0
X2
ANB
Block A
Block B
Command code: Description:
LD X0 Load Contact A of X0
ORI X2
Establish parallel
connection to contact B
of X2
LDI X1 Load Contact B of X1
OR X3
Establish parallel
connection to contact A
of X3
ANB
Series circuit block
OUT Y1 Drive Y1 coil
Command Function
ORB
Parallel circuit block
Operand N/A
ORB performs an "OR" operation on the previously saved logic results and the current
cumulative register content.
Ladder diagram:
X1
X3
Y1
X0
X2
ORB
Block A
Block B
Command code: Description:
LD X0 Load Contact A of X0
ANI X1
Establish parallel
connection to contact B
of X1
LDI X2 Load Contact B of X2
AND X3
Establish parallel
connection to contact A
of X3
ORB
Parallel circuit block
OUT Y1 Drive Y1 coil
Command Function
MPS
Save to stack
Operand N/A
Save current content of cumulative register to the stack. (Add one to stack pointer)
Command Function
MRD
Read stack (pointer does not change)
Operand N/A
Reads stack content and saves to cumulative register. (Stack pointer does not
change)