EasyManua.ls Logo

Automationdirect.com DL06 - Page 218

Automationdirect.com DL06
533 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...
DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-57
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 value in V2000 will be loaded into the accumulator
and output to V2010.
LD
A aaa
Operand Data Type DL06 Range
A
aaa
V-memory V See memory map
Pointer P See memory map
Constant K 0–FFFF
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
00008935 8935
Direct SOFT32
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
DS Used
HPP Used
Discrete Bit Flags Description
SP53 On when the pointer is outside of the available range.
SP70 On anytime the value in the accumulator is negative.
SP76 On when any instruction loads a value of zero into the accumulator.
DirectSOFT
Load (LD)
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.