Read what is reqested?

Adds new train stops forming a highly configurable logistic network.

Moderator: Optera

Post Reply
Mur
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Mon Feb 11, 2013 3:52 pm
Contact:

Read what is reqested?

Post by Mur »

I might be a bit dense and missing something. But is it possible to read a train and see what request has brought it to the station?

I want to make a station that can support multiple liquids and can read what the train has requested so if the train wants lubricant only the lube pumps activate.

Mur
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Mon Feb 11, 2013 3:52 pm
Contact:

Re: Read what is reqested?

Post by Mur »

I figured out how to do this. The output combinator (the thing beside the lamp) on LTN shows what the incoming train has requested so you can send a signal to the pumps to be activated when a signal is >1

You can do things like this : Image

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2915
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Read what is reqested?

Post by Optera »

See design thread. viewtopic.php?f=214&t=51073#p297643

Under Requester and Provider I've described in length how to get count perfect load and unload signals.
For Fluids requiring only full loads it's even simpler.

mrvn
Smart Inserter
Smart Inserter
Posts: 5682
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Read what is reqested?

Post by mrvn »

If you use "fluid != 0" for the pumps the same programming works for loading and unloading.

Although since 0.17 that is less of an issue as unloading fluids automatically only activates the pumps with the right fluids (or pumps with no fluid specified).

Post Reply

Return to “Logistic Train Network”