Jump to content

automation help


Recommended Posts

Hi,

 

 Looking for a method to send a green signal 10 seconds later after receiving a green signal, even when the starting green signal is just a flicker OR if the starting green signal stays on full time.

 

Figured out a way to do with OR gates (like 72 of them in a row), but surely there is a better way?

Link to comment
Share on other sites

2 hours ago, fragtzack said:

Hi,

 

 Looking for a method to send a green signal 10 seconds later after receiving a green signal, even when the starting green signal is just a flicker OR if the starting green signal stays on full time.

 

Figured out a way to do with OR gates (like 72 of them in a row), but surely there is a better way?

Buffer gate plus filter gate. When the line flashes green (even for a moment) the buffer gate turns green and stays green. Ten seconds later, the filter gate turns green.

Set the filter gate to 10 seconds.

I assume you want the output line to turn red again if the input has not even flickered green for a long enough time. Set the buffer gate to that amount of time.

5d86e794b141b_Screenshotfrom2019-09-2120-16-00.png.2e27d8aeb11a5f213e12def94abd29e5.png

 

If you want it to stay green FOREVER (or for a very long time) then use a memory toggle instead of a buffer gate. Reset the memory toggle... whenever.
 

5d86e95dabc68_Screenshotfrom2019-09-2120-23-45.png.aa04088e45b8585ed7525ad76d96d385.png

Link to comment
Share on other sites

Oh wait. I think I misunderstood your question a bit. You want a continuous DELAY of exactly 10 seconds? Where the output imitates the input so that the timing of turning it off is the same as the timing of turning it on? 

That explains the thing with the OR gates that you mentioned.  Very interesting. I'm going to think that over.

Link to comment
Share on other sites

Yes. Like starting a stop watch. Where the clock starts ticking as soon as you press down the stop watch plunger. Regardless if you lift your thumb off the plunger and the stop watch plunger resets OR if you hold the plunger down the whole time..the stop watch still keeps ticking and then dings after 10 seconds.

 

 

The first green signal starts the stop watch so at the end of the stop watch a green signal is sent.

They tricky part (with the limitations of the existing automation tools) is that the first green signal "pulse" only starts the stop watch. The initial green signal(thumb press) may or may not continue.

image.thumb.png.456af0b77f75f933d7747d1669b6ae67.png

Link to comment
Share on other sites

3 minutes ago, fragtzack said:

Yes. Like starting a stop watch. Where the clock starts ticking as soon as you press down the stop watch plunger. Regardless if you lift your thumb off the plunger and the stop watch plunger resets OR if you hold the plunger down the whole time..the stop watch still keeps ticking and then dings after 10 seconds.

 

 

The first green signal starts the stop watch so at the end of the stop watch a green signal is sent.

They tricky part (with the limitations of the existing automation tools) is that the first green signal "pulse" only starts the stop watch. The initial green signal(thumb press) may or may not continue.

 

Okay, I might still not be understanding.There's a very important distinction to make and answering this question will make it more clear for me:

Suppose you get a green pulse that lasts for 2 seconds. 10 seconds after the beginning of that green pulse what do you want to happen:
1) Output a green pulse that lasts for 2 seconds, just like the original pulse.
2) Output a green pulse that's just a flash of green, just for a moment is good enough.
3) Output a green pulse for some set amount of time, like 5 seconds.
4) Something else

Also, there's another important distinction to make. What happens if you get ANOTHER pulse that lasts for 2 seconds AFTER the first pulse but BEFORE the 10 seconds is up:

1) Ignore the second pulse altogether.
2) Restart the 10 second timer (ignore the first pulse).
3) React to both pulses, repeating them both with a 10 second delay.
4) something else

Link to comment
Share on other sites

This is a 10 second delay. If the input is green for 3 seconds then 10 seconds later it outputs a green pulse for 3 seconds. Set the filter/buffer gates to 10 seconds.

The limitation is that it can only "remember" one pulse at a time. If you get 2 green signals in the same 10 second period, then the output behavior will be one long pulse corresponding to the entire period that ought to contain multiple green pulses.

5d8700bcd8e4c_Screenshotfrom2019-09-2122-03-27.thumb.png.7412fd5356a82ab5169e48cd21cb75f3.png

 

Link to comment
Share on other sites

6 hours ago, Tonyroid said:

This is a 10 second delay. If the input is green for 3 seconds then 10 seconds later it outputs a green pulse for 3 seconds. Set the filter/buffer gates to 10 seconds.

The limitation is that it can only "remember" one pulse at a time. If you get 2 green signals in the same 10 second period, then the output behavior will be one long pulse corresponding to the entire period that ought to contain multiple green pulses.

5d8700bcd8e4c_Screenshotfrom2019-09-2122-03-27.thumb.png.7412fd5356a82ab5169e48cd21cb75f3.png

 

An alternative would be a 20 second buffer leading into a 10 second filter.

This would cause any signal to generate a 10 second pulse, although any additional signals will extend the first.

 

Hence why Tony's questions are so important.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
×
  • Create New...