- Set Locomotive constant to the max number of trains to ask for.
- Set Wagon constant to the number of items stored by a locomotove. Don't forget the stack count.
- Set the last arithmetic combiner's output to the material being used.
- Attach the L combiner's output to the train stop.
- Set the train stop to input train limit
- Attach last combiner's output to the GREEN global wire.