Standard
RLL Instructions
5–21
Standard RLL Instructions
Comparative Boolean Instructions
V aaa
The Or If Equal instruction connects a
normally open comparative contact in
parallel with another contact. The
contact will be on when Vaaa = Bbbb.
B bbb
V aaa
The Or If Not Equal instruction connects
a normally closed comparative contact in
parallel with another contact. The
contact will be on when Vaaa Bbbb.
B bbb
Operand Data Type DL05 Range
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 = 4500 or
V2002 = 2345 , Y3 will energize.
2
C
3
D
4
E
5
F
ENT
4
E
5
F
ENT
0
A
0
A
Y3
OUT
V2002 K2345
V2000 K4500
DirectSOFT
Handheld Programmer Keystrokes
SHFT
4
E
2
C
0
A
0
A
0
A
STR
$
OR
Q
SHFT
4
E
2
C
0
A
0
A
2
C
OUT
GX
ENT
3
D
In the following example, when the value in V memory location V2000 = 3916 or
V2002 050, Y3 will energize.
2
C
5
F
ENT
0
A
0
A
3
D
9
J
ENT
1
B
6
G
4
E
Y3
OUT
V2000 K3916
V2002 K2500
DirectSOFT
Handheld Programmer Keystrokes
STR
$
SHFT
2
C
0
A
0
A
0
A
ORN
R
SHFT
4
E
2
C
0
A
0
A
2
C
OUT
GX
ENT
3
D
Or If Equal
(ORE)
Or If Not Equal
(ORNE)