Automationdirect.com DL05 User Manual page 198

Micro plc
Hide thumbs Also See for DL05:
Table of Contents

Advertisement

Chapter 5: Standard RLL Instructions
1
1
X1
2
2
3
3
4
4
5
5
6
6
7
7
The following example is identical to the one above with one exception. The LDA (Load
Address) instruction automatically converts the Octal address to Hex.
8
8
9
9
10
10
X1
11
11
12
12
13
13
14
14
A
a
b
B
c
C
D
D
5-52
DL05 Micro PLC User Manual, 6th Edition, Rev. D
LD
P2000
V2000 (P2000) contains the value 440
HEX. 440 HEX. = 2100 Octal which
contains the value 2635.
OUT
V2200
Copy the data from the lower 16 bits of
the accumulator to V2200.
Load the lower 16 bits of the
LDA
accumulator with Hexadecimal
O 2100
equivalent to Octal 2100 (440)
Copy the data from the lower 16 bits of
OUT
the accumulator to V2000
V 2000
V2000 (P2000) contains the value 440
LD
Hex. 440 Hex. = 2100 Octal which
P 2000
contains the value 2635
Copy the data from the lower 16 bits of
OUT
the accumulator to V2200
V 2200
X
V2076
X
V2077
2
V2100
X
V2101
X
V2102
V2000
X
V2103
0
4
4
0
X
V2104
V2105
X
2
V2200
X
V2201
2
1
0
Unused accumulator bits
are set to zero
0
0
0
0
0
0
4
4
4
4
Acc.
0
4
4
V2000
X
X
V2076
X
X
V2077
2
6
V2100
X
X
V2101
X
X
V2102
X
X
V2100
V2103
0
4
4
0
V2104
X
X
X
X
V2105
2
6
V2200
X
X
V2201
X
X
X
X
X
X
6
3
5
X
X
X
X
X
X
X
X
X
Accumulator
X
X
X
2
6
3
5
X
X
X
6
3
5
X
X
X
0
2100 Octal is converted to Hexadecimal
440 and loaded into the accumulator
0
0
0
X
X
X
X
3
5
X
X
X
X
X
X
Accumulator
X
X
0
0
0
0
2
2
6
6
3
3
5
5
X
X
3
5
X
X

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents