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 #292 background imageLoading...
Page #292 background image
DL205 User Manual, 4th Edition, Rev. D
5-68
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Out Indexed (OUTX)
The Out Indexed instruction is a 16-bit instruction. It
copies a 16-bit or 4-digit value from the first level of the
accumulator stack to a source address offset by the value
in the accumulator (V-memory + offset). This instruction
interprets the offset value as a HEX number. The upper 16
bits of the accumulator are set to zero.
In the following example, when X1 is on, the constant value 3544 is loaded into the
accumulator. This is the value that will be output to the specified offset V-memory location
(V1525). The value 3544 will be placed onto the stack when the Load Address instruction
is executed. Remember, two consecutive Load instructions places the value of the first load
instruction onto the stack. The Load Address instruction converts octal 25 to HEX 15 and
places the value in the accumulator. The Out Indexed instruction outputs the value 3544,
which resides in the first level of the accumulator stack to V1525.
aaaA
OUTX
2 5
X1
OUTX
0000 3544
Constant
3544
Acc.
3544
0000 0015
The unused accumulator
bits areset to zero.
000035
44
Level 1
XXXXXX
XX
Level 2
XXXXXX
XX
Level 3
XXXXXX
XX
Level 4
XXXXXX
XX
Level 5
XXXXXX
XX
Level 6
XXXXXX
XX
Level 7
XXXXXX
XX
Level 8
0015
25
V
15251 500V+
=
The unused accumulator
bits are set to zero.
Acc.
Octal HEX
Octal
Octal
Octal
The hex 15 converts
to 25 octal, which is
added to the base
address of V1500 to yield
the final destination.
V1525
LD
LDA
K3544
O25
V1500
Load the accumulator with
the value 3544.
Load the HEX equivalent to
octal 25 into the lower 16 bits
of the accumulator. This is the
offset for the Out Indexed
instruction, which determines
the final destinaltion address.
Copy the value in the first
level of the stack to the
offset address V1525
(V1500+25).
Accumulator Stack
Handheld Programmer Keystrokes
STR
$
SHFT
ANDST
L
3
D
SHFT
1
B
ENT
ENT
2
C
0
A
ENT
1
B
5
F
0
A
0
A
PREV
ANDST
L
3
D
ENT
5
F
3
D
5
F
4
E
4
E
OUT
GX
SHFT
SET
X
DirectSOFT
230
240
250-1
260
Operand Data Type DL250-1 Range DL260 Range
A aaa aaa
V-memory V
All. See
memory map
All. See
memory map
Pointer P
All V-memory.
See memory map
All V-memory.
See memory map
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