ActiGRAF Help : MASTER25 Real Time Clock Description

The MASTER25 allows user to set Alarm notifications.
An alarm is a flag notified by the ECU at a scheduled time.
Depending on the defined Rate, the alarm can be a one-time notification or periodical notification.

##### 1 - Parameters Description

Parameter | Description
--- | ---
WakeUp | if checked wake up the ECU, if it is in sleep mode, when an alarm is triggered.

##### 2 - Mnemonics Description

Mnemonic | STraToN Type | Description
--- | --- | ---
CMD_RTC | BOOL | boolean command to set the RTC information.
CMD_Alarm1 | BOOL | boolean command To set information for Alarm1
CMD_Alarm2 | BOOL | boolean command To set information for Alarm2
Year | WORD | To set the RTC year. The value Offset is 2000. The value ranged [0-199].
Min | WORD | To set the RTC minute. The value ranged [0-59].
Sec | WORD | To set the RTC seconds. The value ranged [0-59].
Date | WORD | To set the RTC date. The value ranged [1-31].
Hour | WORD | To set the RTC hours. The value ranged [0-23].
Month | WORD | To set the RTC month. The value ranged [1-12].
DayOfWeek | WORD | To set the RTC day of the week. The value ranged [1-7].
Rate | WORD | Defines the alarm notification periodicity. Switch the chosen rate , a set of coherent information must be passed. Theses information are indicated in the "matching" column of the table below. when values of fields in the matching "column" match the RTC, the Status_Alarmx comes ON.

Rate | value | matching
Once | 0 | Seconds*, minutes, Hours, Date, Month and Year.
Every Minute | 1 | Seconds**
Every Hour | 2 | Seconds*, minutes.
Every Day | 3 | Seconds*, minutes, Hours
Every Week | 4 | Seconds*, minutes, Hours and DayOfWeek

*: seconds match is only taken into consideration with Alarm1.
**: Status_Alarmx comes ON when seconds match (for alarm1) or once per minute at 00 seconds (for alarm2).

If CMD_RTC or CMD_Alarm1 or CMD_Alarm2 are connected, all field for the date (Year, Month, Day, Date) should be connected and not null.

Copyright © ACTIA 2015