Smart Train Station - for personal or automated use

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.
nullpunkteins
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jul 24, 2019 5:45 pm
Contact:

Smart Train Station - for personal or automated use

Post by nullpunkteins »

Hello!

Playing quite a while and wanted to share one of my combinator creations.

Since I use a lot of personal trains and trains in general, I created a smart train station supported by bots. Designed for trains stationed near my mall.
s1.jpg
s1.jpg (126.51 KiB) Viewed 3785 times
The trains payload will be set per constant combinator, bots bring stuff, the exact amount of set items will be loaded and train will be ready.

The Station is color indicated.
Red: No train in station - train is on the move.
Yellow: Train is loading or unloading (or waiting for stuff).
Green: Train is ready to go.
Blue: No payload set - train is in station (will be unloaded)
s2.jpg
s2.jpg (211.09 KiB) Viewed 3785 times
Examples of Usage:
Personal use - let train automatically drive back to station with circuit condition empty if you want to refill. You'll see green lights when train is loaded. Or if you are at your borders, building stuff, set up a simple station and send train back home with circuit condition "green > 0", so it automatically returns after refill.
For automated use - simply set circuit condition "green > 0". For example I use it also as supply train for far outposts, delivering new bots, repair kits and so on.

Good for transport of many different items. Easy to change the trains payload - no need to manually restrict inventory slots.
Bots will only deliver goods when train is stationed and "requesting" them. And the exact amount of set goods will be loaded.
But not the fastest while loading :-).
If you want to define more than 18 different items (since constant combinators only have 18 slots), simply set a second constant combinator near the first one and connect both green and red wire to the first.

Set items in this combinator:
s3.jpg
s3.jpg (148.46 KiB) Viewed 3785 times
If you set combinator to off or clear everything in the combinator, stuff will be automatically unloaded (with max stack size (12)). If train is on the move, it will stop next time and do the unloading, color will be blue if everything is empty. If you change things in combinator while train isn't empty, it will load new stuff and unload the unwanted the same time (but unloading only with stack size of 1 - its reserved for emptying overfill while loading).
s4.jpg
s4.jpg (35.75 KiB) Viewed 3785 times
Important: dont overfill the cargo at the combinator and only use a maximum of 39 (of 40) inventory spaces, so the inserter won't clog.
Also made a version where you can use all 40 of 40 spaces, with more stack size changing logic, but uses more combinators and could need more time to load things.


Let me know if there are any questions.
Also if you are using any decorative mods like dectorio, the order of colors might be different. Since I originally created the station while using dectorio I could offer an easy solution for the different color order (since with that mod yellow is higher prioritised than blue).

Lucasdj18
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Apr 01, 2019 3:04 am
Contact:

Re: Smart Train Station - for personal or automated use

Post by Lucasdj18 »

Six months ago, I was looking for exactly this project, but I found nothing that satisfied me, so I decided to build mine.

follows the same principle as yours, and the first version may even be considered your plagiarism (laughs)

The defects of my project are:
You can only use 39 seats per wagon.
If you set an item to zero, it will not be unloaded by manually removing it from the wagon.
You cannot repeat the same item in more than one constant combiner.
Nothing compact.
You have to have all items in the logistics network, if there are no items being loaded or missing, it will not go to the next item until the missing item is fully loaded (can be resolved with quick filter inserters instead of stack with filter, which would slow down).
There must be other minor problems that I don't remember now.

The best part of this project:
Exact values, no need to filter the wagon or set the order in baus. Using values, multiples of 5 help in efficiency.
Faster than 24 standard design long inserters to carry 24 items and larger capacity than designs with 12 pillha inserts.


Some advantages, but simply not having to filter the wagon and change the requesting bau, already give me joy, and I'm proud to have done so.

I only shared this because of the knowledge of having similar projects that I didn't see anymore, and maybe you can have an opinion or an idea to improve my project.

I'm sorry for any errors in this text written by me and corrected by the digital translator.
My bad English didn't allow me to notice any mistakes made by him or me.
Attachments
screenshot-tick-18609166.png
screenshot-tick-18609166.png (1.08 MiB) Viewed 3724 times
nullpunkteins
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jul 24, 2019 5:45 pm
Contact:

Re: Smart Train Station - for personal or automated use

Post by nullpunkteins »

Yeah for my last playtrough I wanted something small and compact for fast 1-1-1 trains, so I came up with this.

Already had something for bigger trains in mind. Since I'm on an long modded playtrough I'll for sure build something bigger. I'll have a look on your project in the next days.
nullpunkteins
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jul 24, 2019 5:45 pm
Contact:

Re: Smart Train Station - for personal or automated use

Post by nullpunkteins »

Took a while for my response, but I also got something with me.

I like your thoughts in terms of efficency, splitting things for 5 inserters/chests - I love that... inherited this idea. But its a bit clunky in my opinion ;-). Would be perfect if the requester chests would be cleared after loading.

I made a new version of my build for 1 to 4 cargo wagons:
S1.png
S1.png (2.77 MiB) Viewed 3556 times
Pros:
  • Still exact amounts will be loaded
  • Requester chest overload from bots will be unloaded via train (no filter > everything from requester will loaded, no waiting time if 1 item is not fully available)
  • 2 inserters/requester chests per wagon
  • Items not on list will be unloaded with full stack inserter stack size (every wagon could handle trash)
  • Requester chests will be cleared in the process
  • Same signal colors as before
  • Send signal green to train if everythings ready
  • (Built-in clock with 4sec for inactivity until signal green is sent - needed to prevent signals from flickering, since overload from chests will be unloaded via train)
Cons:
  • Requester chest overload from bots will be unloaded via train
  • No repition of items on constant combinators for different wagons
  • Latecomer bot delivering if everythings loaded (was still an issue in previous builds), makes the train sometimes busy, for a few secs, after it was completely loaded (since overload unloading via train) but it isnt a big issue.
  • (Train overload with items set in combinator will still be unloaded with stack size of 1)
Constant combinators for each wagon besides the power poles:
S2.png
S2.png (1.81 MiB) Viewed 3556 times
I hope someone enjoys this :9

Post Reply

Return to “Combinator Creations”