I would like to transfer items from one vault to another using filters stacks + combinators for ease. I'm more or less able to do this, however if an item is missing, the transfer will be interrupted. That makes sense. I would like to change that logic and make the arm transfer only existing stuff.
Well I can't do it, maybe can you help me ?
Thanks
Re: Filter Stack +combinator
Posted: Thu May 07, 2020 10:50 pm
by DaveMcW
This is a hard problem. Why can't you manually set each filter inserter to a different item?
Here is a solution. The steps are:
1. Set every item in the input chest to exactly 1 million.
2. Add the 1 million items to the constant combinator.
3. Filter out anything less than 1 million.
4. Subtract 1 million. Now the constant combinator is filtered by items in the input chest.
filter-transfer.jpg (185.54 KiB) Viewed 2806 times
Re: Filter Stack +combinator
Posted: Fri May 08, 2020 12:54 am
by SyncViews
Alternatively on your needs, it might be an option to use the basic filter inserter as each can take 5 filters rather than just one.
t.png (127.51 KiB) Viewed 2793 times
Otherwise the large offset trick is useful in ways such as this since "add" by joining outputs is the only form of "each = each op each" available.
Also if you are open to playing with mods, the stack size and number of filter slots can be changed.
Re: Filter Stack +combinator
Posted: Fri May 08, 2020 1:46 am
by Khagan
I'd do this by digitising. Emit 1 for each channel with demand and 1 for each channel with supply, and send to the inserter only those channels with a total of 2.
Usage:
Set whatever the filter stack inserter should transfer with count 1 in the constant combinator.
Re: Filter Stack +combinator
Posted: Fri May 08, 2020 7:17 am
by caribou666
Wow, i'm impressed by your responses !
I'm going to test all of that today (thanks to the quarantine) and i'll show you how i use it
Thanks guys !
Re: Filter Stack +combinator
Posted: Sun May 10, 2020 9:33 am
by caribou666
This is my first try for a 100SPM full integrated module with merged chest + LTN + Khagan solution. It's compact and pretty ugly,but it's work well. Next step is a 6 lanes rail network.
Thanks again for your help
Re: Filter Stack +combinator
Posted: Sun May 10, 2020 10:30 am
by Optera
Using wide chest like that is so dirty.
Re: Filter Stack +combinator
Posted: Sun May 10, 2020 10:55 am
by caribou666
1st version was a 2x600 chests long merged on 1 line, with smelting included
Multiplied by 18, with 4 lanes rail network.
Worked well ahahahaha
Next setp is 10kSPM with 100 modules
Re: Filter Stack +combinator
Posted: Tue May 12, 2020 7:29 am
by mmmPI
caribou666 wrote: ↑Sun May 10, 2020 9:33 am
picture
those belts have a problem, lemme zoom in , oh wait, those aren't belts.
Only rationnal explanation is that there are hidden logistic bots inside the boxes that does all the magic