The text below will be translated from French to English on Google Translate.
My plan is to create a multi-items tape mixer. However, I am unable to create a counter that resets to a given number. In the example below, I want from 455 objects counted, the decider combinator will reset to 0. I know how to reset it only when there is only one item. Can you help me with this task please ?
However, I am unable to create a counter that resets to a given number. In the example below, I want from 455 objects counted, the decider combinator will reset to 0. I know how to reset it only when there is only one item. Can you help me with this task please ?
You can instantly add (or substract) a value from a counter by sending a pulsed signal of that value.
That is, if the counter is at zero and you send a signal of 455 for one tick the counter will be at 455 afterward.
However, I am unable to create a counter that resets to a given number. In the example below, I want from 455 objects counted, the decider combinator will reset to 0. I know how to reset it only when there is only one item. Can you help me with this task please ?
You can instantly add (or substract) a value from a counter by sending a pulsed signal of that value.
That is, if the counter is at zero and you send a signal of 455 for one tick the counter will be at 455 afterward.
Thanks for your return.
Unfortunately, I cannot put this into practice because my knowledge is not high enough. This probably makes sense for you.
Unfortunately, I cannot put this into practice because my knowledge is not high enough. This probably makes sense for you.
Then I would suggest to find an alternative solution that does not involve circuits. Trying to control items on belts with circuits in an exact manner will get very complicated real fast.
Maybe look into sushi-belt designs if you want to feed many items into a single assembler using just one belt:
Screenshot_2021-01-04_12-37-11.png (1.18 MiB) Viewed 4076 times
For explanation:
The constant combinator holds the information on how many of each item are allowed to pass per cycle as a negative number. Meaning if you want to gate 100 Iron plates you set the constant combinator to -100.
The leftmost belts are set to be enabled while their transported resource is less than zero. Their inputs are the counter (rightmost combinator) counting the on red wire and the combinator on the green wire. This combined is 0 for an individual item once the belt has transported his amount of items.
The counter resets itself once it receives an R signal that is unequal to 0.
This is triggered by the leftmost combinator. It sends an R := 1 to the counter once all signals are greater or equal than 0.
The belts open up again because they restart with the -100 iron plates.
However, it is not exact (apart from the fact that this can work with even numbers as belts can get 2 items at once). Sometimes an item slips past the selected amount which would subsequently block your input.
This achievement leaves exactly the desired number past. However, if one of the conveyor belts is not full, the cycle will be done all the same.
I'm going to work on it a bit more.
Thank you anyway for your explanations and your creation.
Re: Multi-items tape mixer (I need your help)
Posted: Tue Jan 05, 2021 5:48 pm
by Binoculars
It looks like the configuration below works perfectly. The solution was ultimately quite simple.
There is only one thing that I do not understand is that it does not work with blue conveyor belts. Would anyone be why?
If it interests other people, I can make a one to eight track book.
Re: Multi-items tape mixer
Posted: Wed Jan 06, 2021 5:37 am
by biggerw
I am a litte irritated.
It it not possible to use a cargo wagon like a chest?
Put it on rails without locomotive. Set filters to the desired items.
The inserters will fill the wagon correct. Then the machine consumes what is nessesary.
It it not possible to use a cargo wagon like a chest?
Put it on rails without locomotive. Set filters to the desired items.
The inserters will fill the wagn correct. Then the machine consumes what is nessesary.
This is doable, of course. But loading into the machine would be slower, as the inserter cannot select several different items. Unless you configure the order of activation of each inserter, which I don't know how to do yet.
In addition, I find it unsightly to use the cars as chests.
Re: Multi-items tape mixer
Posted: Wed Jan 06, 2021 11:45 am
by biggerw
Perhaps I´m not right.
I have done this calculation.
The recipe of a satellite needs 9*4+5+1 = 42 Movements of a stack interter.
You can use 3 parralel because the wagon in long enough. In total you need 14 moves.
So one inserter needs 4 turns and 2 will need 5 -> max is 5
They have 2.31 turns per game-second and 5 turns will take 2.2 game seconds.
If you use only two inserters it will take 3 seconds.
The prduction time of a satellite is 5 game seonds.
You can sppedup to 227 % and three inserters will bei enough supply the machine.
And then you have a free move for one inserter. So it will be more than 227%.
Thus I don´t understand the speed problem.
And in fact wagons are really used in real world logistics as storage locations.