Standard
RLL
Instructions
5--48
Standard RLL Instructions
Accumulator / Stack Load and Output Data Instructions
DL105 PLC User Manual, 3rd Edition
O aaa
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 DL105 system are in octal.
Operand Data Type
DL130 Range
aaa
Octal Address
O
All V mem. (See page 4--29)
Discrete Bit Flags
Description
SP76
on when the value loaded into the accumulator by any instruction is zero.
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.
1
B
ENT
4
E
0
A
4
E
0
A
0
A
ENT
Handheld Programmer Keystrokes
Direct
SOFT
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
4 1 0 0
4 1 0 0
0 0 0 0
4 1 0 0
Octal
4 0 4 0
0
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
Load Address
(LDA)
Содержание DL105
Страница 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Страница 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Страница 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Страница 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Страница 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...
Страница 329: ...1F European Union Directives CE In This Appendix European Union EU Directives Basic EMC Installation Guidelines...