Standard
RLL
Instructions
5--49
Standard RLL Instructions
Accumulator / Stack Load and Output Data Instructions
DL105 PLC User Manual, 3rd Edition
OUT
A aaa
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).
Note: See Appendix E
Operand Data Type
DL130 Range
A
aaa
V--memory
V
All (See page 4--29)
Pointer
P
All V mem. (See page 4--29)
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.
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
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
STR
$
SHFT
ANDST
L
3
D
OUT
GX
SHFT
AND
V
2
C
0
A
1
B
0
A
ENT
OUTD
A aaa
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). Note: See Appendix E
Operand Data Type
DL130 Range
A
aaa
V--memory
V
All (See page 4--29)
Pointer
P
All V mem. (See page 4--29)
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 Out Double instruction.
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
5 0 2 6
5 0 2 6
6 7 3 9
5 0 2 6
V2001
6 7 3 9
V2011
6 7 3 9
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
SOFT
STR
$
SHFT
ANDST
L
3
D
3
D
OUT
GX
SHFT
3
D
Out
(OUT)
Out Double
(OUTD)
Summary of Contents for DL105
Page 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Page 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Page 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Page 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Page 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...