
RX - 8025 SA / NB
Page - 8
ETM10E-02
8.2.3. Day counter (Reg 3)
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
3
Days
W4
W2
W1
The day counter is a divide-by-7 counter that counts from 00 to 01 and up 06 before starting again from 01.
The correspondence between days and count values is shown below.
Days
W4
W2
W1
Day
Remark
0
Sunday
00 h
0
1
Monday
01 h
0
1
0
Tuesday
02 h
0
1
Wednesday
03 h
1
0
Thursday
04 h
1
0
1
Friday
05 h
Write / Read
1
0
Saturday
06 h
Write prohibit
1
Do not enter a setting for this bit.
8.2.4. Calendar counter (Reg 4 to 6)
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
4
Days
D20
D10
D8
D4
D2
D1
5
Months
0
MO10
MO8
MO4
MO2
MO1
6
Years
Y80
Y40
Y20
Y10
Y8
Y4
Y2
Y1
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) Date counter
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
4
Days
D20
D10
D8
D4
D2
D1
The updating of dates by the date counter varies according to the month setting.
A leap year is set whenever the year value is a multiple of four (such as 04, 08, 12, 88, 92, or 96).
Days
Month
Date update pattern
1, 3, 5, 7, 8, 10, or 12
01, 02, 03 to 30, 31, 01…
4, 6, 9, or 11
01, 02, 03 to 30, 01, 02…
February in leap year
01, 02, 03 to 28, 29, 01…
Write / Read
February in normal year
01, 02, 03 to 28, 01, 02…
2) Month counter
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
5
Months
0
MO10
MO8
MO4
MO2
MO1
The month counter counts from 01 (January), 02 (February), and up to 12 (December), then starts again at
01 (January).
Be sure to set a "0" for any bit whose value is shown above as "0". A zero is returned when any of these
bits is read.
3) Year counter
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
6
Years
Y80
Y40
Y20
Y10
Y8
Y4
Y2
Y1
The year counter counts from 00, 01, 02 and up to 99, then starts again at 00.
In any year that is a multiple of four (04, 08, 12, 88, 92, 96, etc.), the dates in February are counted from
01, 02, 03 and up to 29 before starting again at 01.