Standard
RLL Instructions
5–23
Standard RLL Instructions
Comparative Boolean Instructions
The Comparative Store instruction
begins a new rung or additional branch in
a rung with a normally open comparative
contact. The contact will be on when
Aaaa  Bbbb.
A aaa B bbb
The Comparative Store Not instruction
begins a new rung or additional branch in
a rung with a normally closed
comparative contact. The contact will be
on when Aaaa < Bbbb.
A aaa B bbb
Operand Data Type DL05 Range
A/B aaa bbb
V memory V All (See page 4–28) All (See page 4–28)
Pointer P All (See page 4–28) All (See page 4–28)
Constant K –– 0–9999
Timer T 0–177
Counter CT 0–177
In the following example, when the value in V memory location V2000  1000, Y3
will energize.
ENT
3
D
Y3
OUT
V2000 K1000
DirectSOFT
Handheld Programmer Keystrokes
STR
$
ENT
OUT
GX
SHFT
AND
V
2
C
0
A
0
A
0
A
1
B
0
A
0
A
0
A
In the following example, when the value in V memory location V2000 < 4050, Y3 will
energize.
ENT
3
D
0
A
ENT
0
A
4
E
5
F
Y3
OUT
V2000 K4050
DirectSOFT
Handheld Programmer Keystrokes
OUT
GX
STRN
SP
SHFT
AND
V
2
C
0
A
0
A
0
A
Store
(STR)
Store Not
(STRN)