The alarm system can print alarms as they occur. The list of variables below may be included as options in the Config.ini file for your application (see also Config.ini [SYSTEM] Section Variables for Alarms). If set to the name of a module, the alarm system will call that module when that type of alarm action occurs.
The module called should have four parameters as defined below. All variables can refer to the same module, or each variable can call a different module. The variables are:
• AlarmDisablePrint
• AlarmEnablePrint
• AlarmActivePrint
• AlarmTripPrint
• AlarmEventPrint
• AlarmNormalPrint
• AlarmOffNormalPrint
• AlarmNormalTripPrint
• AlarmAcknowledgePrint
• AlarmListAddPrint
• AlarmListRemovePrint
More information on each of the above variables can be found in Config.ini [SYSTEM] Section Variables for Alarms.
The parameters to the module are:
• Time - Number of seconds since January 1, 1970
• ActionCode - The action that occurred as defined below:
• 0 - Disable
• 1 - Enable
• 2 - Active
• 3 - Trip
• 4 - Event
• 5 - Normal
• 6 - OffNormal
• 7 - NormalTrip
• 8 – Acknowledge
• List Number + 1000 – ListAdd
• List Number + 2000 – ListRemove
• DBSystemValue - The alarm database; the value is returned by DBSystem
• Name - The name of the alarm that caused this action
The last two parameters can be used in conjunction with the DBValue statement to obtain the record information for printing.