Toshiba V200 user manual Real-time Clock / Calendar, Lsi

Models: V200

1 140
Download 140 pages 15.85 Kb
Page 118
Image 118

7.4 Real-time Clock / Calendar

The V200 CPUs are equipped with the real-time clock/calendar for day of the month, month, year, hour, minute, second and day of week. This data is stored in the special registers SW10 to SW16 by unsigned integer format as follows:

D0050

D0051

D0052

D0053

D0054

D0055

D0056

F

8 7

8

00Day of month

00Month

00Year

00Hour

00Minute

00Second

00Day of week

00 to 99 (2000 - 2099)

01 to 12

01 to 31

00 to 23

00 to 59

00 to 59

00 to 06

Calendar

LSI

Note:

 

The day of the week is automatically,

 

Sunday = 0, Monday = 1, Tuesday = 2

Saturday = 6

Program example:

In the following circuit, output Y007 turns ON for 1 minute at every Sunday 6 pm.

Clock/calendar back-up:

The clock / calender continues to update using internal battery backup even if the external 24 VDC power to V200 CPU is switched OFF. The backup time period is as follows:

Temperature

Backup Time

 

 

25OC

20 Years

 

 

Setting the clock/calendar:

You can set the clock/calendar data, by using the Calendar Set instruction (CLND) in the user program.

Page 110

Page 118
Image 118
Toshiba V200 user manual Real-time Clock / Calendar, Lsi