# stAlarmRowStructure

## `stAlarmRowStructure` (STRUCT)

TYPE stAlarmRowStructure : STRUCT

The alarm row holds all information for one alarm.

InOut:

| Name                   | Type                                                | Initial                                    | Comment                                                                          |
| ---------------------- | --------------------------------------------------- | ------------------------------------------ | -------------------------------------------------------------------------------- |
| `uiID`                 | `UINT`                                              |                                            | <p>The same ID as shown in the AlarmGroup UI Configuration<br>Manager</p>        |
| `udiInternalID`        | `UDINT`                                             |                                            | Internal ID which is required for alarm access                                   |
| `sAlarmText`           | `STRING(255)`                                       |                                            | Configured alarm text                                                            |
| `sSendAlarmText`       | `STRING(ConstantParameters.gc_iMaxBodyMessageSize)` |                                            |                                                                                  |
| `udiAlarmClassID`      | `UDINT`                                             |                                            | The alarm class ID to which the alarm is associated                              |
| `udiAlarmGroupID`      | `UDINT`                                             |                                            | The alarm group ID to which the alarm is associated                              |
| `sAlarmClassName`      | `STRING`                                            |                                            | The alarm class name to which the alarm is associated                            |
| `sAlarmGroupName`      | `STRING`                                            |                                            | The alarm group name to which the alarm is associated                            |
| `xIsDeactivatedByConf` | `BOOL`                                              |                                            | Alarm is deactivated by the Alarm Configuration Manager                          |
| `xPolicyActivated`     | `BOOL`                                              | ConstantParameters.xActivateAlarmByDefault | <p>If this parameter is TRUE, then the policy is activated for<br>this alarm</p> |
| `eAlarmState`          | `AlarmManager.AlarmState`                           |                                            | The current alarm state as an enum                                               |
| `sAlarmState`          | `STRING`                                            |                                            | The current alarm state as a string                                              |
| `wsGroupName`          | `WSTRING`                                           | ConstantParameters.wsDefaultGroupName      | Policy and group settings                                                        |
| `wsPolicyName`         | `WSTRING`                                           | ConstantParameters.wsDefaultPolicyName     |                                                                                  |
| `pstPolicy`            | POINTER TO stPolicy                                 |                                            |                                                                                  |
| `pstGroup`             | POINTER TO stGroup                                  |                                            |                                                                                  |
| `instDelayTon`         | `TON`                                               |                                            | Configuration                                                                    |
