¿ªÔÆÌåÓý

Locked How do you get the Turnouts and Signal heads to update on loading a Panel File?


 

After opening a panel file to get the settings on the turnouts and signals to properly display and the signals to start working.

The logic is correct and I have to run and engine on the blocks to activate the logic, then everything works fine.

Noticed if you run a script "Set Turnouts to Close" it fixes that part.

I need some suggestions.

Dennis


 

Dennis,

Depending on the command station you have, it may not be possible. What is
your layout connection type? We can tell you if it can ask for that status
without having to move everything.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org


 

This is usually a problem that when you start your system all the feedback sensors will be shown as 'Unknown' and this is taken as 'Occupied' for the benefit of setting signal logic and LOGIX. As soon as any of the sensors change state then they will start to populate the sensor table as the correct state (which for the most part will be 'Unoccupied') and things start working.

As you have found the easiest answer is usually to run a train round to trigger all of the feedback modules to transmit their state to the command station.


 

On Tue, Nov 26, 2019 at 12:59 PM, Suzie Tall wrote:
when you start your system all the feedback sensors will be shown as 'Unknown'
There is a script shipped with JMRI that should address this.?SetAllUnknownSensorsToInactive.py


 

My problem was the Turnout Information was "Unknown" because I am using dual coil switch machines and they do not have feedback.
My Sensor and Signal logic was fine but nothing would display until the turnout positions are determined.
So I used "SetAllTurnoutsToClose" and then did a GPON off and on.
Everything then displayed correctly.

Have it all setup in the Startup of JMRI.


 

Note: You don't have to do the off, just the GPON will trigger reading known
statuses. So clicking the 'on' in the power control will do the job. There
is a simple script, PoweOn.py, it will trigger the GPON for LocoNet.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org


 

My Command station is already on, so I have to turn it off then back on to get the new loco-net data.
You are correct if the Command station is off before loading the startup file.

Dennis