Hello Community,
I've been working with OPC UA for a few weeks.
By methods I get an alarm set. Now I want to have a variable monitored on the server.
That means if their value changes I would like to trigger an alarm.
In the MyCorpNsClasses.cs I find the public properties and about the setter I also notice if the value changes.
But how do I get the information as an alarm? Does anyone have a piece of code as an example for me please? I work with .Net SDK.
Greeting Frank
PS: Sorry for bad engish, I´m not an engish-nativespeaker.
Alarm for a Variable
Moderator: uasdknet
- Support Team
- Hero Member
- Posts: 3070
- Joined: 18 Mar 2011, 15:09
Re: Alarm for a Variable
Hello,
if a value of a Variable changes, clients will receive a DataChangeNotification if a MonitoredItem is created for the Variable. It is not recommended to send an OPC UA alarm in addition.
If you are interested in OPC UA alarms, then have a look at server getting started, lesson6: http://documentation.unified-automation ... ess06.html
if a value of a Variable changes, clients will receive a DataChangeNotification if a MonitoredItem is created for the Variable. It is not recommended to send an OPC UA alarm in addition.
If you are interested in OPC UA alarms, then have a look at server getting started, lesson6: http://documentation.unified-automation ... ess06.html
Best regards
Unified Automation Support Team
Unified Automation Support Team