Factorio – Guide to Trains and Station Limits

Keyword,factorio train station,factorio circuit network tutorial,train station factorio,factorio station,factorio train circuit network,train stop factorio,factorio train circuit condition,factorio train stations,factorio train schedule,factorio circuit tutorial,factorio circuit network train cargo,factorio circuits guide,circuit network tutorial factorio,factorio logic network,factorio logic network

Learn how to make train locomotives, construct them and schedule them with this Factorio train guide.

Trains and Station Limits:

Introduction:

This guide merely provides a quick and easy installation of a train network that utilizes the latest train limit feature and some circuit conditions you can easily modify to the 1.1 base.

I’m in the creative mode with editor extensions to illustrate the idea and not show any mining or anything similar in these photos.

Setup:

This System will use 3 different types of stations:

  • Depots, where trains will wait until their next target is free and also get fueled there.

  • Provider Stations (load), all of one type, will be named with a provider chest icon and the provided item, iron ore.

  • Requester Stations (unload), same naming principle as provider, just requester chest icon instead.

Train schedules can be kept very simple like this:


Depending on the actual location/ your needs/ preferences, you can adjust when you want to travel to a depot.

Every time trains will go:

  • To provider -> until full cargo.
  • To requester -> until empty cargo.
  • And as mentioned, they will also need to have a depot in their schedule with -> inactivity for 1s or something like that so that they will be refueled.

Depots:

Since Depots are the simplest to set up, we will start with these:

You can use any design for those; make sure to set their limit to 1 and that a full train will have space in it without blocking any other lane.

Here is a real example of how 3 of these could look like for 1-4 trains:

Here are requester chests used to get trains fueled by robots, but you can use belts, etc.

Provider Stations (Load):

Same story as before, straightforward train setup, but here is also some circuit logic used this time which I’ll explain.

Don’t worry about those purple undergrounds. They are just for testing purposes. Usually, you would connect your miners there.

To get this system running, you have to keep some things in mind:

How many trains can be in this station without blocking other paths?

How much cargo can a full train carry?

So, you also need the number of items per stack provided at this station.

Playing it through with the example provided:

  • These stations are laid out to have one train (always 1-4 in these examples) loading, another directly behind it, and three additional stackers, so there could be five trains theoretically without blocking any other path.

This will be the max limit we will set the stations to. (Note: This many might not be necessary)

How many cargoes, you ask?

Each cargo wagon can carry 40 stacks. We provide iron ore, so 50 per stack makes 2000 per cargo wagon and 8k for an entire train.

So now we can go into wiring and using the combinators:

First, connect all the chests; I also like to connect them to a power pole next to it to display the number of items. The color of the wire doesn’t matter in this case.

As you have this signal, connect it to the input of an arithmetic combinator.

Set the combinator to divide each signal by the total train cargo amount (8000), so we have the number of trains we can fill fully and therefore request them to come.

The output signal is cargo wagon in this case, but you can use basically whichever you want, but be constant.

Speaking of constants, we will also need a constant combinator, which is there to keep the maximum train limit this station can handle

Ok, so the next step is to ensure the number of requested trains doesn’t exceed the maximum train limit that this station can handle (which might happen if u have less space, bigger buffers, etc.).

To achieve this, we set up two decider combinators comparing the signals we have just provided

If the calculated number of trains we would request (first arithmetic combinator) is lower or equal than the max number from the constant combinator, then use this as the cargo signal:

If it’s more significant, use the max number:

The last thing you need to make this work is another arithmetic combinator, which gets input from previous deciders and output connected to the train station. It just takes whatever signal it brings and sets that to the actual limit of the station:

Remember to set Mode at the station to Trainlimit.

Maybe wires are better visible like this; another not as compact, more explanation-friendly setup will follow.

With this setup, the station can run and request trains dynamically depending on items buffered.

The last arithmetic combinator on these pictures (the bottom right one) is just used to provide information to a global network, so it’s unnecessary. It just converts the number of full trains into readable data, so you can have a quick overview of how many are requested/ provided atm (not taking traveling trains and depots into account)

Requester Stations (Unload):

As you see, those stations look pretty much the same as providers, except there is one additional arithmetic calculator:

This is to use a threshold and determine how many items you want at this station.

Leave a Reply

Want to join the discussion? Feel free to contribute! Your email address will not be published