Page 1 of 1

Is it possible to make a signal last longer ?

Posted: Fri Jul 16, 2021 5:04 pm
by Binoculars
Hello,

I was wondering, is it possible to make a signal last longer?

One of my conditions doesn't last long enough, and a simple R / S lock clearly isn't enough. I tried to multiply this signal, but it doesn't seem to work.

Do either of you have a solution?

Re: Is it possible to make a signal last longer ?

Posted: Fri Jul 16, 2021 6:08 pm
by disentius
You could use a timer. what is it you are trying to do? Maybe there is an alternative solution.

Re: Is it possible to make a signal last longer ?

Posted: Fri Jul 16, 2021 6:50 pm
by Binoculars
I'm trying to get the inserter to pick up 12 items after the belt is full.

I had created another topic concerning this: viewtopic.php?f=18&t=99207

Re: Is it possible to make a signal last longer ?

Posted: Fri Jul 16, 2021 7:08 pm
by DaveMcW
Here is a "divide by two memory cell" that lasts 30 ticks. It will output a signal > 0 as long as the condition is true, and then for 30 ticks afterwards.

If your inserters can't do everything in 30 ticks, reduce the stack size.



30 tick timer.jpg
30 tick timer.jpg (174.45 KiB) Viewed 2452 times

Re: Is it possible to make a signal last longer ?

Posted: Fri Jul 16, 2021 7:19 pm
by Binoculars
DaveMcW wrote: Fri Jul 16, 2021 7:08 pm Here is a "divide by two memory cell" that lasts 30 ticks. It will output a signal > 0 as long as the condition is true, and then for 30 ticks afterwards.

If your inserters can't do everything in 30 ticks, reduce the stack size.
Thanks for sharing, I'll try to incorporate this into my initial creation.

Re: Is it possible to make a signal last longer ?

Posted: Sat Jul 17, 2021 3:47 am
by Binoculars
I got the best result so far, thanks to you, DaveMcW (I may not have used your creation properly).

However, I am surprised to see that the inserters do not take the same number of articles as input, since all have the same activation conditions.
In the creation below, I reused the previously created belt saturation detection. viewtopic.php?f=193&t=99128
1.jpg
1.jpg (897.65 KiB) Viewed 2393 times