SumAlert

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
7 posts • Page 1 of 1
rwazir
Posts:33
Joined: Tue Jun 21, 2016 12:46 pm

SumAlert

Post by rwazir »

In our project we use sumAlerts.

When I debug in _alert_hdl.._summed_alerts to see the content of the elements, it seems like that there more than 1 alert of the same element.

For example:

Line 233: AME:AM_ST_LF_BREM_NNST_02.variabelen.signaleringen.noodbediening_hand:_alert_hdl.2._class |
Line 235: AME:AM_ST_LF_BREM_NNST_02.variabelen.signaleringen.noodbediening_hand:_alert_hdl.2._class |
Line 237: AME:AM_ST_LF_BREM_NNST_02.variabelen.signaleringen.noodbediening_hand:_alert_hdl.2._class |


How is this possible?

Looks like alerts are stuck and cannot be cleared.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: SumAlert

Post by leoknipp »

The attribute _summed_alerts is of data type dyn_atime.
An "atime" contains more information than only a dp element. Also the alert time and the alert count is saved in this variable.
Maybe the other information is different and therefore you see 3 times the same dp element.

Best Regards
Leopold Knipp
Senior Support Specialist

rwazir
Posts:33
Joined: Tue Jun 21, 2016 12:46 pm

Re: SumAlert

Post by rwazir »

Thank u Leopold.

But the problem now is that even if the alert has been acknowledged, the sumAlert says it has a alert to be acknowledge which is this element.

U cannot get rid of it anymore until u deactivate the sumAlert.

And how come the information is different of the same element as u say? How is this possible?
Normally there is information of 1 element.

In the code we use attribute _summed_alerts and it's data type is dyn_atime.

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

Re: SumAlert

Post by Gertjan van Schijndel »

With such little information it is impossible to tell how this happened.

What does the standard alarm screen display these alerts?
What are the times, acount, direction and state values of these alerts?
How is the alert config parameterized?
Which version (+patch) are you using?

rwazir
Posts:33
Joined: Tue Jun 21, 2016 12:46 pm

Re: SumAlert

Post by rwazir »

The standard alarm does not display these alerts.

It happens sometimes. I have no information now of the times, account etc.
We use version 3.14 patch 8.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: SumAlert

Post by leoknipp »

If the problem occurs again please get in contact with your common WinCC OA support.
They will tell you which information is needed to make detailed analysis. As Gertjan has written more information is needed to detect if the summary alert works correctly or not.

For the alert configured at the dp element AME:AM_ST_LF_BREM_NNST_02.variabelen.signaleringen.noodbediening_hand please check if you are using an alert class where also old alerts need to be acknowledged.
If AME:AM_ST_LF_BREM_NNST_02.variabelen.signaleringen.noodbediening_hand has a multi instance alert configured please check if there is a function which resets old alerts. In case of a multi instance alert you have to implement the state machine (came, gone, acknowledgement) on your own.

Please do an upgrade to the newest patch for WinCC OA 3.14, if possible.

Best Regards
Leopold Knipp
Senior Support Specialist

rwazir
Posts:33
Joined: Tue Jun 21, 2016 12:46 pm

Re: SumAlert

Post by rwazir »

Hi Guys,

Thank you for the tips.
I will gather some more information when it occurs again.

7 posts • Page 1 of 1