I have tried this solution before:mrzorn wrote:Edit:
Wups
viewtopic.php?f=6&t=39474&p=251161&hili ... rt#p251161
----
Hi there!
I have this brainchild I'm thinking about since a few weeks. I want to setup a train for my outposts to supply my roboports there, outside of the reach of the "Mainbase"-Network, with the Items that are requested locally.
As far as I can see there is no way to read from a Roboport what is currently "missing" within the network.
So if it would be possible to Output from a Roboport with wire not only the Items that are available but also the Items that are currently requested (via chests or blueprints) with a negative value.
I would think the result to be like this:
Yell. Belt: + (In store 100) - (Need 00) = Output + 100 Yellow Belt
Red Belt: + (In store 050) - (Need 20) = Output + 30 Red Belt
Blue Belt: + (In store 000) - (Need 10) = Output - 10 Blue Belt
*Build a Constant combinator and set the stuff (and amount) you want/need in the outpost. I think the amount should be negative for my setup to work.
*Connect the output to the input of a decider combinator. Setup should be Input:"each < 0" Output: "Each".
*A roboport should output the logistic storage values to the input of the decider combinator.
*At the station, build provider chests and filter inserters set to "set filter mode". Connect the filter inserters to the output of the decider combinator.
If I managed to explain this right the inserters would grab the stuff you need from the supply train until it reaches your desired value.
The design can probably be improved. More than one inserter/wagon can result in too many items transferred since they grab one stack each.