Placeholders for Latch Data
You can temporarily store information that occurs during an alarm and retrieve it via latch variables. For example, when observing a motor speed, the temperature and the current are also recorded.
Latch variables are of the type scalar (8 bytes): STRING
or WSTRING
.
Tip
Hint: You can configure the alarm visualization in such as way that displayed alarms are filtered by the contents of the latch variables.
When a placeholder is inserted in the alarm message, the actual value is displayed at runtime instead of the placeholder. The following placeholders are supported.
| Date of change to the current alarm state |
| Time of the last status change |
| Priority of the alarm (defined in the alarm class) |
| Alarm triggering value For the output, additional formatting information (as known from the C function |
| Alarm ID as displayed in the first column of the alarm table |
| Name of the alarm class (defined in the alarm) |
| Full information about the alarm |
| Actual value of the latch variable For the output, additional formatting information (as known from the C function Example: strAlarmmMessage : STRING := 'Der Wert beträgt <CURRENTVALUE %d>'; |
| Data from the first latch variable at the time when the alarm was triggered For the output, additional formatting information (as known from the C function TipYou can use more than two latch variables. To do this, insert additional columns from the context menu. |
| Data from the second latch variable at the time when the alarm was triggered For the output, additional formatting information (as known from the C function |
| Data from an additionally inserted latch variable (via the context menu) at the time when the alarm was triggered The index For the output, additional formatting information (as known from the C function |
|
|
| Alarm state:
For more information, see: Alarm Class |
For more information, see: Using Latch Variables to Filter Alarm Events