EasyManuals Logo

Automationdirect.com DirectLOGIC DL205 Series User Manual

Automationdirect.com DirectLOGIC DL205 Series
587 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 #278 background imageLoading...
Page #278 background image
DL205 User Manual, 4th Edition, Rev. B
5–61
Chapter 5: Standard RLL Instructions - Accumulator/Stack Load and Output Data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Load Address (LDA)
The Load Address instruction is a 16-bit
instruction. It converts any octal value or address to
the HEX equivalent value and loads the HEX value
into the accumulator. This instruction is useful
when an address parameter is required since all
addresses for the DL205 system are in octal.
NOTE: Two consecutive Load instructions will place the value of the first load instruction onto the
accumulator stack.
In the following example when X1 is on, the octal number 40400 will be converted to a HEX
4100 and loaded into the accumulator using the Load Address instruction. The value in the
lower 16 bits of the accumulator is copied to V2000 using the Out instruction.
O aaa
LDA
1
B
ENT
4
E
0
A
4
E
0
A
0
A
ENT
Handheld Programmer Keystrokes
DirectSOFT
LDA
O 40400
X1
Load The HEX equivalent to
the octal number into the
lower 16 bits of the
accumulator
OUT
V2000
Copy the value in lower 16
bits of the accumulator to
V2000
V2000
Acc.
Hexadecimal
4100
4100
0000 4100
Octal
40400
The unused accumulator
bits are set to zero
STR
$
SHFT
ANDST
L
3
D
0
A
OUT
GX
SHFT
AND
V
2
C
0
A
0
A
ENT
0
A
Operand Data
Type
DL230 Range DL240 Range DL250-1 Range DL260 Range
aaa aaa aaa aaa
Octal Address O
All V-memory
See Memory map
All V-memory
See Memory map
All V-memory
See Memory map
All V-memory
See Memory map
þ
þ
þ
þ
230
240
250-1
260
Discrete Bit Flags Description
SP76
On when the value loaded into the accumulator by any instruction is zero.
DS Used
HPP Used

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Automationdirect.com DirectLOGIC DL205 Series and is the answer not in the manual?

Automationdirect.com DirectLOGIC DL205 Series Specifications

General IconGeneral
BrandAutomationdirect.com
ModelDirectLOGIC DL205 Series
CategoryController
LanguageEnglish

Related product manuals