I have quite big base with lots of trains and lots of rails.
Since i get smashed by runnig train almost daily, i've made some safe crossings across my base.
train.jpg (491.42 KiB) Viewed 4057 times
Pedestrian gates are connected to rail signals and set to open if Green =1
Train gates are connected to same signals and open if Green =/= 1.
Works like a charm.. but..
There is a place near one of the stations where trains are stopped for a while. Like in the screenshot.
And the time they are stopped varies (Depends on demand of items [RCU in this case ].
Sometimes it takes seconds, more often tens of seconds..
I should be able to cross track safely despite a train staying close to a crossing.
Any circuit magick to solve this problem?
Re: Conditional Safe Rail Crossing
Posted: Tue Jun 05, 2018 6:11 pm
by Jap2.0
Can you provide a blueprint string for the crossing?
Close the gates if there's yellow anywhere along the way, a train that's stopped hasn't reserved anything.
Re: Conditional Safe Rail Crossing
Posted: Wed Jun 06, 2018 2:09 am
by Hedning1390
Only stop the player on a yellow signal. In all other cases stop the train instead.
Re: Conditional Safe Rail Crossing
Posted: Mon Jun 11, 2018 12:41 pm
by Szpak
Thanks for responses but this yellow light trick just doesnt work like I want it to work.
I want a player gate to be always closed if there is an incoming train but to be open if train has stopped on a chain signal before a gate.
I thought, that maybe i could use something like this:
train.jpg (436.31 KiB) Viewed 3840 times
But now I have some issues, since my circuit knowledge is still in development
1) How to reset arithmetic combinators back to 0 when the input changes to green? Cause now they are counting endlessly.
2) How to make a delay for those two deciders, because i want signal "O" only when a train has stopped, so like half a second would be OK.
Re: Conditional Safe Rail Crossing
Posted: Sat Jun 16, 2018 2:58 pm
by Kalamel
Try connect Green wire (gw) from rail signal to decider, named it D1. Connect Red wire (rw) between input and output of D1. Set D1 condition to ['RED' > 0] with output ['RED' = input].
Place gw between output of D1 to another decider (D2). Set D2 ['RED' > 30] then [O = 1]
That should work, right? Only I don't like about it is that 'RED' in D1 will continuously increase til a train pass before reset.