The Alarm Storage object allows you to configure the settings for the database file where EcoStruxure Machine Expert saves the alarms that are detected. You can insert the object only once below an Alarm Configuration node.
There is exactly one storage file located in a database. The default directory for the alarm SQLite files is: /usr/Alarms. You cannot change the name of this file as it is derived from the application name according to the following convention: <application name>.alarmstorage.sqlite
. The alarm classes and alarm groups define whether or not the storage file should be used.
For further information, refer to Configuration of the Alarm Management.
NOTICE | |
---|---|
Element |
Description |
---|---|
Subdirectory |
Optionally, enter a name of a subdirectory on the controller where the storage file can be stored. |
No limit |
Unsupported option: A build error is generated if this option is selected. |
Maximum number of records |
When selected, enter a number of recorded entries that are stored. When this number is reached and a new entry is queued in the circular buffer, the oldest entry is deleted. Value range: 1147...10000 for Modicon M262 Logic/Motion Controllers |
Maximum storage size |
When selected, enter the maximum size of the storage file and select the corresponding unit (B...MB) from the list. Internally the size is implicitly converted into an approximate maximum number of entries that can be saved in the file (circular buffer). Value range: 224 KB...1 MB for Modicon M262 Logic/Motion Controllers |
Circular buffer |
This option is unavailable as it is selected by the No limit option which is not supported. |
The records that are stored in the database can be displayed in the Alarm Table visualization element.
If the application is in online mode and an alarm storage is configured, execute this command via the contextual menu of the Alarm Storage node to open the Alarm Storage Export Configuration dialog box.
In the Export file text box enter a path to the generated CSV file in the file system.
Element |
Description |
---|---|
Alarms to Export |
|
Export all |
All listed alarms are exported. |
Export alarms of timestamp range (timestamp activate) |
Define a time range for the export of the listed alarms. This refers to the time stamp when the alarm was activated. The From and To parameters indicate the minimum/maximum time stamps that are available in the alarm storage or that were the last time stamps that were used in an export. When selecting the time range, the smallest unit is one second. |
Language |
Select a language from the list. It provides all languages that are available in text lists for alarm messages in addition to the default language (default). |
Element |
Description |
---|---|
Sorting by Timestamp Activate |
|
Ascending Descending |
Select the sort order by the time stamp when the alarm was activated. |
File Format |
|
Formatted values and timestamps |
When selected, the time stamps are formatted with the date and time format as defined below. REAL and LREAL values are formatted in numerical format. |
Raw data of alarm storage file |
When selected, the time stamps and values are written as unformatted text to the CSV file as they appear in the alarm storage. Alarms, alarm groups, and alarm classes are written to the CSV file as internal IDs. |
Formatting Options Defines the formatting of the entries in the CSV file. The variables are only available if the option Formatted values and timestamps is selected. |
|
REAL format (printf syntax) |
Default value: %.1f Use possible formats according to the printf syntax for floating point values. |
Date format |
When selected, the settings from the control panel (regional settings) are applied. |
Time format |
When selected, the settings from the control panel (regional settings) are applied. |
Separator Character |
|
Semicolon |
When selected, the entries in the CSV file are separated by a semicolon. |
Comma |
When selected, the entries in the CSV file are separated by a comma. |
TAB |
When selected, the entries in the CSV file are separated by a tab character. |
Local time |
This option is only available if the option Formatted values and timestamps is selected. When selected, the time stamps are written to the CSV file using local time. When not selected, the time stamps are written to the CSV file using universal time coordinated (UTC). |