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