Setting up a constantly red rail signal
Posted: Wed Jun 29, 2016 8:58 pm
Good evening, fellow Factorians!
I'm currently trying to set up a multi train system without ugly loops, but I encountered the problem where trains may end up reversed in a station. So I figured out why this happens and came up with a solution but I need to place some constantly red rail signals for it to block certain paths the trains may take. Basically what I'm trying to do is to force the trains to take a specific route to get to a station while theoretically they could take another.
So my first idea was to dump a constant combinator outputting 1A, connect it to the rail signal that's supposed to be constantly red and configure it so that it closes if A = 1 (by 1 I mean the number 1, not the signal 1).
Well, the signals turned red and I was happy. But as soon as a train entered the block the signal is supposed to block (oh god) and then LEFT, the signal turned green again. "Silly signal, your condition is true! You're supposed to stay red while A = 1 (aka for the rest of your life) but you act as if you need your condition to be false and then true again to switch to beautiful red lights again."
Alright, I think I understand why it goes green again and then stays green but I can't think of a way to make it stay red. Any ideas? I thought about having a pulse thingy that flashed A = 0 every 60th circle or so but it's too much work for too less consistency.
Thanks in advance!
Tom
ps: I'm not a native speaker.
I'm currently trying to set up a multi train system without ugly loops, but I encountered the problem where trains may end up reversed in a station. So I figured out why this happens and came up with a solution but I need to place some constantly red rail signals for it to block certain paths the trains may take. Basically what I'm trying to do is to force the trains to take a specific route to get to a station while theoretically they could take another.
So my first idea was to dump a constant combinator outputting 1A, connect it to the rail signal that's supposed to be constantly red and configure it so that it closes if A = 1 (by 1 I mean the number 1, not the signal 1).
Well, the signals turned red and I was happy. But as soon as a train entered the block the signal is supposed to block (oh god) and then LEFT, the signal turned green again. "Silly signal, your condition is true! You're supposed to stay red while A = 1 (aka for the rest of your life) but you act as if you need your condition to be false and then true again to switch to beautiful red lights again."
Alright, I think I understand why it goes green again and then stays green but I can't think of a way to make it stay red. Any ideas? I thought about having a pulse thingy that flashed A = 0 every 60th circle or so but it's too much work for too less consistency.
Thanks in advance!
Tom
ps: I'm not a native speaker.