EasyManua.ls Logo

AutomationDirect DL205 - Page 444

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
Loading...
DL205 User Manual, 4th Edition, Rev. D
5-220
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
ASCII Extract (AEX)
The ASCII Extract instruction extracts a specified number of bytes of ASCII data from one
series of V-memory registers and places them into another series of V-memory registers. Other
features include Extract at Index for skipping over unnecessary bytes before begining the
Extract operation, Shift ASCII Option, for One Byte Left or One Byte Right, Byte Swap and
Convert data to a BCD format number.
Source Base Address: specifies the beginning
V-memory register where the entire ASCII string
is stored in memory.
Extract at Index: specifies which byte to skip to
(with respect to the Source Base Address) before
extracting the data.
Number of Bytes: specifies the number of bytes
to be extracted.
Shift ASCII Option: shifts all extracted data
one byte left or one byte right to displace
“unwanted” characters, if necessary.
Byte Swap: swaps the high–byte and the low–
byte within each V-memory register of the
extracted data. See the SWAPB instruction for
details.
Convert BCD(Hex) ASCII to BCD (Hex):
if enabled, this will convert ASCII numerical
characters to Hexadecimal numerical values.
Destination Base Address: specifies the
V-memory register where the extracted data
will be stored.
See the previous page for an example using the AEX instruction.
230
240
250-1
260
Parameter DL260 Range
Source Base Address All V-memory (See page 3-56)
Extract at Index All V-memory (See page 3-56) or K0-127
Number of Bytes K1-128
Destination Base Address All V-memory (See page 3-56)
Discrete Bit Flags Description
SP53 On if the CPU cannot execute the instruction.
SP71 On when a value used by the instruction is invalid.
DS Used
HPP N/A

Table of Contents

Other manuals for AutomationDirect DL205

Related product manuals