Oil Loading Station, dynamic barrel count

This board is to show, discuss and archive useful combinator- and logic-creations.
Smart triggering, counters and sensors, useful circuitry, switching as an art :), computers.
Please provide if possible always a blueprint of your creation.
Post Reply
Miravlix
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Wed Jun 01, 2016 8:48 am
Contact:

Oil Loading Station, dynamic barrel count

Post by Miravlix »

Since most circuit stuff people like to show is either crazy or nuts and completely useless. I thought practical circuit could use a bit of spotlight. Too bad 0.15 might make this type of station obsolete.

Oil loading is pretty simple, an assembler + one chest for empty barrels and one for full barrels, but then you run into the problem of the number of empty barrels the station need isn't a constant number. This lead me to create a oil loading station that grabs empty barrels based on how many filled ones it managed to create in the time between train visits. It grabs <number of filled>+10 each time the train visits.

Image

It waits for a train to arrive at the station (using the rail signal change from green as detector) at that point it grabs the number of full barrels stored, tell the empty barrel inserter to fill the chest with that+10, when that is done it loads the full barrels on the train. I use a train with two wagons, one for full and one for empty barrels, so the system never request more than 400 barrels and my oil unloading station, make sure the train has 400 empty barrels, but as a fail safe, the train leaves the station based on inactivity.
Blueprint-String

Post Reply

Return to “Combinator Creations”