EasyManua.ls Logo

AutomationDirect DL105 - Load (LD)

AutomationDirect DL105
350 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 v alue 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
8935
8935
0000 8935
DirectSOFT
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)

Table of Contents