DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-60
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
NOTE: Two consecutive Load instructions will place the value of the first load instruction onto the
accumulator stack.
In the following example, when X1 is on, the octal number 40400 will be converted to a HEX
4100 and loaded into the accumulator using the Load Address instruction. The value in the
lower 16 bits of the accumulator is copied to V2000 using the Out instruction.
O aaa
LDA
Operand Data Type DL06 Range
aaa
Octal Address O See memory map
1
B
ENT
4
E
0
A
4
E
0
A
0
A
ENT
Handheld Programmer Keystrokes
Direct
SOFT32
LDA
O 40400
X1
Load The HEX equivalent to
the octal number into the
lower 16 bits of the
accumulator
OUT
V2000
Copy the value in lower 16
bits of the accumulator to
V2000
V2000
Acc.
Hexadecimal
4100
Octal
40400
The unused accumulator
bits are set to zero
STR
$
SHFT
ANDST
L
3
D
0
A
OUT
GX
SHFT
AND
V
2
C
0
A
0
A
ENT
0
A
Discrete Bit Flags Description
SP70 On anytime the value in the accumulator is negative.
SP76 On when any instruction loads a value of zero into the accumulator.
DS Used
HPP Used
DirectSOFT
Load Address (LDA)
The Load Address instruction is a 16-bit instruction. It
converts any octal value or address to the HEX equivalent
value and loads the HEX value into the accumulator. This
instruction is useful when an address parameter is required,
since all addresses for the DL06 system are in octal.