OPC-UA Alarms on the PLCnext

Hello PLCnext-Team, Is it possible tot trigger an OPC-UA Alarm if a variable has a predefined value? Until now I’ve only been able to access the relevant variables when I marked them as “OPC” but I would prefer the Alarm functionality included in OPC-UA. To clarify what I mean I added an image of the adress space from UA expert. Help would be very much appreciated. Paul

Hi Paul, You have to add PLCnext Controller library to your project. Then you will get Alarm function blocks under PLCnext Controller folder.

Use those to create the alarms. First use ALM_REGISTER to register alarm in system and then one of the alarm blocks to set alarm. I hope this will help. Best regards Stefan