Automationdirect.com DirectLOGIC DL205 Series User Manual page 439

Table of Contents

Advertisement

Chapter 5: Standard RLL Instructions - ASCII
ASCII Print to V-memory (VPRINT)
1
The ASCII Print to V–memory instruction will write a specified ASCII string into a series of
230
V–memory registers. Other features include Byte Swap, options to suppress or convert
leading zeros or spaces, and _Date and _Time options for U.S., European, and Asian date
240
2
formats and 12 or 24 hour time formats.
250-1
• Byte Swap: swaps the high–byte and low–byte
260
3
within each V–memory register the ASCII
string is printed to. See the SWAPB
DS
Used
instruction for details.
4
HPP
N/A
• Print to Starting V–memory Address: specifies
the begining of a series of V–memory
5
addresses where the ASCII string will be
placed by the VPRINT instruction.
6
• Starting V–memory Address: the first
V–memory register of the series of registers
specified will contain the ASCII string's length
7
in bytes.
• Starting V–memory Address +1: the 2nd and
8
subsequent registers will contain the ASCII
string printed to V–memory.
9
VPRINT Time/Date Stamping
10
11
Discrete Bit Flags
12
SP53
SP71
13
The codes in the table below can be used in the VPRINT ASCII string message to "print to
V–memory" the current time and/or date.
14
A
B
C
D
5–222
DL205 User Manual, 4th Edition, Rev. B
Parameter
Print to Starting V-memory Address
On if the CPU cannot execute the instruction.
On when a value used by the instruction is invalid.
#
Character Code
1 _Date:us
2 _Date:e
3 _Date:a
4 _Time:12
5 _Time:24
DL260 Range
All V-memory (See page 3 - 56)
Description
Date/Time Stamp Options
American standard (month/day/2 digit year)
European standard (day/month/2 digit year)
Asian standard (2 digit year/month/day)
standard 12 hour clock (0-12 hour:min am/pm)
standard 24 hour clock (0-23 hour:min am/pm)

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?

Table of Contents

Save PDF