Hail factorians!
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.
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?
Conditional Safe Rail Crossing
Re: Conditional Safe Rail Crossing
Can you provide a blueprint string for the crossing?
There are 10 types of people: those who get this joke and those who don't.
Re: Conditional Safe Rail Crossing
Here U go.
Last edited by Koub on Tue Jun 05, 2018 6:54 pm, edited 1 time in total.
Reason: changed spoiler tag to bp tag :)
Reason: changed spoiler tag to bp tag :)
Re: Conditional Safe Rail Crossing
Close the gates if there's yellow anywhere along the way, a train that's stopped hasn't reserved anything.
-
- Fast Inserter
- Posts: 242
- Joined: Fri Jan 05, 2018 8:47 pm
- Contact:
Re: Conditional Safe Rail Crossing
Only stop the player on a yellow signal. In all other cases stop the train instead.
Re: Conditional Safe Rail Crossing
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:
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.
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:
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
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.
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.