0.15 Wood Scripted Train Loading Station

Smart setups of railway stations, intelligent routing, solutions to complex train-routing problems.
Please provide - only if it makes sense of course - a blueprint of your creation.
Post Reply
tarioch
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat May 20, 2017 5:57 pm
Contact:

0.15 Wood Scripted Train Loading Station

Post by tarioch »

My first excursion into creating a more complex circuit network.

Goal:
* Trains arrive with a certain number of wood in them and get loaded based on a matrix. E.g. 1 Wood = 3000 Iron, 2 Wood = 100 Yellow Belts, 100 Red Belts, ...
* Matrix is defined once but multiple train stops can load
* All bot based


How does it work:
* Counter switches between different stations
* Each station has a unique counter for which it works
* When train enters the number of wood is sent to the matrix if we're on the right tick
* Get resulting materials and store it
* Use this to request the corresponding materials into requester chests
* Other stuff in train will be removed (to solve the problem when a loader had something in it the last time but the train was already full)
* Once done, train gets signal to drive on
* Remaining stuff will be moved out of the boxes
* Signal becomes green, next train can enter


Blueprint
Blueprint
Attachments
factorio.PNG
factorio.PNG (1.41 MiB) Viewed 2051 times

Post Reply

Return to “Railway Setups”