ALM_REGISTER_PARAM
Type | Function block |
Description | The function block is used to register an alarm that contains user-defined parameters in the system. An alarm must always be registered before it can be used in the system. ALM_REGISTER_PARAM is intended to be used along with ALM_ALARM_PARAM. If no custom parameters are used, the ALM_REGISTER and ALM_ALARM function blocks should be used.With a rising edge at the EXECUTE input or with EXECUTE = TRUE, the alarm is published to the system. The ALM_STATE structure connected to ALARM holds the alarm state. The user-defined structure connected to PARAMETERS holds the additional parameters to be registered to the OPC UA server. The user-defined structure can contain a maximum of 10 parameters with elementary data types or strings. The names and types of the structure elements are used for the registration.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. |
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 | ![]() |