
Functions
7.9 Application-specific functions
Frequency inverters with Control Units CU230P-2 HVAC, CU230P-2 DP, CU230P-2 CAN
248
Operating Instructions, 01/2011, FW 4.4, A5E02430659B AD
Accept the real time clock in the alarm and fault buffer
Using the real time clock, you can track the sequence of alarms and faults over time. When
an appropriate message occurs, the real time clock is converted into the UTC time format
(Universal Time Coordinated):
Date, time ⇒ 01.01.1970, 0:00 + d (days) + m (milliseconds)
The number "d" of the days and the number "m" of milliseconds is transferred into the alarm
and fault times of the alarm or fault buffer, see Chapter Alarms, faults and system messages
(Page 285).
Converting UTC into RTC
An RTC can again be calculated from the UTC. Proceed as follows to calculate a date and
time from a fault or alarm time saved in the UTC format:
1.
Calculate the number of seconds of UTC:
Number of seconds = ms / 1000 + days × 86400
2.
In the Internet, you will find programs to convert from UTC into RTC, e.g.:
UTC to RTC3.
Enter the number of seconds in the corresponding screen and start the calculation.
Example:
Saved as alarm time in the alarm buffer:
r2123[0] = 2345 [ms]
r2145[0] = 14580 [days]
Number of seconds = 2345 / 1000 + 14580 × 86400 = 1259712002
Converting this number of seconds in RTC provides the date: 02.12.2009, 01:00:02.
Содержание SINAMICS G120 CU230P-2
Страница 2: ......