ALM_REGISTER
Type | Function block |
Description | The function block is used to register an alarm in the system. An alarm must always be registered before it can be used in the system. With a rising edge at the EXECUTE input or with EXECUTE = TRUE, the existing alarm is published to the system. The ALM_STATE structure connected to ALARM holds the alarm state.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 registered simultaneously.ALM_REGISTER is intended to be used along with ALM_ALARM. If custom parameters are required, ALM_REGISTER_PARAM and ALM_ALARM_PARAM should be used. |
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 | ![]() |