Object: Alarm Group Template
Symbol:
A library developer can use this object to define alarm conditions with variables of a custom type (function block or structure). The data type can be part of a development library. The variables of the function block can be checked for alarm conditions.
The object can be added in the Devices view, in the POUs view, or in libraries. A text list object with the same name is automatically created when it is added.
Dialog: Alarm Group Template
Text list | Name of the text list assigned to the alarm group template object Default name: By default, the automatically generated text list is specified here. You can also specify another existing text list. |
Deactivation | Variable (BOOL) to control the deactivation of all alarms in this group Note: Deactivated alarms are not reported, even if the alarm condition is fulfilled. |
Type for alarm definition | Interface variable for alarm definitions |
inst : <type> | Type (function block or structure) of the alarm instance The interface variable means that the variables of the custom type can be accessed and alarm conditions can then be defined. |
Specify the properties of the individual alarms in the corresponding columns of the table. Depending on the selected observation type, input fields for additional required parameters are available below the table. | ||
ID | Unique ID which corresponds to an ID in the associated text list You can change the ID in the ID field of the table. The ID must always be unique within the alarm group. Important: A change of the ID in the alarm table also directly causes a change in the text list, and the other way around. | |
Observation Type | Observation type selected from the list box ImportantDepending on the type, various input fields are available below the alarm table to define the alarm condition and help you configure the alarm condition. See the following tables for the individual observation types: Digital, Upper limit, Lower limit, Outside range, Inside the range, Change, Event (API), Alarm (API) | |
Details | Alarm condition The details for the observation type (configured in the fields below the table) define the conditions under which the alarm is triggered. TipYou can also specify the condition directly into the field. If you input an expression that does not match the currently selected observation type, the type is automatically adapted. | |
Deactivation | Optional Variable for deactivating the alarm | |
Class | Assigned alarm class | |
Message | Required Entry of a message text (message), which can contain placeholders for information from latch variables (placeholders for data from a latch variable) and can be supplemented with line breaks (Ctrl + Enter). The text entered here is automatically entered in the text list of the alarm group. When an alarm is triggered, this message is displayed in the alarm elements (Alarm Table, Alarm Banner) . | |
On-Delay Time | Time for switch-on delay Defines the minimum time that the alarm condition must be fulfilled before the alarm is triggered. This can be used to suppress brief alarm events. Example: IEC 61131-compliant format (example: T#2ms). | |
Off-Delay Time | Time for switch-off delay Defines the minimum time that the alarm condition must be inactive before an alarm is treated as inactive. This can be used in the same way as the switch-on delay to ignore short-term value changes. Example: | |
Latch Var 1 Latch Var 2 | Variable with scalar type (8 bytes), Latch variables are used to record additional values when an alarm is active. This makes it possible to provide additional information about the alarm. For example, when observing a motor speed, the temperature and the current are also recorded. By default, columns are available for two latch variables. You can add more columns from the context menu which will be available in the Data type property for column configuration of the Alarm Table and Alarm Banner visualization elements. Hint: You can configure the alarm visualization in such as way that displayed alarms are filtered by the contents of the latch variables. For more information, see: Using Latch Variables to Filter Alarm Events | |
Higher Prio. Alarm | When the alarm is triggered, it can be acknowledged by triggering another alarm. For example, a temperature monitor should issue a warning at |
Messages are not saved as a copy in the history.
Effect: If you make a small change to a message (for example, correcting a typing error), then this change has an effect on the history because the corrected message is now displayed there. However, if you completely reconfigure the alarm (change status or condition and update the message), then all previous alarms which were recorded due to the outdated configuration will get the new message in the history. Check on a case-by-case basis whether it is not better to add a new alarm instead of upgrading the outdated alarm.
| Alarm condition for observing a Boolean variable |
Expression | Expression for comparisons of If the expression is Example: The variable to be checked is on the left. The specified value is on the right. The |
| Alarm condition for observing an upper limit Example: |
Expression | Expression for comparisons of If the expression is The variable to be observed is on the left. The upper limit value is on the right. The Limit value
ImportantThe limit value can be specified as absolute or relative. Absolute means that the limit value is defined by a fixed value or a variable that returns a fixed value. Relative means that the limit value depends on an expression. |
Hysteresis in % | Optional Deviation from the limit value where the alarm condition is reset ( The alarm condition is fulfilled as long as the upper limit value minus the deviation is exceeded. The size of the deviation is specified as a percentage (%) of the limit value. Example: Expression: Hysteresis: If the variable |
| Alarm condition for observing a variable for a lower limit |
Expression | Expression for comparisons of If the expression is The project variable to be observed is on the left. The lower limit value is on the right. The Limit value
ImportantThe limit value can be specified as absolute or relative. Absolute means that the limit value is defined by a fixed value or a variable that returns a fixed value. Relative means that the limit value depends on an expression. |
Hysteresis in % | Optional Deviation from the limit value where the alarm condition is reset ( The alarm condition is fulfilled as long as the value falls below the lower limit value plus the deviation. The size of the deviation is specified as a percentage (%) of the limit value. Example: Expression: Hysteresis: If the variable |
| Alarm condition for observing a variable outside of a range |
Expression | Expression if the variable to be observed falls below or exceeds the range. If the expression is The |
Area | The upper limit value is on the left. The variable to be observed is displayed in the center field. The lower limit value is on the right. The The left field defines an expression for the lower limit of this range. The right field defines an expression for the upper limit. The expression to be observed is displayed in the field in-between. You need to set the comparison operators accordingly. ImportantThe limit value can be specified as absolute or relative. Absolute means that the limit value is defined by a fixed value or a variable that returns a fixed value. Relative means that the limit value depends on an expression. |
Hysteresis in % | Optional Difference from the limit values (in %) where the alarm condition is reset ( The alarm condition is fulfilled as long as the limit values only deviate by the difference. The size of the deviation is specified as a percentage (%) of the limit value. |
| Alarm condition for observing a variable inside a range. The alarm is triggered when the variable to be observed is within a range. |
Expression | Expression when the variable to be observed is within the specified range If the expression is The |
Area | The lower limit value is on the left. The variable to be observed is displayed in the center field. The upper limit value is on the right. Between them, the desired comparison operators are selected from those available. The ImportantThe limit value can be specified as absolute or relative. Absolute means that the limit value is defined by a fixed value or a variable that returns a fixed value. Relative means that the limit value depends on an expression. |
Hysteresis in % | Optional Difference from the limit values (in %) where the alarm condition is reset ( The alarm condition is fulfilled as long as the limit values only deviate by the difference. The size of the deviation is specified as a percentage (%) of the limit value. |
| Alarm condition for observing a variable change |
Expression | Input field for the variable If the expression is Example: |
| The alarm is triggered programmatically by the application. No configuration is required. No acknowledgment is required at runtime. For more information, see: Calling Alarm Events in the Program |
Alarm (API) | The alarm is triggered programmatically by the application. Depending on the configured alarm class, acknowledgment may be required. For more information, see: Implementation of an implicit alarm |
Context menu in the alarm table
| Adds a new message column |
| Removes the selected message column |
| Inserts a latch variable. |
| Removes the selected variable |
Tip
Multiple selected rows in the table can be edited at the same time by means of the context menu.
| The command opens the default dialog for saving a file in the file system. The default file type is Alarm Group Export File (*.csv). The current alarm list can be exported to a CSV file there. |
| The command opens the default dialog for searching for a file in the file system. The default file type is Alarm Group Export File (*.csv) for describing alarm definitions. The selected file is imported. |