Rx − 8564 lc – Epson RX-8564LC User Manual

Page 18

Advertising
background image

RX

8564

LC

Page

15

ETM12E-01

13.1.4. Calendar counter

(

Reg

05

[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

(

Reg

05

[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

(

Reg

07

[h]

)

This is the month counter.

It is updated in annual cycles of regularly ordered months (January, February, March, etc.).

3) [

YEAR

]

register

(

Reg

08

[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

(

Reg

6[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.

Advertising