11.8.2
SVCREQ 7 Parameter Block Content: BCD
Format
In BCD format, each time and date item occupies one byte, so the parameter block has six
words.
11.8.2.1
2-Digit Year
The last byte of the sixth word is not used. When setting the date and time, this byte is
ignored; when reading date and time, the function returns 00.
Parameter Block Format:
Example:
High Byte: Low Byte
Read Date and Time in BCD format
(Sun., July 3, 1998, at 2:45:30 p.m.)
1 = change or 0 = read
address
0 (read)
1 (BCD format)
a 1
1 (BCD format)
month
year
a 2
07 (July)
98 (year)
hours
day of month
a 3
14 (hours)
03 (day)
seconds
minutes
a 4
30
(seconds)
45 (minutes)
(null)
day of week
a 5
0
06 (Friday)
11.8.2.2
4-Digit Year
The parameter block has six words. All bytes are used.
Parameter Block Format:
Example:
High Byte: Low Byte
Read Date and Time in BCD format
(Sun., July 3, 1998, at 2:45:30 p.m.)
1 = change or 0 = read
address
0
00 (read)
81h (BCD format, 4-digit)
a 1
0
81h (BCD, 4-digit)
year
year
a 2
19 (year)
98 (year)
day of
month
month
a 3
03 (day)
07 (July)
minutes
hours
a 4
45 (minutes)
14 (hours)
day of week
seconds
a 5
06 (Friday)
30 (seconds)
206
GFK-1503E
VersaMax PLC User Manual
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......