DL205 User Manual, 4th Edition, Rev. D
5-15
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Aaaa.bb
Aaaa.bb
AND Bit-of-Word (ANDB)
The And Bit-of-Word instruction logically ands a normally open contact in series with another
contact in a rung. The status of the contact will be the same state as the bit referenced in the
associated memory location.
And Not Bit-of-Word (ANDNB)
The And Not Bit-of-Word instruction logically ands a normally closed contact in series with
another contact in a rung. The status of the contact will be opposite the state of the bit
referenced in the associated memory location.
In the following And Bit-of-Word example, when input X1 and bit 4 of V1400 is on output
Y5 will energize.
In the following And Not Bit-of-Word example, when input X1 is on and bit 4 of V1400 is
off, output Y5 will energize.
230
240
250-1
260
230
240
250-1
260
Operand Data Type DL250-1 Range DL260 Range
A
aaa bb aaa bb
V-memory B
See memory map
page 3-55
BCD, 0 to 15
See memory map
page 3-56
BCD, 0 to 15
Pointer PB
See memory map
page 3-55
BCD
See memory map
page 3-56
BCD
X1
Y5
OUT
B1400.4
DirectSOFT
STR 1
Handheld Programmer Keystrokes
OUT 5
ANDN V 1SHFT 4 0 0
4 ENT
K
B
ENT
ENT
Y5
OUT
X1 B1400.4