开云体育

How to Identify Turnouts Activated by An Allocated Section #dispatcher #logixng


 

I have turnout controls (QuadLN_S) that use an auxiliary turnout address to lock out local fascia control.
These are locked when I run the layout in CTC mode (unlock by dispatcher with local crew request).
?
Now, when I run an ops session in ABS, I plan at least one passenger run in the schedule driven by JMRI Dispatcher.
I'd like to write LogixNG code that will activate the auxiliary turnout addresses when turnouts are allocated on a transit.
My issue is how to determine the turnouts allocated on the transit run.
Is there some object that listens for turnout allocation from Dispatcher?
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu
Blog: ?
Youtube:


 

Ken,

The simple approach is to use a LogixNG CSV table that maps a transit name to the turnouts in the transit. ?When the transit is active while in ABS mode, the locks are enabled.

Dave Sand


----- Original message -----
From: "Ken Heywood via groups.io" <kheywood=[email protected]>
Subject: [jmriusers] How to Identify Turnouts Activated by An Allocated Section #dispatcher #logixng
Date: Friday, March 07, 2025 9:18 PM

I have turnout controls (QuadLN_S) that use an auxiliary turnout address to lock out local fascia control.
These are locked when I run the layout in CTC mode (unlock by dispatcher with local crew request).
?
Now, when I run an ops session in ABS, I plan at least one passenger run in the schedule driven by JMRI Dispatcher.
I'd like to write LogixNG code that will activate the auxiliary turnout addresses when turnouts are allocated on a transit.
My issue is how to determine the turnouts allocated on the transit run.
Is there some object that listens for turnout allocation from Dispatcher?
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu
Blog: ?
Youtube:


 

That’s right. I’d need to map turnout to lock address anyway. My transits usually start with an allocation hold sensor so the transit is running but the route might not be allocated yet. How to determine if route has been allocated?
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu
Blog: ?
Youtube:


 

Ken,

A route is not allocated, sections are.
So maybe the CSV table is a map of sections and the turnout locks within a section.



----- Original message -----
From: "Ken Heywood via groups.io" <kheywood=[email protected]>
Subject: Re: [jmriusers] How to Identify Turnouts Activated by An Allocated Section #dispatcher #logixng
Date: Friday, March 07, 2025 10:33 PM

That’s right. I’d need to map turnout to lock address anyway. My transits usually start with an allocation hold sensor so the transit is running but the route might not be allocated yet. How to determine if route has been allocated?
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu
Blog: ?
Youtube:


 

My transits mostly run to safe sections so in my mind it’s a route. I know, wrong terminology. Thanks for the clues.
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu
Blog: ?
Youtube:


 

Hi
Transit->Section (FWD/REV/FREE)->Block->layblock->Switchs->KnownState/State.
Steve G.


On Sat, 8 Mar 2025 at 00:09, Ken Heywood via <kheywood=[email protected]> wrote:
My transits mostly run to safe sections so in my mind it’s a route. I know, wrong terminology. Thanks for the clues.
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu
Blog: ?
Youtube: