# stAlarmMonitoringState

## `stAlarmMonitoringState` (STRUCT)

TYPE stAlarmMonitoringState : STRUCT

This structure is used for the monitoring state for each alarm.

InOut:

| Name            | Type    | Comment                                                                             |
| --------------- | ------- | ----------------------------------------------------------------------------------- |
| `udiInternalID` | `UDINT` | Internal alarm id address                                                           |
| `xCurrentState` | `BOOL`  | current state of the alarm (HIGH or LOW)                                            |
| `xPrevState`    | `BOOL`  | previous state of the alarm                                                         |
| `xReadyToSend`  | `BOOL`  | <p>TRUE, if the alarm is ready to send and stays high until it<br>is unblocked.</p> |
| `xSendDone`     | `BOOL`  | TRUE, when the alarm action trigger succeeded                                       |
| `xSendError`    | `BOOL`  | TRUE, when the alarm action trigger failed                                          |
| `iPortalBuffer` | `INT`   | Marker for portal transmission                                                      |
