Epson RX-8564LC Clock User Manual


 
RX8564 LC
Page15
ETM12E-01
13.1.4. Calendar counter ( Reg05 [h] , 07 [h] , 08 [h] )
Address [h]
Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
05 Days
× ×
20 10 8 4 2 1
07 Months / Century C
× ×
10 8 4 2 1
08 Years 80 40 20 10 8 4 2 1
The auto calendar function updates all dates, months, and years from January 1, 2001 to December 31, 2099.
The data format is BCD format. For example, a date register value of "0011 0001" indicates the 31st.
Note with caution that writing non-existent date data may interfere with normal operation of the calendar counter.
1) [
Day
] register ( Reg05 [h] )
This is the date counter.
Updating of this counter varies depending on the month.
A leap year is set whenever the year value is a multiple of four (such as 04, 08, 12, 88, 92, or 96). In
February of a leap year, the counter counts dates from "01," "02," "03," to "28," "29," "01," etc.
[ Days ]
Month Date update pattern
1, 3, 5, 7, 8, 10, or 12
01, 02, 03 30, 31, 01
4, 6, 9, or 11
01, 02, 03 30, 01, 02
February in normal year
01, 02, 03 28, 01, 02
Write / Read
February in leap year
01, 02, 03 28, 29, 01
2) [
Months / Century
] register ( Reg07 [h] )
This is the month counter.
It is updated in annual cycles of regularly ordered months (January, February, March, etc.).
3) [ YEAR ] register ( Reg08 [h] )
This is the year counter.
It is updated in 100-year cycles of regularly ordered years (00, 01, 02 to 99, etc.).
Any year that is a multiple of four (04, 08, 12, 88, 92, 96, etc.) is handled as a leap year.
4) C bit ( Century bit )
This bit indicates change of century.
When the year digit data overflows from 99 to 00, this bit is set. By presetting it to 0 while still in the 20th
century, it will be set in year 2000, but in fact the first year in the 21 century should be 2001.
13.1.5. Day counter ( Reg6[h] )
Address [h]
Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
06 Weekdays
× × × × ×
4 2 1
The day (of the week) is indicated by 3 bits, bit 0 to bit 2.
[
Weekdays
]
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 Day
× × × × ×
0 0 0 Sunday
× × × × ×
0 0 1 Monday
× × × × ×
0 1 0 Tuesday
× × × × ×
0 1 1 Wednesday
× × × × ×
1 0 0 Thursday
× × × × ×
1 0 1 Friday
Write / Read
× × × × ×
1 1 0 Saturday
Note with caution that any settings other than the seven listed above may prevent normal operation.