EasyManuals Logo

AutomationDirect DL205 User Manual

Default Icon
598 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
Page #354 background imageLoading...
Page #354 background image
DL205 User Manual, 4th Edition, Rev. D
5-130
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Number Conversion Instructions (Accumulator)
Binary (BIN)
The Binary instruction converts a BCD value in the
accumulator to the equivalent binary value. The result resides
in the accumulator.
In the following example, when X1 is on, the value in V2000
and V2001 is loaded into the accumulator using the Load Double instruction. The BCD value
in the accumulator is converted to the binary (HEX) equivalent using the BIN instruction.
The binary value in the accumulator is copied to V2010 and V2011 using the Out Double
instruction. (The Handheld Programmer will display the binary value in V2010 and V2011
as a HEX value.)




230
240
250-1
260
BIN
STR
$
0
A
OUT
GX
SHFT
3
D
2
C
0
A
1
B
ENT
0000 6F71
V2010V2011
HandheldProgrammerKeystrokes
LDD
V2000
X1
BIN
1 0000101001010010 000000000000010
8 4218421842184218 421842184218421
Acc.
0 002 8529
V2000V2001
01101111011100010000000000000000
15 14 13 12 11 10 9 87654321031 30 29 28 27 26 25 24 23 22 21 20 19 18 17 1631 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Acc.
12481
6
3
2
6
4
1
2
8
2
5
6
5
1
2
1
0
2
4
2
0
4
8
4
0
9
6
8
1
9
2
1
6
3
8
4
3
2
7
6
8
6
5
5
3
6
1
3
1
0
7
2
2
6
2
1
4
4
5
2
4
2
8
8
1
0
4
8
5
7
6
2
0
9
7
1
5
2
4
1
9
4
3
0
4
8
3
8
8
6
0
8
1
6
7
7
7
2
1
6
3
3
5
5
4
4
3
2
6
7
1
0
8
8
6
4
1
3
4
2
1
7
7
2
8
2
6
8
4
3
5
4
5
6
5
3
6
8
7
0
9
1
2
1
0
7
3
7
4
1
8
2
4
2
1
4
7
4
4
8
3
6
4
8
OUTD
V2010
28529 = 16384 + 8192 + 2048 + 1024 + 512 + 256 +64+32 +16+1
1
B
ENT
SHFT
ANDST
L
3
D
3
D
2
C
0
A
0
A
0
A
ENT
SHFT
1
B
8
I
TMR
N
ENT
Copy the binary data in the
accumulator to V2010 and V2011
Convert the BCD value in
the accumulator to the
binary equivalent value
Load the value in V2000 and
V2001 into the accumulator
BCD Value
Binary Equivalent Value
The Binary (HEX)
value copied to
V2010
DirectSOFT
DS Used
HPP Used

Table of Contents

Other manuals for AutomationDirect DL205

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AutomationDirect DL205 and is the answer not in the manual?

AutomationDirect DL205 Specifications

General IconGeneral
BrandAutomationDirect
ModelDL205
CategoryController
LanguageEnglish

Related product manuals