EasyManua.ls Logo

LSIS Master-K K200S - Page 46

LSIS Master-K K200S
238 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4 CPU modules MASTER-K
4-23
3) Read / write RTC data
Read RTC data
The current RTC data
Description
Memory Area
(Word)
Upper byte Lower byte
Data
(BCD format)
F053 Lower 2 digits of year Month h9812
F054 Day Hour h2219
F055 Minute Second h3746
F056 Higher 2 digits of year Date h1902
Example : 1998. 12. 22. 19:37:46, Tuesday
Write RTC data
There is two ways to write new RTC data to the CPU.
The first one is using a handy loader (KLD-150S) or graphic loader (KGL-WIN). For
detailed information, refer the user’s manual of KLD-150S or KGL-WIN.
The second one is write sequence program. By switching a special bit on, user can
replace the current RTC data with the preset data stored in a specified memory area. The
followings are the memory address of preset data and an example program.
The preset RTC data
Memory Area (Word) Description
K200S / K300S K1000S Upper byte Lower byte
Data
(BCD format)
D4990 D9990
Lower 2 digits
of year
Month h9901
D4991 D9991 Day Hour h1711
D4992 D9992 Minute Second h5324
D4993 D9993
Higher 2 digits
of year
Date h1900
Example : 1999. 1. 17. 11:53:24, Sunday

Table of Contents

Related product manuals