DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-226
Chapter 5: Standard RLL Instructions
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.
See the previous page for an example using the PRINTV instruction.
Parameter
DL06 Range
Port Number
port 2 (K2)
Start Address
All V–memory
Number of Bytes
All V–memory or k1–128
Bits: Busy, Complete
C0–3777
DS
Used
HPP
N/A
•
Port Number
: must be DL06 port 2 (K2)
•
Start Address
: specifies the beginning 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.