Standard
Rll Instructions
5–93
Standard RLL Instructions
Table Instructions
In the example to the right, data is copied from a Data Label Area to V memory.
When X1 is on, the constant value (K4) is loaded into the accumulator using the
Load instruction. This value specifies the length of the table and is placed in the
second stack location after the next Load and Load Label (LDLBL) instructions
are executed. The constant value (K0) is loaded into the accumulator, specifying
the offset for the source and destination data. It is placed in the first stack location
after the LDLBL instruction is executed. The source address where data is being
copied from is loaded into the accumulator using the LDLBL instruction. The
MOVMC instruction specifies the destination starting location and executes the
copying of data from the Data Label Area to V memory.
Direct
SOFT
LD
K4
X1
Load the value 4 into the
accumulator specifying the
number of locations to be
copied.
LD
K0
Load the value 0 into the
accumulator specifying the
offset for source and
destination locations
LDLBL
K1
Load the value 1 into the
accumulator specifying the
Data Label Area K1 as the
starting address of the data
to be copied.
MOVMC
V2000
V2000 is the destination
starting address for the data
to be copied.
1 2 3 4
C O N
4 5 3 2
C O N
6 1 5 1
C O N
8 8 4 5
C O N
K
N
K
N
K
N
K
N
V2001
4 5 3 2
V2002
6 1 5 1
V2003
8 8 4 5
V2004
X X X X
S
S
S
S
V2000
1 2 3 4
Data Label Area
Programmed
After the END
Instruction
DLBL K1
Handheld Programmer Keystrokes
STR
$
SHFT
ANDST
L
3
D
SHFT
JMP
K
ENT
SHFT
ANDST
L
3
D
ANDST
L
1
B
ANDST
L
SHFT
ORST
M
AND
V
INST#
O
ORST
M
2
C
1
B
ENT
ENT
1
B
2
C
0
A
0
A
0
A
ENT
SHFT
ANDST
L
3
D
SHFT
JMP
K
0
A
ENT
4
E
Copy Data From a
Data Label Area to
V Memory
Содержание 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 ...