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 device tree, POU tree, or in libraries. A text list object with the same name is automatically created when it is added.
|
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. |
Table 58. Table of alarms
|
You enter the properties of the individual alarms in the corresponding table columns. Depending on the selected monitoring type, input fields are provided below the table for additionally required parameters. |
||
|
ID |
Automatically assigned alarm ID The ID is a combination of the instance name and the ID from the library. Example: Function block |
|
|
Observation Type |
Monitoring type from the list box Depending on the type, different editing fields are available below the table in order to define the condition for the alarm. The fields describe an expression for triggering the alarm. |
|
|
Details |
Shows the configuration settings (defined in the fields below the table) for the selected alarm type You 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 Example: |
|
|
Message |
Required Entry of a message text which is displayed in the Alarm Table visualization element in the event of an alarm. The text is automatically managed in the text list of the alarm group. You can extend the message with information from latch variables. You can insert line breaks by pressing Ctrl+Enter. The following placeholders are also supported. |
|
|
|
Date of the change to the current status |
|
|
|
Time of the last status change |
|
|
|
Expression (defined within the alarm) that triggered the alarm |
|
|
|
Priority of the alarm (defined in the alarm class) |
|
|
|
Value that caused the alarm condition to become true |
|
|
|
Alarm ID as displayed in the first column of the alarm table |
|
|
|
Name of the alarm class (defined in the alarm) |
|
|
|
Complete information about the alarm is output |
|
|
|
Actual value of the monitored variable |
|
|
|
Value of the first latch variable at the time when the alarm was triggered Note: You can also use more than two latch variables. To do this, insert additional columns from the context menu. |
|
|
|
Value of the second latch variable at the time when the alarm was triggered. |
|
|
|
|
|
|
|
Alarm status: 0 = "normal" 1 = "active" 2 = "waiting for ACK" 3 = "active, acknowledged" |
|
|
* For Example: " By default, only one column is available for message text. 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. |
||
|
Min. Pend. Time: |
Defines the minimum duration for fulfilling the alarm condition until the alarm is triggered. This can be used to suppress alarm conditions which occur for only a short time. IECÂ 61131-compliant format (example: |
|
|
Latch Var 1 |
Reserved for instance name The instance name is generated as a |
|
|
Latch Var 2 |
Another latch variable in order to record additional values when the alarm becomes active. Data type: Scalar (8 bytes) or of type The latch variable or the latch expression is automatically recorded when the alarm is activated. This provides additional information about the alarm. By default, columns are available for two latch variables. You can use commands in the context menu to insert more columns which will be available in the Data type property for column configuration of the Alarm Table and Alarm Banner visualization elements. |
|
|
Higher Prio. Alarm |
When the alarm is triggered, it can be acknowledged by triggering another alarm. Example: A temperature monitor should issue a warning at > 60 °C and an error at > 90 °C. If the temperature rises, then the warning is displayed starting at 60 °C. As of 90° C, the alarm is triggered for the error. This alarm automatically acknowledges the 60° warning. |
|
Table 59. Observations types
|
Digital |
Expression: Expression to be observed. On the right side, the expression for the comparison. In the middle, you select the desired comparison operator (= or |
|
Upper limit1) |
Expression: As described for Digital, but with the compare options > or |
|
Lower limit1) |
Expression: As described for Digital, but with the compare options < or |
|
Inside range1) |
Expression: Expression to be observed. Range: triggers the alarm when the monitored expression is within the range defined here. 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 monitored is displayed in the field in-between. You have to set the comparison operators accordingly. You can define a Hysteresis in % optionally. |
|
Outside range1) |
Expression: Expression to be observed. Range: triggers the alarm when the monitored expression is outside the range defined here. 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 monitored is displayed in the field in-between. You have to set the comparison operators accordingly. You can define a Hysteresis in % optionally. |
|
Change |
Expression: Expression to be observed. triggers the alarm when its value changes. |
|
Event |
In this case, the application triggers the alarm (event alarm) by using functions from the library |
|
1) For this observation type, you can monitor the specified expression 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; for example: upper limit: Variable x >= 0.9 * y. Hysteresis in %: When you specify a hysteresis, the alarm condition is fulfilled until a certain deviation from the specified limit value is reached. The size of the deviation is specified as a percentage [%] of the limit value. Example: Upper limit: |
|
The context menu includes the following commands for adding and removing additional columns for messages and latch variables:
-
Add message column -
Remove message column -
Add latch var column -
Remove latch var column
|
Tip |
|---|---|
|
Multiple selected rows in the table can be edited at the same time by means of the context menu. |
In the context menu of the alarm table you will find commands for the export and import of alarms to and from a CSV file:
-
Export Alarms: The command opens the default dialog for saving a file in the file system. The default file type is Alarm Group Export File (*.csv). This way you can export the current alarm list to a CSV file. -
Import Alarms: 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.