¿ªÔÆÌåÓý

Locked Panel Block Occupancy


 

Hi All,

I use a PanelPro panel to display block occupancy, with the name of the loco occupying the block added.
Each block has a hardware sensor and that all works fine.

My layout is operated using my own Jython script to dispatch and route the trains.

For sidings, I am considering not having an occupancy detector in the siding, but using the fact that the script knows where it has routed the train to? ( ie which siding ) . so when the previous block sensor goes inactive, I know that the train has then entered the siding. So I can detect its presence in the siding by inference, without the need for a block occupancy hardware detector. But if I do this, is there anyway to show the block as occupied, with the loco name, in the panel. The main application is for a turntable where I do not want to add a hardware detector on each radial track, but just have one for the turntable track.


 

Perhaps you could associate that siding block with an internal sensor (taking the place of a hardware detector¡¯s sensor) that your scripts could set active/inactive as they follow the train.

Bob

On Dec 6, 2018, at 8:55 AM, David Smith via Groups.Io <daversmth@...> wrote:


I use a PanelPro panel to display block occupancy, with the name of the loco occupying the block added.
Each block has a hardware sensor and that all works fine.

My layout is operated using my own Jython script to dispatch and route the trains.

For sidings, I am considering not having an occupancy detector in the siding, but using the fact that the script knows where it has routed the train to ( ie which siding ) . so when the previous block sensor goes inactive, I know that the train has then entered the siding. So I can detect its presence in the siding by inference, without the need for a block occupancy hardware detector. But if I do this, is there anyway to show the block as occupied, with the loco name, in the panel. The main application is for a turntable where I do not want to add a hardware detector on each radial track, but just have one for the turntable track.


 

Yes - thanks - it has been a while since I set the panel but I do seem to remember now something about internal sensors. I presume that would still enable loco name to be stored with the occupied block - and recalled if jmri is closed and restarted ?