Delay before creating an event

Forum Home Forums Understanding the Software Delay before creating an event

Tagged: ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #13490
    DonRapid
    Participant

    Hi,

    I’d like there to be a delay before some events are created. In other word a value must not only exceed the limit but exceed it for 1 minute before an event is created.

    Is there a way to do this?

    If it requires script writing, how whould such a script look?

    Thanks in advance

    #13491
    manjey73
    Participant

    only the calculation channel with a timer TON of 60 seconds comes to mind. It should start when an excess has occurred in the desired channel.

    At the same time, in the channel that we control, we need a formula for the status, which at the same time will check this timer, and if it worked, then change the status, otherwise set the default channel status.

    #13492
    manjey73
    Participant

    Accordingly, if the signal returns to the range, the timer will be reset

    It is probably possible to make a formula (script) just for the channel, the excess of which must be controlled in this way

    • This reply was modified 7 months, 2 weeks ago by manjey73.
    #13496
    Mikhail
    Moderator

    Hi,
    In Rapid SCADA 6 you can set a deadband for a limit. It’s not a time delay but also can be helpful. To make a time delay, you need to develop a formula and change channel status from the formula.

    #13508
    JW
    Participant

    I am also looking for a solution to this.

    One temporary solution I’m using is:

    create a channel (X-raw) to acquire the real-time data but not disable events.

    create another channel (c) as counter. the counter has a initial value of 10*delay_in_sec, decrease if the value exceeded the limit, reset if the value with limit.
    Note: the channel values updates roughly 8-9 times per second.

    create another channel (X) and enable events. the value of this channel only updates if not exceeding the limit, or exceeded limit and counter decrease to 0.

    #13509
    JW
    Participant

    The difficult / inconvenience is that the events can only be trigger by changing the value to exceed the limits.

    Is it possible to have a formula to write an event? That will be very helpful to allow user to decide when to create an event in formula.

    #13512
    Mikhail
    Moderator

    Automatic Control Module can activate trigger with timeout. But currently the module cannot generate events. If we add to the module a feature to generate events on trigger, does it solve the issue?

    #13580
    JW
    Participant

    In my use case, delay event is mainly to reduce false alarms, instead of simply triggering events with delay.
    Sometimes the signal from sensor can be flickering or missing for a very short time, user don’t want to have the event of these flickers.
    So I set a counter to trigger the event, to make sure the event only will be triggered only the condition last for longer than a certain period of time.

    The purpose is similar to the deadband, which reduce event numbers when the value wiggling around the limits.

    As Mikhail suggested, adding feature to generate events on trigger to Automatic Control Module can partially solve the issue. but not very convenient.

    Currently I’m only creating triggers channels for some critical data channels to achieve delay alarms.
    Creating triggers for many channels and setting up auto control module for many channels are a little troublesome.

    #13581
    JW
    Participant

    The purpose is similar to the deadband.

    while the deadband reduce event numbers when the value wiggling around the limits;

    this feature is to reduce the event numbers when the value occasionally flickers above the limit or loss of communication, then resume shortly (less than a few seconds).

    if there is a feature in the limits, say “hold” or “delay”, which controls the event only will be triggered if the value exceeded the limit consecutively for a certain amount of time, it would be very helpful.

    It can be very complicated to implement.

    Even if it can only hold the value and stat for a period of time before changing to undefine, it will be very useful.

    #13588
    Mikhail
    Moderator

    Thank you for the detailed description.
    I’m thinking about development of a separate module for event generating. This approach can be more configurable and flexible than trying to add all possible features in the Server app.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.