Remove overflow of provider chest (with Stack Inserters)
Posted: Wed Apr 06, 2022 11:36 am
I have a setup where I use a constant combinator to request items to a provider chest.
Due to how logistic robots work, they sometimes overflow the request amount, and I want to remove that overflow.
My original idea, was to use a provider chest, to ask for the items, and transfer those item to another chest, where I read the amount of items that were there, and removed the overflow using some for each math with the constant combinator.
Looking like this:
Where the Request = ConstanCombinator-(ReadFromChest+ReadFromInserter)
And Overflow = -Request
The Overflow gets set as the filter to the Stack FIlter inserter.
Now This design works if I don't use stack inserter (or overwrite the stacksize to 1), but I want it to work with a larger stack size.
Is there any way to make it work with stack inserters (or miniloaders)
The reason is that I want to automate filling a cargo rocket ship from Space Exploration using Constant Combinator, and I want to use the limited cargo space to have perfect stacks, and a quick method to empty the cargo ship, when lowering a value in the constant combinator. Luckily the flaws of the desing was easy to recreate in vanilla factorio.
(The extra decider combinator is just to clear the signal from the content read from the cargo ship, as it has a lot of virtual signals)
Due to how logistic robots work, they sometimes overflow the request amount, and I want to remove that overflow.
My original idea, was to use a provider chest, to ask for the items, and transfer those item to another chest, where I read the amount of items that were there, and removed the overflow using some for each math with the constant combinator.
Looking like this:
Where the Request = ConstanCombinator-(ReadFromChest+ReadFromInserter)
And Overflow = -Request
The Overflow gets set as the filter to the Stack FIlter inserter.
Now This design works if I don't use stack inserter (or overwrite the stacksize to 1), but I want it to work with a larger stack size.
Is there any way to make it work with stack inserters (or miniloaders)
The reason is that I want to automate filling a cargo rocket ship from Space Exploration using Constant Combinator, and I want to use the limited cargo space to have perfect stacks, and a quick method to empty the cargo ship, when lowering a value in the constant combinator. Luckily the flaws of the desing was easy to recreate in vanilla factorio.
(The extra decider combinator is just to clear the signal from the content read from the cargo ship, as it has a lot of virtual signals)