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