autosnero.blogg.se

Factorio train station
Factorio train station













then on the output put that red square, and count 1. just use the decider combinators instead for that where you would input into the condition of the decider combinator what you want to fill the train with, then pick something like less than or less than or equal to followed by the minimum amount you want present before you want the station to activate. Using this method you can get fancy if you want to make stations only activate when enough materials are present to fill a car if you want as well. if you set the "Enabled condition" to (red square = 0 ) it will stay active until ANY train stops ( i have never seen a train with 0 as its Unique ID ) and when the train leaves the station, so no signals are being sent to the combinator it will re activate the station. using this example with the red squares as the signal going back to the station. the combinator will then send a number of those signals equal to the unique number of the train that stopped, so if you chose (red square) as your signal and a train with a unique ID 348 stopped at the station the combinator will send 348 red square signals back to the station. (the unique number is randomly assigned to the train when you place it on the tracks) for the output of the combinator choose what signal you want to send when you want the station to stop working. on the input of the combinator put ( T * 1 ) this will multiply your T signal by the unique number of the train that stops at that station. Next place an arithmetic combinator in close proximity to the station, then wire the input and output of the arithmetic combinator to the station. This is simply to use a threshold, determining how many items you want at this station.Right so first thing you want to do is make sure your station has both enable/disable and read stopped train checked.

#Factorio train station full

It just converts the number of full trains into readable information, so you can have a quick overview how many is requested/ provided atm (not taking traveling trains and depots into account) Requester Stations (Unload)Īs you see, those stations look pretty much the same as providers, except there is one additional arithmetic calculator: The last arithmetic combinator on these pictures (bottom right one) is just used to provide information to global network, so it's absolutly not necessary. With this setup the station will be capable to run and request trains dynamicaly depending on items buffered. Maybe wires are better visible like this, another not as compact, more explanation friendly setup will follow Remember to set Mode at the station to Trainlimit. It just takes whatever signal it gets, and set that to the actual limit of the station: The last thing u really need to make this work, is another arithmetic combinator, which gets input from previous deciders and output connected to train station. If it's greater, just use the max number: If the calculated number of trains we would request (first arithmetic combinator) is lower or equal then the max number from constant combinator, then use this the cargo signal: To achieve this, we setup two decider combinators comparing the signals we have just provided

factorio train station

Ok so next step is to make sure the number of requested trains doesnt exceed the maximum train limit that this station can handle (which might happen if u have less space, bigger buffers etc). Speaking of constants, we will also need a constant combinator, which is there to keep the maximum train limit this station can handle Output signal is cargo wagon in this case, but you can use basically whichever you want, but be constant. Set the combinator to divide each signal by the full train cargo amount (8000), so we have the number of trains we can fill fully and therefor request them to come. As you have this signal, connect it to the input of an arithmetic combinator.













Factorio train station