EasyManuals Logo

AutomationDirect DL205 User Manual

Default Icon
598 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #368 background imageLoading...
Page #368 background image
DL205 User Manual, 4th Edition, Rev. D
5-144
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Table Instructions
Move (MOV)
The Move instruction moves the values from a V-memory
table to another V-memory table the same length. The
function parameters are loaded into the first level of the
accumulator stack and the accumulator by two additional
instructions. Listed below are the steps necessary to program
the Move function.
Step 1: Load the number of V-memory locations to be moved into the first level of the accumulator
stack. This parameter is a HEX value (KFFF max, 7777 octal).
Step 2: Load the starting V-memory location for the locations to be moved into the accumulator.
This parameter must be a HEX value.
Step 3: Insert the MOVE instruction which specifies starting V-memory location (Vaaa) for the
destination table.
Helpful hint: — For parameters that require HEX values when referencing memory locations,
the LDA instruction can be used to convert an octal address to the HEX equivalent and load
the value into the accumulator.
In the following example, when X1 is on, the constant value (K6) is loaded into the accumulator
using the Load instruction. This value specifies the length of the table and is placed in the first
stack location after the Load Address instruction is executed. The octal address 2000 (V2000),
the starting location for the source table is loaded into the accumulator. The destination table
location (V2030) is specified in the Move instruction.
V aaa
MOV
230
240
250-1
260
Operand Data Type DL230 Range DL240 Range DL250-1 Range DL260 Range
aaa aaa aaa aaa
V-memory V All (See page 3-53) All (See page 3-54) All (See page 3-55) All (See page 3-56)
Pointer P All (See page 3-53) All (See page 3-54) All (See page 3-55) All (See page 3-56)
Standard RLL
Instructions
Handheld Programmer Keystrokes
LD
K6
X1
Load the constant value 6
(HEX) into the lower 16 bits
of the accumulator
LDA
O 2000
Convert octal 2000 to HEX
400 and load the value into
the accumulator
MOV
V2030
Copy the specified table
locations to a table
beginning at location V2030
V2030
012 3
V2031
050 0
V2032
999 9
V2033
307 4
V2034
898 9
V2035
101 0
V2036
XXX X
V2037
XXX X
V2026
XXX X
V2027
XXX X
V2000
012 3
V2001
050 0
V2002
999 9
V2003
307 4
V2004
898 9
V2005
101 0
V2006
XXX X
V2007
XXX X
V1776
XXX X
V1777
XXX X
SR
SH
ADS
L
3
D
SH
M P
K
6
E
SH
ADS
L
3
D
0
A
2
C
0
A
0
A
0
A
E
SH
ORS
M
IS
O
1
E
2
C
0
A
0
A
E
3
D
AD
V
DS Used
HPP Used

Table of Contents

Other manuals for AutomationDirect DL205

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AutomationDirect DL205 and is the answer not in the manual?

AutomationDirect DL205 Specifications

General IconGeneral
BrandAutomationDirect
ModelDL205
CategoryController
LanguageEnglish

Related product manuals