Standard
RLL
Instructions
5--45
Standard RLL Instructions
Accumulator / Stack Load and Output Data Instructions
DL105 PLC User Manual, 3rd Edition
LD
A aaa
The Load instruction is a 16 bit instruction
that loads the value (Aaaa), which is either
a V--memory location or a 4 digit constant,
into the lower 16 bits of the accumulator.
The upper 16 bits of the accumulator are
set to 0.
Operand Data Type
DL130 Range
A
aaa
V--memory
V
All (See page 4--29)
Pointer
P
All V mem. (See page 4--29)
Constant
K
0--FFFF
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 value in V2000 will be loaded into the
accumulator and output to V2010.
LD
V2000
X1
Load the value in V2000 into
the lower 16 bits of the
accumulator
OUT
V2010
Copy the value in the lower
16 bits of the accumulator to
V2010
V2010
Acc.
V2000
8 9 3 5
8 9 3 5
0 0 0 0
8 9 3 5
Direct
SOFT
The unused accumulator
bits are set to zero
1
B
2
C
0
A
0
A
0
A
ENT
Handheld Programmer Keystrokes
STR
$
SET
X
SHFT
ANDST
L
3
D
OUT
GX
SHFT
AND
V
2
C
0
A
1
B
0
A
ENT
Load
(LD)
Содержание 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...