insert exact number of items
-
- Fast Inserter
- Posts: 176
- Joined: Mon Jan 20, 2020 4:41 am
- Contact:
insert exact number of items
Hi,
I need an inserter to insert exactly 40 items every time a signal is reached from another inserter.
the use case is, I don't want extra u235 to be inserted into the enrichment centrifuge.
Can someone help to achieve this, please?
I need an inserter to insert exactly 40 items every time a signal is reached from another inserter.
the use case is, I don't want extra u235 to be inserted into the enrichment centrifuge.
Can someone help to achieve this, please?
Re: insert exact number of items
Hook it up to a memory cell (arithmetic combinator taking Each +0, Each), having it pulse what it holds, but only set to operate when U238 < 40? And for the reset signal, wherever you get it, just send U238=0.
I’d think that would work, at least.
I’d think that would work, at least.
Re: insert exact number of items
If you dont mind the 2 tile gap (beacons), you could use something like this BP
The stack inserters are set to stack size 10, so after 4 swings, there is 1 U235 left in the 2nd chest, which enables the output inserter. The input is enabled if U235 > 1
Note: this will not work for productivity enhanced centrifuges, as sometimes they will produce extra U235, but it will get you started
Once you have the first circle running, you dont need extra U235, but the extra bit is trown out of the process
Sorry, I´m too tired for a combinator counter setup
The stack inserters are set to stack size 10, so after 4 swings, there is 1 U235 left in the 2nd chest, which enables the output inserter. The input is enabled if U235 > 1
Note: this will not work for productivity enhanced centrifuges, as sometimes they will produce extra U235, but it will get you started
Once you have the first circle running, you dont need extra U235, but the extra bit is trown out of the process
Sorry, I´m too tired for a combinator counter setup
Last edited by GrumpyJoe on Thu Apr 09, 2020 9:20 pm, edited 3 times in total.
-
- Fast Inserter
- Posts: 176
- Joined: Mon Jan 20, 2020 4:41 am
- Contact:
Re: insert exact number of items
Thanks for the response,
I am trying to do exactly that, but I do not know how to reset the counter after 40 is reached. any idea?
Re: insert exact number of items
You need some signal from the output inserter (read hand contents) If you reset it straight after it hit 40, it will just push more into the machine.varundevan wrote: ↑Thu Apr 09, 2020 8:40 pmbut I do not know how to reset the counter after 40 is reached. any idea?
Trying to wrap my head around this problem, but maybe that gives you an idea
-
- Fast Inserter
- Posts: 176
- Joined: Mon Jan 20, 2020 4:41 am
- Contact:
Re: insert exact number of items
Your idea works, and it is clever tooGrumpyJoe wrote: ↑Thu Apr 09, 2020 8:24 pmIf you dont mind the 2 tile gap (beacons), you could use something like this BP
The stack inserters are set to stack size 10, so after 4 swings, there is 1 U235 left in the 2nd chest, which enables the output inserter. The input is enabled if U235 < 1
Note: this will not work for productivity enhanced centrifuges, as sometimes they will produce extra U235, but it will get you started
Once you have the first circle running, you dont need extra U235, but the extra bit is trown out of the process
Sorry, I´m too tired for a combinator counter setup
20200409222701_1.jpg
Thanks for sharing
I appreciate it
Re: insert exact number of items
Im not taking credit for this one, i saw it like 3 years back on Youtube, forgot who it was.
You´r welcome. Im starting to play a bit more and will need this soon myself, forgot some basics....,
maybe someone could come up with something that doesn´t need like 10 combinators, like the abomination im thinking of right now. To work with productivity
Here is a variant i used before and just found in my library, I called it "Kovarex Primer"
It has a one time use counter that stops the belt until the process started, then disables the U235 input and uses the same method for circle and output as above
It has the advantage that its fire and forget, you dont need to prime it by hand or watch the centrifuges not getting too many when you start
You´r welcome. Im starting to play a bit more and will need this soon myself, forgot some basics....,
maybe someone could come up with something that doesn´t need like 10 combinators, like the abomination im thinking of right now. To work with productivity
Here is a variant i used before and just found in my library, I called it "Kovarex Primer"
It has a one time use counter that stops the belt until the process started, then disables the U235 input and uses the same method for circle and output as above
It has the advantage that its fire and forget, you dont need to prime it by hand or watch the centrifuges not getting too many when you start
-
- Fast Inserter
- Posts: 176
- Joined: Mon Jan 20, 2020 4:41 am
- Contact:
Re: insert exact number of items
but why is there a decider combinator, I really don't see a use for it.GrumpyJoe wrote: ↑Thu Apr 09, 2020 9:28 pmIm not taking credit for this one, i saw it like 3 years back on Youtube, forgot who it was.
You´r welcome. Im starting to play a bit more and will need this soon myself, forgot some basics....,
maybe someone could come up with something that doesn´t need like 10 combinators, like the abomination im thinking of right now. To work with productivity
Here is a variant i used before and just found in my library, I called it "Kovarex Primer"
It has a one time use counter that stops the belt until the process started, then disables the U235 input and uses the same method for circle and output as above
It has the advantage that its fire and forget, you dont need to prime it by hand or watch the centrifuges not getting too many when you start
-
- Fast Inserter
- Posts: 176
- Joined: Mon Jan 20, 2020 4:41 am
- Contact:
Re: insert exact number of items
varundevan wrote: ↑Fri Apr 10, 2020 8:46 amI understood, it is a clever way.GrumpyJoe wrote: ↑Thu Apr 09, 2020 9:28 pmIm not taking credit for this one, i saw it like 3 years back on Youtube, forgot who it was.
You´r welcome. Im starting to play a bit more and will need this soon myself, forgot some basics....,
maybe someone could come up with something that doesn´t need like 10 combinators, like the abomination im thinking of right now. To work with productivity
Here is a variant i used before and just found in my library, I called it "Kovarex Primer"
It has a one time use counter that stops the belt until the process started, then disables the U235 input and uses the same method for circle and output as above
It has the advantage that its fire and forget, you dont need to prime it by hand or watch the centrifuges not getting too many when you start
Thanks again for sharing.
-
- Fast Inserter
- Posts: 176
- Joined: Mon Jan 20, 2020 4:41 am
- Contact:
Re: insert exact number of items
I have incorporated that counting part in my design,GrumpyJoe wrote: ↑Thu Apr 09, 2020 9:28 pmIm not taking credit for this one, i saw it like 3 years back on Youtube, forgot who it was.
You´r welcome. Im starting to play a bit more and will need this soon myself, forgot some basics....,
maybe someone could come up with something that doesn´t need like 10 combinators, like the abomination im thinking of right now. To work with productivity
Here is a variant i used before and just found in my library, I called it "Kovarex Primer"
It has a one time use counter that stops the belt until the process started, then disables the U235 input and uses the same method for circle and output as above
It has the advantage that its fire and forget, you dont need to prime it by hand or watch the centrifuges not getting too many when you start
however taking that single u235 out of the centrifuge, I have come up with my new idea of taking it out based on u238 output.
This is also fire and forget, however, there is a problem of delay between load up. I have managed to solve that problem with the help of the counter.
take a look and share your thoughts.
thanks again.
Re: insert exact number of items
Quite honestly, I don’t see any real value to this in the long term.
Set up some Centrifuges doing Kovarex, and every so often check back with them, see if they’ve got enough stored that you can use it to start another machine. If so, take the excess out and put it into that other machine to get it going. Just keep on doing that until all your machines are running, at which point the extra 40/machine is not relevant.
Set up some Centrifuges doing Kovarex, and every so often check back with them, see if they’ve got enough stored that you can use it to start another machine. If so, take the excess out and put it into that other machine to get it going. Just keep on doing that until all your machines are running, at which point the extra 40/machine is not relevant.
Re: insert exact number of items
yeah, nothing worth doing in the long term. However, some nuclear fuel plants out there take a long time to start up, since they need all the kovarex centrifuges to be primed first
you get impatient, you wanna see it run
plus, its food for the brain. you might ask why play in the first place.
-
- Fast Inserter
- Posts: 176
- Joined: Mon Jan 20, 2020 4:41 am
- Contact:
Re: insert exact number of items
That is why I do this
Food for brain ... i've been sitting on it for 2 days ... , even though I have played the Freeplay not more than twice, i find it interesting to automate this process.
now i have to play the game to use my blue print...
Re: insert exact number of items
I'm fine with simply priming my centrifuges once per hand with exactly 40 uranium. After that it's trivial to remove the excess. Doesn't even need any combinators
-
- Fast Inserter
- Posts: 176
- Joined: Mon Jan 20, 2020 4:41 am
- Contact:
Re: insert exact number of items
its not that i am not fine with it , it was my interest to build truly fire and forget , just an attempt to do that ..
Re: insert exact number of items
My take on a self priming, count perfect Kovarex setup:
viewtopic.php?p=383949#p383949
viewtopic.php?p=383949#p383949
My Mods: mods.factorio.com
Re: insert exact number of items
That’s the thing ... you truly can just “build truly fire and forget” even with the kovarex centrifuges hoarding 80 instead of only keeping 40. It just takes a bit longer to ramp up production.varundevan wrote: ↑Sat Apr 11, 2020 3:55 pmits not that i am not fine with it , it was my interest to build truly fire and forget , just an attempt to do that ..