Skip to main content

Configuring an Alarm Storage

Configure the alarm storage with DatabaseFileAlarmStorage.

  1. In the device tree, select the Alarm Storage object which was automatically created below the Alarm Configuration.

  2. In the context menu, open the Properties and rename the object to DatabaseFileAlarmStorage.

    The object has now been renamed in the device tree and opens in the editor.

  3. Configure as follows:

    • Subdirectory: Leave this field blank. Specifying a directory can be specified optionally only on the PLC where the alarm storage file should be saved.

    • Group Limit: Select the No limit option.

    The DatabaseFileAlarmStorage alarm storage is configured.

    At application runtime, the alarms are archived internally as an SQLite database in the directory "PlcLogic/alarms" on the controller. These database contents can be visualized as historical alarms in an alarm table. The requirement for this is that the History control variable of the alarm table is set to TRUE.