DL205 User Manual, 4th Edition, Rev. B
5–29
Chapter 5: Standard RLL Instructions - Boolean
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
And If Equal (ANDE)
The And If Equal instruction connects a normally
open comparative contact in series with another
contact. The contact will be on when Vaaa equals
Bbbb.
And If Not Equal (ANDNE)
The And If Not Equal instruction connects a
normally closed comparative contact in series with
another contact. The contact will be on when Vaaa
does not equal Bbbb
In the following example, when the value in V-memory location V2000 = 5000 and V2002 =
2345, Y3 will energize.
In the following example, when the value in V-memory location V2000 = 5000 and V2002 /=
2345, Y3 will energize.
þ
þ
þ
þ
230
240
250-1
260
þ
þ
þ
þ
230
240
250-1
260
A aaa B bbb
A aaa B bbb
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
K2345
V2000
K5000
Direct
SOFT
Handheld Programmer Keystrokes
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
ANDN
W
SHFT
4
E
2
C
0
A
0
A
2
C
OUT
GX
ENT
3
D
Y3
OUT
V2002
K2345
V2000
K5000
Direct
SOFT
Handheld Programmer Keystrokes
Operand
Data Type
DL230 Range
DL240 Range
DL250-1 Range
DL260 Range
A/B
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
V-memory V
All. (See
memory map
page 3-53)
All. (See
memory map
page 3-53)
All. (See
memory map
page 3-54)
All. (See
memory map
page 3-54)
All. (See
memory map
page 3-55)
All. (See
memory map
page 3-55)
All. (See
memory map
page 3-56)
All. (See
memory map
page 3-56)
Pointer P
–
–
–
All V-memory.
(See memory
map page
3-54)
–
All V-memory.
(See memory
map page
3-55)
–
All V-memory.
(See memory
map page
3-56)
Constant K
–
0-FFFF
–
0-FFFF
–
0-FFFF
–
0-FFFF
DS Implied
HPP
Used