-

ALM_CUSTOM_ALARM

TypeFunction block
DescriptionYou can use the ALM_CUSTOM_ALARM function block to create your own alarming function block. This allows you, for example, to check additional alarm conditions, implement another time behavior or combine several alarms within one function block.

The function block provides the low level methods that are used for the implementation of the ALM_* function blocks provided for the PLCnext Technology controllers. All low level methods are shown as subnodes of the function block in the COMPONENTS area.

The methods SendAddAlarm, SendStateChange, SendAcknowledge, and SendConfirm send the corresponding notifications to the OPC UA server. The methods ShouldAcknowledge and ShouldConfirm can be used to determine whether the alarm requires an acknowledgment and confirmation.
NotesFunction 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.