Alarm Log Parameters
- Last UpdatedJul 19, 2023
- 1 minute read
These parameters affect the Plant SCADA alarm log format. Alarm logs can be accessed through the CtAPI and searched for specific records via the CtAPI function ctFindFirst and using CtAPIAlarmLog for the szTableName parameter.
Log files are named in the format "YYYYMMDD.TXT" and reside in the Plant SCADA DATA directory.
The first line of an alarm log will list the log format used, and each alarm log entry will reside on subsequent separate lines.
Alarms are logged in the order they are received, except for time-stamped alarms, which are stored in the log relevant to the date of the alarm, which may not be the current date. Therefore, when retrieving alarm log records, you should sort the results appropriately.
Alarm logging is disabled by default and enabled by setting "NumFiles" to a value greater than zero.
The Citect.ini file contains the following alarm logging parameters:
-
[AlarmLog]DefaultSearchDays - Determines the number of logs to search.
-
[AlarmLog]Format - Determines the format of the alarm log files.
-
[AlarmLog]NumFiles - Determines the number of log files to be maintained.