Programming the Real Time Clock Functions
There is only one specific time function and that is to set the RTC clock. This is not
the only way to set the clock as it can be synchronised with the PC.
To use the RTC we need to use the comparison functions and the specific System
Registers where the time is stored.
SR Number
Description
%SR0044
RTC Seconds
%SR0045
RTC Minutes
%SR0046
RTC Hours
%SR0047
RTC Day of the Month
%SR0048
RTC Month
%SR0049
RTC Year
%SR0050
RTC Day of the Week
© IMO Precision Controls ltd.
Real Time Clock
Name
RTC_SEC
RTC_MIN
RTC_HOUR
RTC_DATE
RTC_MON
RTC_YEAR
RTC_DAY
4
Limits
0-59
0- 59
0 - 23
1 - 31
1 – 12
(1 = January)
1996 – 2095
1 – 7
(1 = Sunday)
Need help?
Do you have a question about the i3 and is the answer not in the manual?