EasyManuals Logo

Automationdirect.com DL05 User Manual

Automationdirect.com DL05
480 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 #236 background imageLoading...
Page #236 background image
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
8935
8935
0000 8935
DirectSOFT
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
5026
5026
6739 5026
V2001
6739
V2011
6739
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
DirectSOFT
STR
$
SHFT
ANDST
L
3
D
3
D
OUT
GX
SHFT
3
D
Out
(OUT)
Out Double
(OUTD)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Automationdirect.com DL05 Specifications

General IconGeneral
BrandAutomationdirect.com
ModelDL05
CategoryController
LanguageEnglish

Related product manuals