Hey peeps, I have a question.
I'm trying to figure out if I can make fluid trains load and unload at the same station using some circuit logic.
So far I've come up with the idea to:
- Check if the train arrives full or empty (U or L respectively in signals, U for unload a full train, and L for load an empty train)
- Store that so that it doesn't matter if the conditions vary later on.
- Enable/ Disable the pumps based on the signals.
3a. When the U signal is present, enable the pumps pointing away from the train.
3b. When the L signal is present, enable the pumps pointing into the train - When the train reaches the "end" condition (0 for unloading, and 125k for loading) send a green signal to the train so it can leave again.
However, Either my system keeps reversing itself, never giving the train the signal. Or only the unload portion works.
It's a mess so far, but here's my setup from the image
- F AND R output U
- D AND L output GREEN
- (memory) U > 0 output 1 U
- (Memory) L > 0 output 1 L
- [Liquid Type] > 0 output 1 U
- [Liquid Type] = 0 output 1 L
- [Liquid Type] > 124.000 output 1 R
- U > L output 1 D
9 L > R output 1 F
- Pumps facing out: D > 0
- Pumps facing in: F > 0
Train station (second image)
I might have built a frankenstein that doesn't work 😅
Help please?
Note: my letters were thought of as:
D - "Drain"
F - "Fill"
U - "Unload"
L - "Load"
R - "Reset"
