Epson RX-8581JE Clock User Manual


 
RX
-
8581
SA
/
JE
/
NB
Page - 11 MQ372-02
8.2.6. Clock counter (Reg - 0 2)
Address Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
0 SEC
!
40 20 10 8 4 2 1
1 MIN
!
40 20 10 8 4 2 1
2 HOUR
!
!
20 10 8 4 2 1
)
"o" indicates write-protected bits. A zero is always read from these bits.
The clock counter counts seconds, minutes, and hours.
The data format is BCD format
.
For example, when the "seconds" register value is "0101 1001" it indicates 59
seconds.
Note with caution that writing non-existent time data may interfere with normal operation of the clock counter.
1) Second counter
Address Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
0 SEC
!
40 20 10 8 4 2 1
This second counter counts from "00" to "01," "02," and up to 59 seconds, after which it starts again from
00 seconds.
When data was written to seconds counter, the internal divider is reset from 2048Hz to 1Hz.
2) Minute counter
Address Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
1 MIN
!
40 20 10 8 4 2 1
This minute counter counts from "00" to "01," "02," and up to 59 minutes, after which it starts again from
00 minutes.
3) Hour counter
Address Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
2 HOUR
!
!
20 10 8 4 2 1
This hour counter counts from "00" hours to "01," "02," and up to 23 hours, after which it starts again from
00 hours.
8.2.7. Day counter (Reg - 3)
Address Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
3 WEEK
!
6 5 4 3 2 1 0
)
"o" indicates write-protected bits. A zero is always read from these bits.
The day (of the week) is indicated by 7 bits, bit 0 to bit 6.
The day data values are counted as: Day 01hDay 02hDay 04hDay 08hDay 10hDay
20hDay 40hDay 01hDay 02h, etc.
The correspondence between days and count values is shown below.
WEEK bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 Day Data [h]
0 0 0 0 0 0 0
1
Sunday 01 h
0 0 0 0 0 0
1
0 Monday 02 h
0 0 0 0 0
1
0 0 Tuesday 04 h
0 0 0 0
1
0 0 0 Wednesday 08 h
0 0 0
1
0 0 0 0 Thursday 10 h
0 0
1
0 0 0 0 0 Friday 20 h
Write/Read
0
1
0 0 0 0 0 0 Saturday 40 h
Write prohibit
Do not set "1" to more than one day at the same time.
Also, note with caution that any setting other than the
seven shown above should not be made as it may
interfere with normal operation.