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 #263 background imageLoading...
Page #263 background image
DL205 User Manual, 4th Edition, Rev. D
5-39
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Load Immediate (LDI)
The Load Immediate instruction loads a 16-bit V-memory value
into the accumulator. The valid address range includes all input
point addresses on the local base. The value reflects the current
status of the input points at the time the instruction is executed.
This instruction may be used instead of the LDIF instruction,
which requires you to specify the number of input points.
In the following example, when C0 is on, the binary pattern of X0–X17 will be loaded into the
accumulator using the Load Immediate instruction. The Out Immediate instruction could be
used to copy the 16 bits in the accumulator to output points, such as Y40–Y57. This technique
is useful to quickly copy an input pattern to output points (without waiting for a full CPU
scan to occur).
V aaa
LDI
C0
OUTI
V40400
10110100101101010000000000000000
15 14 13 12 11 10 987654 3210
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 1631 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Acc.
V40502
X10
X11X12X13X14X15X16X17
OFFOFFONOFFONONOFFON
Y50Y51Y52Y53Y54Y55Y56Y57
OFFOFFONOFFONONOFFON
X0X1X2X3X4X5X6X7
ONOFFONOFFONONOFFON
Y40Y41Y42Y43Y44Y45Y46Y47
ONOFFONOFFONONOFFON
LDI
V40400
V40502
Load the inputs from X0 to
X17 into the accumulator,
immediately
Output the value in the
accumulator to output points
Y40 to Y57
Location
Unused accumulator bits
are set to zero
Location
DirectSOFT




230
240
250-1
260
DS Used
HPP Used
Operand Data Type DL260 Range
aaaaa
Inputs V-memory V 40400–40477
OUT
GX
Handheld Programmer Keystrokes
STR
$
0
A
ENT
3
D
ANDST
L
8
I
ENT
ENT
SHFT
SHFT
4
E
0
A
SHFT
8
I
4
E
0
A
0
A
NEXT
4
E
0
A
5
F
0
A
2
C
2
C

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