Flexible Railroad with Logic Addressing
Posted: Mon Jul 14, 2014 6:42 pm
The top attachment is the export center, the bottom is the Import center. Using a unique item(s) placed in the first wagon of a train, this logic system will be able to determine which station the train is headed towards and specifically load material that that station requires as follows:
Import Station
Train stops and all items are offloaded (further sorting required downstream).
A specific number of a unique item (wood or basic ammo clip) is placed in the smart chests next to the first wagon and is registered on circuit L11.
Any wood in L11 starts the delivery timer which shortly triggers "The Count" (some time is allowed for all of the unique item(s) to be offloaded).
"The Count," based on the number of unique items offloaded, will trigger a switch (L1 through L10 for stations 1 through 10 - only 4 shown in diagram) which in turn triggers one of the station switches in the "Export Station".
"The Delivery Timer" triggers the "Gate Switch" at L12 which turns on all of the inserters for offloading the smart chests next to the wagon. L12 also resets the "Count."
Finally, the "Timer" triggers the gates closed with L14.
Everything is reset for the next delivery.
Export Station
The Import Station has triggered one of the "Station switches" L21 through L30 (only 4 shown). This also triggers L32 which starts the "Export Timer."
The "Station Switch" opens the corresponding material box for loading onto the train (it also closes the box from temporarily receiving more material).
When the "Export Timer" finishes it triggers the "Station Switch" reset which closes the material box and keeps further material from going onto the train.
At the top of the Export Station drawing I show a way to gather the material for each individual outpost using a global circuit for each smart box and inserters.
Import Station
Train stops and all items are offloaded (further sorting required downstream).
A specific number of a unique item (wood or basic ammo clip) is placed in the smart chests next to the first wagon and is registered on circuit L11.
Any wood in L11 starts the delivery timer which shortly triggers "The Count" (some time is allowed for all of the unique item(s) to be offloaded).
"The Count," based on the number of unique items offloaded, will trigger a switch (L1 through L10 for stations 1 through 10 - only 4 shown in diagram) which in turn triggers one of the station switches in the "Export Station".
"The Delivery Timer" triggers the "Gate Switch" at L12 which turns on all of the inserters for offloading the smart chests next to the wagon. L12 also resets the "Count."
Finally, the "Timer" triggers the gates closed with L14.
Everything is reset for the next delivery.
Export Station
The Import Station has triggered one of the "Station switches" L21 through L30 (only 4 shown). This also triggers L32 which starts the "Export Timer."
The "Station Switch" opens the corresponding material box for loading onto the train (it also closes the box from temporarily receiving more material).
When the "Export Timer" finishes it triggers the "Station Switch" reset which closes the material box and keeps further material from going onto the train.
At the top of the Export Station drawing I show a way to gather the material for each individual outpost using a global circuit for each smart box and inserters.