Standard
RLL Instructions
5–12
Standard RLL Instructions
Boolean Instructions
The And Store instruction logically ands
two branches of a rung in series. Both
branches must begin with the Store
instruction.
OUT
À
Á
The Or Store instruction logically ors two
branches of a rung in parallel. Both
branches must begin with the Store
instruction.
OUT
À
Á
In the following And Store example, the branch consisting of contacts X2, X3, and X4
have been anded with the branch consisting of contact X1.
STR
$
1
B
ENT
STR
$
ENT
2
C
AND
V
ENT
3
D
OR
Q
ENT
4
E
ANDST
L
ENT
OUT
GX
5
F
ENT
Y5
OUT
X1 X2
X4
X3
Handheld Programmer KeystrokesDirectSOFT
In the following Or Store example, the branch consisting of X1 and X2 have been
ored with the branch consisting of X3 and X4.
STR
$
1
B
ENT
STR
$
ENT
AND
V
ENT
OUT
GX
5
F
ENT
2
C
3
D
AND
V
ENT
4
E
ORST
M
ENT
Y5
OUT
X1 X2
X3 X4
Handheld Programmer KeystrokesDirectSOFT
And Store
(AND STR)
Or Store
(OR STR)