Rtc (Real Time Clock) Function - LSIS MASTER-K200S Instructions & Programming

Table of Contents

Advertisement

Chapter 2. Functions
2.6.2

RTC (Real Time Clock) function

Since the RTC function is optio nal function, not all MASTER-K series support this function.
Please refer the Catalog and CPU manual for applicable models.
Clock operation by the RTC function is continued with a battery or super capacitor when the
CPU is powered off.
1) Clock data
Clock data is the data comprised of year, month, day, hour, minute, second, and date.
Data name
Year
Month
Date
Hour
Minute
Second
Day of the week
2) Precision
Max. 1.728 second per 24 hours (general temperature)
3) K10S / K30S / K60S
a) Read RTC data
RTC data is stored as f ollowing table.
Memory Area
(Word)
L012
L013
L014
L015
Example : 1998. 12. 22. 19:37:46, Tuesday
Description
The lower 2 digits or 4 digits of the Christian Era
1 to 12
1 to 31 (A leap year is distinguished automatically)
0 to 23 (24 hours)
0 to 59
0 to 59
0
Sunday
1
Monday
2
Tuesday
3
Wednesday
4
Thursday
5
Friday
6
Saturday
Description
Higher byte
Lower byte
Year
-
Date
Month
Day of the
Hour
week
Second
Minute
2-24
Example data
(BCD format)
h98xx
h2212
h1902
h4637

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MASTER-K200S and is the answer not in the manual?

Table of Contents