DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-136
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
In the following example, when X1 is ON, the constant (K2) is loaded into the accumulator
using the Load instruction. The starting location for the HEX table (V1500) is loaded into
the accumulator using the Load Address instruction. The starting location for the ASCII table
(V1400) is specified in the HEX to ASCII instruction.
The table below lists valid ASCII values for HTA conversion.
Handheld Programmer Keystrokes
LD
K2
X1
Load the constant value into
the lower 16 bits of the
accumulator. This value
defines the number of V
locations in the HEX table.
LDA
O 1500
Convert octal 1500 to HEX
340 and load the value into
the accumulator
HTA
V1400
V1400 is the starting
location for the ASCII table.
The conversion is executed
by this instruction.
ASCII T ABLE
Hexadecimal
Equivalents
1234
33 34
V1400
5678
31 32
V1401
37 38
V1402
35 36
V1403
V1500
V1501
STR
$
SHFT
ANDST
L
3
D
SHFT
JMP
K
4
E
ENT
SHFT
ANDST
L
3
D
0
A
0
A
0
A
ENT
SHFT
1
B
ENT
0
A
0
A
ENT
1
B
5
F
0
A
MLR
T
7
H
1
B
4
E
ASCII Values Valid for HTA Conversion
Hex Value ASCII Value Hex Value ASCII Value
0 30 8 38
1 31 9 39
2 32 A 41
3 33 B 42
4 34 C 43
5 35 D 44
6 36 E 45
7 37 F 46
Operand Data Type DL06 Range
aaa
V-memory V See memory map
Discrete Bit Flags Description
SP53 On when the value of the operand is larger than the accumulator can work with.
DirectSOFT