Hello All,
I use a lift bridge in my layout (bendorsey made a great many of them). They're nifty. They are default "up", and automatically goes down when a train approaches.
That's great. But, I needed to have a signal ahead of the bridge. And when I put a signal in, it will be "always green", since the bridge track is an invisible track "always open". Having a signal sitting there showing green, when the bridge is "up" bothered me exceedingly.
After some great advice in different threads, I started experimenting with invisible junctions and miscellaneous rules in the session script. Wasn't quite what I was looking for.
I finally ended up with this simple solution below. I'm sure someone else has invented this wheel before me, but I thought I'd share it with any newbies anyhow, given the struggle I had figuring this out.
I find the point at which the train will trigger the bridge to go down, this is where I place a trigger (trigger xx) on the track, then a signal (signal xx) ahead of it, and another trigger (trigger xx end) just behind the signal.
Same procedure at the other end of the bridge, for the track heading in the opposite direction. All signals and triggers have to be named (I name them for the direction of the track).
this is how that looks in surveyor: (I just added the signs for this 'show and tell')
then in session rules, I add two "set signal" rules (one for each signal)
I set each signal to "danger", this will cause the signals to show default "always red", which is as it should be as the bridge is default "up"
I then add a "trigger check" with underlying "set signal rule" for each of the triggers:
First trigger check (this one south):
and the underlying (indented) set signal, setting the signal to automatic.
This will cause the signal to turn green when the train approaches the bridge and hits the trigger
next in line is the south END trigger
and the signal rule for that sets the signal back to "danger"
Same procedure for the two northbound triggers.
When I go into driver now, I have...
a signal ahead of the bridge (in either direction) that shows red when the bridge is up and no train is nearby
and a signal that shows green when a train is approaching
And this is how it should be.
Hope this might help somebody. At least I'm a happy camper now.
PS: This only works for a 2-track bridge. Since the trigger is not directional, it will react to trains coming from either direction.
I use a lift bridge in my layout (bendorsey made a great many of them). They're nifty. They are default "up", and automatically goes down when a train approaches.
That's great. But, I needed to have a signal ahead of the bridge. And when I put a signal in, it will be "always green", since the bridge track is an invisible track "always open". Having a signal sitting there showing green, when the bridge is "up" bothered me exceedingly.
After some great advice in different threads, I started experimenting with invisible junctions and miscellaneous rules in the session script. Wasn't quite what I was looking for.
I finally ended up with this simple solution below. I'm sure someone else has invented this wheel before me, but I thought I'd share it with any newbies anyhow, given the struggle I had figuring this out.
I find the point at which the train will trigger the bridge to go down, this is where I place a trigger (trigger xx) on the track, then a signal (signal xx) ahead of it, and another trigger (trigger xx end) just behind the signal.
Same procedure at the other end of the bridge, for the track heading in the opposite direction. All signals and triggers have to be named (I name them for the direction of the track).
this is how that looks in surveyor: (I just added the signs for this 'show and tell')

then in session rules, I add two "set signal" rules (one for each signal)

I set each signal to "danger", this will cause the signals to show default "always red", which is as it should be as the bridge is default "up"

I then add a "trigger check" with underlying "set signal rule" for each of the triggers:

First trigger check (this one south):

and the underlying (indented) set signal, setting the signal to automatic.
This will cause the signal to turn green when the train approaches the bridge and hits the trigger

next in line is the south END trigger

and the signal rule for that sets the signal back to "danger"

Same procedure for the two northbound triggers.
When I go into driver now, I have...
a signal ahead of the bridge (in either direction) that shows red when the bridge is up and no train is nearby

and a signal that shows green when a train is approaching

And this is how it should be.
Hope this might help somebody. At least I'm a happy camper now.
PS: This only works for a 2-track bridge. Since the trigger is not directional, it will react to trains coming from either direction.
Last edited: