Standard
RLL Instructions
5–24
Standard RLL Instructions
Comparative Boolean Instructions
The Comparative Or instruction
connects a normally open comparative
contact in parallel with another contact.
The contact will be on when Aaaa 
Bbbb.
A aaa B bbb
The Comparative Or Not instruction
connects a normally open comparative
contact in parallel with another 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 = 6045 or
V2002  2345, Y3 will energize.
2
C
3
D
4
E
5
F
ENT
6
G
0
A
Y3
OUT
V2000 K6045
V2002 K2345
DirectSOFT
Handheld Programmer Keystrokes
SHFT
4
E
2
C
0
A
0
A
0
A
ENT
STR
$
OR
Q
OUT
GX
ENT
3
D
4
E
5
F
SHFT
AND
V
2
C
0
A
0
A
2
C
In the following example when the value in V memory location V2000 = 1000 or
V2002 < 050, Y3 will energize.
ENT
3
D
2
C
5
F
ENT
0
A
0
A
ENT
1
B
0
A
0
A
0
A
4
E
Y3
OUT
V2000 K1000
V2002 K2500
DirectSOFT
Handheld Programmer Keystrokes
STR
$
SHFT
2
C
0
A
0
A
0
A
ORN
R
OUT
GX
SHFT
AND
V
2
C
0
A
0
A
2
C
Or
(OR)
Or Not
(ORN)