WinCC OA OPC UA Client Alarm

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
5 posts • Page 1 of 1
adriantaw
Posts:8
Joined: Tue Nov 01, 2016 2:21 pm

WinCC OA OPC UA Client Alarm

Post by adriantaw »

Hi,

I am currently struggling with calling OPC UA Alarm to WinCC OA. I have followed the steps on the help file but so far no success.

I have a OPC UA server sending the alarm & event to my WinCC OA UPC UA Client.

For both event and alarm datapoints I created a "string" datapoint to store the value. It works fine for the event but not for alarm.

So far I have done this steps for the alarm:
- Add driverackclassprefix
- Create alarm subscription
- Map the alarms severities
- Add a peripheral address

I know for the alarm I suppose to add alert_hdl, but this is quite confusing what I have to do here. I tried to couple the datapoint here but it keeps giving me warning that the DP filter must be defined.

Can anyone help?

Thank you.

Adrian

rglock
Posts:19
Joined: Wed Sep 08, 2010 9:54 am

Re: WinCC OA OPC UA Client Alarm

Post by rglock »

Hello,

you only have to add the _alert_hdl-config, select an alarm class and choose the "multiinstance" Option (and activate the alarm-config).

The alarm will then directly be created by the driver and not by a value change at the datapoint element.

If you then still have any problems with alarm-receiving, please start the OPC UA driver with -dbg 25, let an alarm come in by the OPC UA server and create
an official Service Request (adding the log outputs).

best regards
Rainer

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: WinCC OA OPC UA Client Alarm

Post by Gertjan van Schijndel »

For the alarms you should use a different datapoint element type (like int), because on a string type you cannot add a multiinstance _alert_hdl config.

adriantaw
Posts:8
Joined: Tue Nov 01, 2016 2:21 pm

Re: WinCC OA OPC UA Client Alarm

Post by adriantaw »

Hi,

The alarm came out on the log, but somehow I still did not see it on my datapoint.

So far I did this thing:
- I created a datapoint a type integer
- add a periphery address, connect the address with my alarm subscription (I manually add the node id of the alarm)
- add an alert_hdl, assign alarm class which I configured in the OPC UA alarm severity and add a multiinstance

I did not see the integer value changed and the alarm text when the alarm came out on my data point, but strangely it comes out on the log.

So something in the datapoint settings must be wrong, but so far I cannot find it.


Attached is my log file

Any idea? https://www.winccoa.com/fileadmin/image ... es/log.txt

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: WinCC OA OPC UA Client Alarm

Post by Gertjan van Schijndel »

Multiinstance alerts work a bit different then other alerts, you can only see multiinstance alerts in an alert screen. At the datapoint element you cannot see if and how many alerts are raised.

5 posts • Page 1 of 1