Standard
RLL
Instructions
5–52
Standard RLL Instructions
Accumulator / Stack Load and Output Data Instructions
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).
Operand Data Type
DL05 Range
A
aaa
V memory
V
All (See page 4–28)
Pointer
P
All V mem. (See page 4–28)
Discrete Bit Flags
Description
SP53
on when the pointer is outside of the available range.
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).
Operand Data Type
DL05 Range
A
aaa
V memory
V
All (See page 4–28)
Pointer
P
All V mem. (See page 4–28)
Discrete Bit Flags
Description
SP53
on when the pointer is outside of the available range.
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)
Содержание DL05
Страница 1: ...DL05 User Manual Automationdirect com ...
Страница 2: ...DL05 User Manual Automationdirect com ...
Страница 436: ...1B DL05 Error Codes In This Appendix Ċ Error Code Table ...
Страница 443: ...1C Instruction Execution Times In This Appendix Ċ Introduction Ċ Instruction Execution Times ...
Страница 459: ...1D Special Relays In This Appendix Ċ DL05 PLC Special Relays ...
Страница 464: ...1E DL05 Product Weights In This Appendix Ċ Product Weight Table ...
Страница 466: ...1F European Union Directives CE In This Appendix Ċ European Union EU Directives Ċ Basic EMC Installation Guidelines ...