Alarm delay

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
val_pilats
Posts: 9
Joined: Tue Jan 17, 2012 2:47 am

Alarm delay

Post by val_pilats »

Hi! Is it possible to configure delay for an alarm? I mean if alarm meets condition for 5 sec. (in example), then through alarm, if less then nothing happens.
Thanks.

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Alarm delay

Post by mark.monroe »

No, you can not do that with Alarms unless you write a script to do it. You could write code that triggers a timer and after the timer elapses you could check to see if the alarm value is still high, and if it is you could set the tag used to trigger the alarm.

Here is a forum post on how to work with timers.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

val_pilats
Posts: 9
Joined: Tue Jan 17, 2012 2:47 am

Re: Alarm delay

Post by val_pilats »

Thanks for Your reply. I think it would be very useful feature in IX projects for PC if You'd added it in future.

Post Reply