Svcreq 7 Parameter Block Content: Packed Ascii Format - GE VersaMax PLC User Manual

Table of Contents

Advertisement

Parameter Block Format:
High Byte Low Byte
1 = change or 0 = read
3 (ASCII format)
year
month
(space)
day of month
hours
:
minutes
seconds
(space)
day of week
The Service Request Function
For public disclosure
11.8.3 SVCREQ 7 Parameter Block Content: Packed
ASCII Format
In Packed ASCII format, each digit of the time and date items is an ASCII formatted byte.
Spaces and colons are embedded into the data to format it for printing or display. ASCII
format requires 12 words in the parameter block (13 words for 4-digit year).
11.8.3.1 2-Digit Year
address
address + 1
year
address + 2
(space)
address + 3
month
address + 4
day of month
address + 5
(space)
address + 6
hours
address + 7
minutes
address + 8
:
address + 9
seconds
address + 10
day of week
address + 11
Example:
Read Date and Time in Packed ASCII
Format (Mon, Oct. 5, 1998 at 11:13:00pm)
0 (read)
3 (ASCII format)
38 (8)
31 (1)
20 (space)
20 (space)
35 (5)
30 (leading 0)
31 (1)
20 (space)
3A ( : )
33 (3)
30 (0)
20 (space)
32 (2: Mon.)
30 (leading 0)
GFK-1503E User Manual 207
39 (9)
30 (0)
31 (1)
31 (1)
3A ( : )
30 (0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents