Alert delay base on time

Discussion about recent product features & solutions!
Search

Post Reply
6 posts • Page 1 of 1
dongil
Posts: 49
Joined: Mon Oct 07, 2013 3:42 am

Alert delay base on time

Post by dongil »

WinCC OA 3.15 P013


I am trying to make alert delay base on time.
Even though match alert condition, if keep the alert condition for 10 seconds then I want to generate alert.
if you have solution, let me know.

I attached a capture file that I am using.
Attachments
alert capture.PNG

User avatar
adaneau
Posts: 310
Joined: Tue Feb 21, 2012 9:49 am

Re: Alert delay base on time

Post by adaneau »

Hi,

This is not standard feature of WinCC OA. But I guess it can be done with a ctrl script and additional DP:

- Create an additional DP for only the alarm. Not linked to your actual value but to some summary state integer (e.g. an enumeration matching your ranges)
- Inactive alarm from the value to control
- Create a script with alarmConnect to the monitored value alarm
- Implement desired logic for different ranges in callback
- Here is tricky, I would go for thread but be careful. So a thread is started to count 10 extra seconds and then check value again. If value is still in previous range, make a dpSet for the alarm point with good enum value. Otherwise do nothing or upgrade status. I dont know what you want to do if range goes up in meantime.

However I should warn you to be careful here, especially in case of lot of values changes. Also to avoid duplicating all alarms, you could use a multi instance maybe.
Also I advice you to really write down your lifecyle, covering all possibles cases so you know where you put feet.

BR
Alex

dongil
Posts: 49
Joined: Mon Oct 07, 2013 3:42 am

Re: Alert delay base on time

Post by dongil »

below is my project.

we monitor amps data of circulation device such as pump, fan etc.
there are lots of amp data,3 phase amps data and average and voltage as well.

when the device start, there is starting current is going more higher than normal. so our customer do not want to see alarm at that time. because that is normal.
there are 10,000 amps data.
i have a experience about the control script issue. it made the system slow because event manager has to be checked the script all the time.

if you have good solution of script method or good api i can use, can you explain more detail.

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Alert delay base on time

Post by leoknipp »

If you just want to suppress the alerts in the startup phase you can possibly use the following approach:
-- Deactivate the _alert_hdl configs
-- Do the startup of the device
-- Wait until the startup is finished
-- Activate the _alert_hdl configs

Best Regards
Leopold Knipp
Senior Support Specialist

nmnogueira
Posts: 123
Joined: Thu May 05, 2011 12:59 pm

Re: Alert delay base on time

Post by nmnogueira »

Is there a way to request for new features?

The possibility to include a delay time on the alert generation is a highly requested feature by our clients, and one that we struggled with more than one time.
We solve this in one of 3 ways:
1 - using a control script to calculate the delay and activate the alert DPE if the source DPE is active for a certain time
2 - using a delay function we developed to include in a dpfct
3 - implementing the delay in the PLC

I am sure it would be much more efficient if there was a built in function to do it.

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Alert delay base on time

Post by leoknipp »

We are aware that this feature can be really important for our customers and it is listed in feature lists managed by our Product Management.
At the moment it is not planned to include such a functionality in WinCC OA.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
6 posts • Page 1 of 1