DL205 User Manual, 4th Edition, Rev. B
5–227
Chapter 5: Standard RLL Instructions - ASCII
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
ASCII Print from V-memory (PRINTV)
The ASCII Print from V–memory instruction will send an ASCII string out of the designated
communications port from a specified series of V–memory registers for a specified length in
number of bytes. Other features include user specified Append Characters to be placed after
the desired data string for devices that require specific termination character(s), Byte Swap
options, and user specified flags for Busy and Complete.
•
Port Number
: must be DL260 port 2 (K2)
•
Start Address
: specifies the begining of series of
V–memory registers that contain the ASCII string
to print
•
Number of Bytes
: specifies the length of the string
to print
•
Append Characters
: specifies ASCII characters to
be added to the end of the string for devices that
require specific termination characters
•
Byte Swap
: swaps the high–byte and low–byte
within each V–memory register of the string while
printing. See the SWAPB instruction for details.
•
Busy Bit
: will be ON while the instruction is
printing ASCII data
•
Complete Bit
: will be set once the ASCII data has
been printed and reset when the PRINTV
instruction permissive bits are disabled.
See the facing page for an example using the PRINTV instruction.
ý
ý
ý
þ
230
240
2
5
0
-1
2
6
0
Parameter
DL260 Range
Port Number
port 2 (K2)
Start Address
All V-memory (See page 3-56)
Number of Bytes
All V-memory (See page 3-56) or K1-128
Bits: Busy, Complete
C0-3777
Discrete Bit Flags
Description
SP53
On if the CPU cannot execute the instruction.
SP71
On when a value used by the instruction is invalid.
SP116
On when CPU port 2 is communicating with another device.
SP117
On when CPU port 2 has experienced a communication error.
DS
Used
HPP
N/A