GE PACSystems RX7i Cpu Programmer's Reference Manual page 302

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

In any format:
Hours are stored in 24-hour format.
Day of the week is a numeric value ranging from 1 (Sunday) to 7 (Saturday).
BCD, 2-Digit Year
In BCD format, each time and date item occupies one byte, so the parameter block has six words.
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 a null character (00).
Parameter Block Format
1 = change or 0 = read
1 (BCD format)
High Byte
month
hours
seconds
(null)
BCD, 4-Digit Year
In this format, all bytes are used.
Parameter Block Format
1 = change or 0 = read
81h (BCD format, 4-digit)
High Byte
year
day of month
minutes
day of week
GFK-2950C
Value Day of the Week
1
2
3
4
5
6
7
Address
Address
Address+1
Low Byte
Address
year
Address+2
day of month
Address+3
minutes
Address+4
day of week
Address+5
Address
Address
Address+1
Low Byte
Address
year
Address+2
month
Address+3
hours
Address+4
seconds
Address+5
February 2018
Chapter 6. Service Request Function
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Example
(Sun., July 3, 2005, at 2:45:30 p.m.
= 14:45:30 in 24-hour format)
0 (read)
1 (BCD format)
High Byte
07 (July)
14 (hours)
30 (seconds)
00
Example
(Sun., July 3, 2005, at 2:45:30 p.m.
= 14:45:30 in 24-hour format)
00 (read)
81h (BCD format, 4-digit)
High Byte
20 (year)
03 (day)
45 (minutes)
01 (Sunday)
Low Byte
05 (year)
03 (day)
45 (minutes)
01 (Sunday)
Low Byte
05 (year)
07 (July)
14 (hours)
30 (seconds)
287

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents