EasyManua.ls Logo

Automationdirect.com DirectLOGIC DL205 Series

Automationdirect.com DirectLOGIC DL205 Series
587 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DL205 User Manual, 4th Edition, Rev. B
5–15
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 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.
Aaaa.bb
Aaaa.bb
ý
ý
þ
þ
2
30
240
2
50-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
Y5
OUT
X1 B1400.4
DirectSOFT
OUT 5
ENT
Handheld Programmer Keystrokes
V 1SHFT 4 0 0
4 ENT
K
B
STR 1
ENT
AND
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
DS Implied
HPP Used

Table of Contents

Related product manuals