Is there somewhere an example on how to use the AlarmServer and AlarmState etc. API in a more or less real word application?
The documentation on the API is ok. But it would be really helpful to see an actual example how everything is used. Like the complete life cycle of an alarm in the PLCs diagnose code. Especially how the PLC handles the ACK and Confirms.
There are quite some examples/explanations on alarm handling from the perspective of OPC UA. But these focus mostly on the HMI and/or modeling part. What I’m not able to find is a full example where the Alarms are used in a PLCnext project.
Hello Christian,
currently we don’t have a sample project using AlarmServer and AlarmState in PLCnext Technology (github.com) repository, but I think the following description in plcnext info center can help you to implement the needed functionality:
Alarms in C++ programming (plcnext.help)
BR Eduard