EasyManua.ls Logo

Automationdirect.com DL06 - Page 225

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-64
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Out (OUT)
The Out instruction is a 16-bit instruction that copies the value
in the lower 16 bits of the accumulator to a specified V-memory
location (Aaaa).
In the following example, when X1 is on, the value in V2000 will be loaded into the lower
16 bits of the accumulator using the Load instruction. The value in the lower 16 bits of the
accumulator are copied to V2010 using the OUT instruction.
Out Double (OUTD)
The Out Double instruction is a 32 bit instruction that copies the
value in the accumulator to two consecutive V-memory locations at a
specified starting location (Aaaa).
In the following example, when X1 is on, the 32-bit value in V2000 and V2001 will be loaded
into the accumulator using the Load Double instruction. The value in the accumulator is
output to V2010 and V2011 using the OUTD instruction.
OUT
A aaa
Operand Data Type DL06 Range
A
aaa
V-memory V See memory map
Pointer P See memory map
Operand Data Type DL06 Range
A
aaa
V-memory V See memory map
Pointer P See memory map
Discrete Bit Flags Description
SP53 On if CPU cannot solve the logic.
Discrete Bit Flags Description
SP53 On if CPU cannot solve the logic.
2
C
0
A
0
A
0
A
ENT
1
B
ENT
Handheld Programmer Keystrokes
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
STR
$
SHFT
ANDST
L
3
D
OUT
GX
SHFT
AND
V
2
C
0
A
1
B
0
A
ENT
OUTD
A aaa
2
C
0
A
0
A
0
A
ENT
2
C
0
A
1
B
0
A
ENT
1
B
ENT
Handheld
Programmer Keystrokes
V2010
Acc.
V2000
67395026 5026
V2001
67395026
V2011
67395026
Load the value in V2000 and
V2001 into the accumulator
LDD
OUTD
Copy the value in the
accumulator to V2010 and
V2011
V2000
X1
V2010
Direct SOFT32
STR
$
SHFT
ANDST
L
3
D
3
D
OUT
GX
SHFT
3
D
DS Used
HPP Used
DS Used
HPP Used
DirectSOFT
DirectSOFT