Page 1 of 1

Multi-items tape mixer

Posted: Wed Dec 02, 2020 6:48 pm
by Binoculars
Hello factorian friends,

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 ?
1.jpg
1.jpg (558.83 KiB) Viewed 4216 times

Re: Multi-items tape mixer (I need your help)

Posted: Mon Jan 04, 2021 2:28 pm
by Binoculars
Nobody ?

When we see some creations on the forum, I tell myself that this should only be a formality for these creators.

Re: Multi-items tape mixer (I need your help)

Posted: Mon Jan 04, 2021 3:29 pm
by Yoyobuae
Binoculars wrote:
Wed Dec 02, 2020 6:48 pm
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.

Re: Multi-items tape mixer (I need your help)

Posted: Mon Jan 04, 2021 3:58 pm
by Binoculars
Yoyobuae wrote:
Mon Jan 04, 2021 3:29 pm
Binoculars wrote:
Wed Dec 02, 2020 6:48 pm
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.

Re: Multi-items tape mixer (I need your help)

Posted: Mon Jan 04, 2021 5:03 pm
by Yoyobuae
Binoculars wrote:
Mon Jan 04, 2021 3:58 pm
Thanks for your return.

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
Screenshot_2021-01-04_12-37-11.png (1.18 MiB) Viewed 4076 times

Re: Multi-items tape mixer (I need your help)

Posted: Mon Jan 04, 2021 5:07 pm
by Kalanndok
You might be looking vor something like this.


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.

Re: Multi-items tape mixer (I need your help)

Posted: Mon Jan 04, 2021 7:03 pm
by Binoculars
Kalanndok wrote:
Mon Jan 04, 2021 5:07 pm
You might be looking vor something like this.
Indeed, although not perfect, it could come close.

I found this on the forum: https: viewtopic.php?f=193&t=91897

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?
-.jpg
-.jpg (624.92 KiB) Viewed 3886 times

Re: Multi-items tape mixer (I need your help)

Posted: Tue Jan 05, 2021 5:49 pm
by Binoculars
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.

Re: Multi-items tape mixer

Posted: Wed Jan 06, 2021 6:46 am
by Binoculars
biggerw wrote:
Wed Jan 06, 2021 5:37 am
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.

Re: Multi-items tape mixer

Posted: Wed Jan 06, 2021 2:13 pm
by Binoculars
biggerw wrote:
Wed Jan 06, 2021 11:45 am
Thus I don´t understand the speed problem.
The blueprint that I made, with the satellite in the assembly machine, was only to illustrate my project. It is true that I could have mentioned it.

Do you create a blueprint of what you are stating? It interests me.

Re: Multi-items tape mixer

Posted: Wed Jan 06, 2021 2:58 pm
by biggerw
Here it is:

Image



You can use up to 16 inserters with a wagon.

Re: Multi-items tape mixer

Posted: Wed Jan 06, 2021 3:01 pm
by Binoculars
Thanks to you