Standard
RLL Instructions
5–25
Standard RLL Instructions
Comparative Boolean Instructions
The Comparative And instruction
connects a normally open comparative
contact in series with another contact.
The contact will be on when Aaaa 
Bbbb.
A aaa B bbb
The Comparative And 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 = 5000, and
V2002  2345, Y3 will energize.
ENT
3
D
2
C
3
D
4
E
5
F
ENT
ENT
0
A
0
A
5
F
0
A
2
C
Y3
OUT
V2000 K5000
V2002 K2345
DirectSOFT
Handheld Programmer Keystrokes
STR
$
SHFT
4
E
0
A
0
A
0
A
AND
V
OUT
GX
SHFT
AND
V
2
C
0
A
0
A
2
C
In the following example, when the value in V memory location V2000 = 7000 and
V2002 < 050, Y3 will energize.
2
C
5
F
ENT
0
A
0
A
7
H
ENT
0
A
0
A
0
A
2
C
Y3
OUT
V2000 K7000 V2002 K2500
DirectSOFT Handheld Programmer Keystrokes
STR
$
SHFT
4
E
2
C
0
A
0
A
0
A
ANDN
W
OUT
GX
SHFT
AND
Y
ENT
3
D
SHFT
AND
V
2
C
0
A
0
A
And
(AND)
And Not
(ANDN)