sbixby (Customer) asked a question.

How to reset linked ON Delay and OFF Delay timers

So, I have a pump that I turn on and off with two durations. That is, turn it on for say 20 minutes, off for 40 minutes. This was accomplished by my predecessor with two Timers, effectively:

 

image 

This works, for the most part. I added another flag controlled by RTC-related timestamps such that this pump cycles within a start and stop time ANDed on the actual output which controls (Yxxx).

 

Unfortunately, this design means when the time range starts and the ON DELAY timer is running, the user will have to wait (confusedly) until this timer finishes before the pump actually comes on. What I would really like is to find a way to reset the timers outright on a rising edge contact from a bit which is on when the RTC is within the range.

 

I can't seem to figure out how to do this, if it can be done. An OFF Delay timer doesn't have a reset, and an ON Delay timer can have a reset; I tried using TimerPumpB as a NO contact for the output and it just ends up waiting as long as both timers' durations. That's even worse.

 

Got any cool ideas?

 


    • sbixby (Customer)

      I went with this approach, as it came up first and did the trick nicely. Thanks!

  • shane717 (Customer)

    here is two ways additional to do it that will reset the timers when the timers are completed as long as the pump on switch is activated

    • Unknown file type
      The file is no longer available.
  • shane717 (Customer)

    this program can also be used to blink lights if you shorten the time to a milliseconds on the timers(example T1=300 milliseconds and T2 400 milliseconds) but same principle for both blinking and your project of running and stopping the pump for a time

    • Unknown file type
      The file is no longer available.