EasyManua.ls Logo

GE VersaMax PLC

GE VersaMax PLC
318 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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)
address + 1
1 (BCD format)
month
year
address + 2
07 (July) 98 (year)
hours
day of month
address + 3
14 (hours) 03 (day)
seconds minutes address + 4
30
(seconds)
45 (minutes)
(null) day of week
address + 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)
address + 1 0
81h (BCD, 4-digit)
year year
address + 2
19 (year) 98 (year)
day of
month
month address + 3
03 (day) 07 (July)
minutes hours address + 4
45 (minutes) 14 (hours)
day of week
seconds address + 5
06 (Friday) 30 (seconds)
206 GFK-1503E VersaMax PLC User Manual
For public disclosure

Table of Contents

Related product manuals