ALM_ALARM
Type | Function block |
Description | The function block is used to send alarm states to the OPC UA server. The ALM_STATE structure connected to ALARM holds the alarm state. With each change of the ACTIVE input, the new state is sent to the OPC UA server. The function block has to be executed until the DONE output is set to TRUE. The DONE output is set to FALSE if, for example, many alarm states are sent simultaneously.The AUTO_ACK and AUTO_CONF inputs can be used to determine whether the alarms require an acknowledgment (AUTO_ACK) or confirmation (AUTO_CONF). If both inputs are TRUE, the alarm is removed as soon as the ACTIVE input switches to FALSE. If an alarm acknowledgment or confirmation is required, the function block has to process the alarms, i.e., it has to be further executed. |
Notes | Function blocks have to be instantiated. The instance name of the function block has to be declared in the 'Variables' table of the POU where the FB is going to be used. The instance name must be unique within the POU. |
Parameters | Inputs
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ALM_STATE structure | ![]() |