Filter Stack +combinator

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
User avatar
caribou666
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jan 15, 2020 5:56 pm
Contact:

Filter Stack +combinator

Post by caribou666 »

Hi,

Fist of all sorry for my english, i'm not fluent.

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

Image
Image
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3715
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Filter Stack +combinator

Post by DaveMcW »

This is a hard problem. Why can't you manually set each filter inserter to a different item? :D


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
filter-transfer.jpg (185.54 KiB) Viewed 2793 times
SyncViews
Filter Inserter
Filter Inserter
Posts: 295
Joined: Thu Apr 21, 2016 3:17 pm
Contact:

Re: Filter Stack +combinator

Post 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
t.png (127.51 KiB) Viewed 2780 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.
User avatar
Khagan
Filter Inserter
Filter Inserter
Posts: 253
Joined: Mon Mar 25, 2019 9:40 pm
Contact:

Re: Filter Stack +combinator

Post 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.



(You can reduce the combinator count by 1 if you use negative numbers to represent demand in the constant combinator.)
User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2920
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Filter Stack +combinator

Post by Optera »

Easily done using the whitelist filter I showcased here: viewtopic.php?p=447487#p447487

2020-05-08 080912.png
2020-05-08 080912.png (83.96 KiB) Viewed 2752 times


Usage:
Set whatever the filter stack inserter should transfer with count 1 in the constant combinator.
User avatar
caribou666
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jan 15, 2020 5:56 pm
Contact:

Re: Filter Stack +combinator

Post 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 !
User avatar
caribou666
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jan 15, 2020 5:56 pm
Contact:

Re: Filter Stack +combinator

Post 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 :)

Image
User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2920
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Filter Stack +combinator

Post by Optera »

Using wide chest like that is so dirty. :twisted:
User avatar
caribou666
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jan 15, 2020 5:56 pm
Contact:

Re: Filter Stack +combinator

Post by caribou666 »

1st version was a 2x600 chests long merged on 1 line, with smelting included :lol:
Multiplied by 18, with 4 lanes rail network.
Worked well ahahahaha

Next setp is 10kSPM with 100 modules :mrgreen:
mmmPI
Smart Inserter
Smart Inserter
Posts: 3629
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: Filter Stack +combinator

Post 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 :)
User avatar
caribou666
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jan 15, 2020 5:56 pm
Contact:

Re: Filter Stack +combinator

Post by caribou666 »

Post Reply

Return to “Gameplay Help”