开云体育

Locked Feedback to Panel for NCE throttle commands


 

开云体育

My apologies to the group, because I think this was answered to someone else a very short time ago, but I can not find the email and accompanying information.

I have a JMRI Panel set up to control the layout and monitor occupancy via locoNet. ?If I click on a turnout on my computer to throw a switch, the position on the panel is always consistent with the turnout. ?My DCC system is NCE, and stationary decoders for tortoise machines are NCE SwitchIt and Switch8 decoders. ?If someone using their throttle throws a switch or if they use a layout/fascia push button to change the orientation of the switch it does not show the change on the panel. ?Is there a way to manage this other than adding AIU boards for feedback?

Thomas Cain
Indianapolis, IN
atsf93@...
See my?
NEW website?and layout?at: ?
Modeling the Eastern Illinois?Santa Fe from the Prototype


 

开云体育

Thomas,

On 17 Sep 2019, at 4:15 AM, Tom Cain <atsf93@...> wrote:

I have a JMRI Panel set up to control the layout and monitor occupancy via locoNet. ?If I click on a turnout on my computer to throw a switch, the position on the panel is always consistent with the turnout. ?My DCC system is NCE, and stationary decoders for tortoise machines are NCE SwitchIt and Switch8 decoders. ?If someone using their throttle throws a switch or if they use a layout/fascia push button to change the orientation of the switch it does not show the change on the panel. ?Is there a way to manage this other than adding AIU boards for feedback?

If you have an NCE Power Pro system, you can set Turnout Feedback Mode to MONITORING and your JMRI panel will be updated by NCE throttle or Mini Panel commands.

Unfortunately the NCE Power Pro and hence JMRI cannot directly monitor local pushbuttons connected directly to DCC accessory decoders. For that case, You need to use the Tortoise contacts and an AIU.

<>

Dave in Australia




 

开云体育

Dave,

I’m not sure from your note as to where Monitoring is done, JMRI or NCE.

I saw this in the link you provided:
MONITORING
Default for LocoNet and XPressNet turnouts, this means the network is monitored for messages about the status of the turnout. This mode is only available for certain protocols, i.e. some protocols can't do the monitoring properly, and don't have this choice.?
If selected for the NCE Powerhouse Pro (only), it will monitor the last known state change of this turnout made by the command station (on request from a cab, macro, JMRI or Mini Panel).

My DCC command station is the NCE PH Pro 5 amp system not the NCE Powerhouse Pro, so does that mean I don’t have the?capability to monitor the turnouts thrown from the Hammerhead throttle?

I just looked through my NCE Owners Manual and did not find anything about Monitoring.

Thomas Cain
Indianapolis, IN
Modeling the Eastern Illinois Santa Fe from the Prototype
See my?NEW?website and layout at: ?

On Sep 16, 2019, at 6:24 PM, Dave Heap <dgheap@...> wrote:

Thomas,

On 17 Sep 2019, at 4:15 AM, Tom Cain <atsf93@...> wrote:

I have a JMRI Panel set up to control the layout and monitor occupancy via locoNet. ?If I click on a turnout on my computer to throw a switch, the position on the panel is always consistent with the turnout. ?My DCC system is NCE, and stationary decoders for tortoise machines are NCE SwitchIt and Switch8 decoders. ?If someone using their throttle throws a switch or if they use a layout/fascia push button to change the orientation of the switch it does not show the change on the panel. ?Is there a way to manage this other than adding AIU boards for feedback?

If you have an NCE Power Pro system, you can set Turnout Feedback Mode to MONITORING and your JMRI panel will be updated by NCE throttle or Mini Panel commands.

Unfortunately the NCE Power Pro and hence JMRI cannot directly monitor local pushbuttons connected directly to DCC accessory decoders. For that case, You need to use the Tortoise contacts and an AIU.

<>

Dave in Australia





 

Tom,

PH Pro and PowerHouse Pro are just a slight name change that happened along
the years. Key difference is it is a big black box with a serial 9 pin port
and not something you use the NCE USB interface to connect. It uses a normal
serial interface to the computer. That version is totally different
internally (memory) from the PowerCab, SB5, Twin type systems. These last
ones are the ones that didn't track the turnout requests like the big box
did.

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


 

开云体育



Thomas,

On 17 Sep 2019, at 12:10 PM, Tom Cain <atsf93@...> wrote:

I’m not sure from your note as to where Monitoring is done, JMRI or NCE.

The NCE command station monitors the last-commanded state of each of the 2048 possible accessory addresses and stores that in non-volatile memory.

This covers throttle commands, NCE macros, Mini Panel commands and JMRI commands via the serial interface.

When you select MONITORING in JMRI, JMRI regularly checks the contents of that table and updates panels.

My DCC command station is the NCE PH Pro 5 amp system not the NCE Powerhouse Pro,

Same product. NCE changed the name!

so does that mean I don’t have the capability to monitor the turnouts thrown from the Hammerhead throttle?

You are good to go.


I just looked through my NCE Owners Manual and did not find anything about Monitoring.

You will find a subtle reference in the manual:

CONTROLLING TURNOUTS AND OTHER ACCESSORIES

NOW= NORM or REV - The command station keeps a database of the last accessory
(turnout) commands sent for all accessory addresses. The bottom line of SELECT ACCY
prompt on the Pro Cab LCD reflects the current status of the accessory.

A convenience feature has been added. Pressing SEL ACCY twice at the SEL ACCY
prompt will toggle (reverse) the position of the current accessory.

That's all. We know the memory address of that table and JMRI can read it and utilise the contents.

Dave in Australia


 

开云体育

Dave,

Where do I select Monitoring in JMRI? ?Is it a drop down menu item? ?In my turnouts table I see a ‘check box' called “show feedback information” but it did nothing. ?I’m guessing that this is for connections with an AIU board. ?

The reference in the manual on CONTROLLING TURNOUTS AND OTHER ACCESSORIES describes how I have been using the hammerhead to set turnouts on the layout for years, but using it in that manner does not provide any change to the Panel Pro Panel. ?Yes, it shows what happened on the LCD readout of the hammerhead throttle but not the Panel Pro Panel.

I’m confident that you’ll get me there most likely in the next email. ?:-)

Thomas Cain
Indianapolis, IN
Modeling the Eastern Illinois Santa Fe from the Prototype
See my?NEW?website and layout at: ?


 

Thomas,

On 17 Sep 2019, at 1:46 PM, Tom Cain <atsf93@...> wrote:

Where do I select Monitoring in JMRI? Is it a drop down menu item? In my turnouts table I see a ‘check box' called “show feedback information” but it did nothing.
You're nearly there. That checkbox should add some extra columns to the table. The ones you are most interested are Feedback and Mode.

For each and every Turnout in the table, (in the MODE column) you need to select MONITORING.

As you do each one, the "Unknown" in the Feedback column should change to the state as known to the Power Pro.

Don't forget to save your panel after making these changes.

Dave in Australia


 

开云体育

Dave,

That worked! ?Thanks, that additional functionality is so very much appreciated. ?I do not allow operators to use Hammerhead throttles in Op Sessions for the reason that I could not see their switching activity on the screen, but my support crew often used controllers for turnouts in staging and I had to rely on their memory and cooperation in using their controllers. ?Now they can do some of their work and I or the dispatcher will be able to see track alignments. ?This is so cool!

I do have a couple of questions. ?Am I giving up anything by changing from Direct to Monitoring in the Mode setting on the Turnout table?

And, where were the instructions on this function in the JMRI website? ?If I can find my way there, maybe I’ll discover some other cool features.

Thanks again for your help with this and your patience in getting me there.

Thomas Cain
Indianapolis, IN
Modeling the Eastern Illinois Santa Fe from the Prototype
See my?NEW?website and layout at: ?


 

开云体育

Thomas,

On 18 Sep 2019, at 5:00 AM, Tom Cain <atsf93@...> wrote:

I do have a couple of questions. ?Am I giving up anything by changing from Direct to Monitoring in the Mode setting on the Turnout table?

No.

However, any monitoring system increases traffic between JMRI and your Command Station.

An alternative, the use of on-turnout sensors and AIUs not only increases cost, wiring complexity and?traffic between JMRI and the command station but also increases NCE cab bus traffic.


And, where were the instructions on this function in the JMRI website? ?If I can find my way there, maybe I’ll discover some other cool features.

The only ones I know of are at the link I initially gave you:
<>

Dave in Australia



 

开云体育

Right, that was the link that I went to, but it just wasn’t all sinking in. ?Your explanations were very helpful.

Thomas Cain
Indianapolis, IN
atsf93@...
See my?
NEW website?and layout?at: ?
Modeling the Eastern Illinois?Santa Fe from the Prototype

On Sep 17, 2019, at 6:13 PM, Dave Heap <dgheap@...> wrote:

Thomas,

And, where were the instructions on this function in the JMRI website? ?If I can find my way there, maybe I’ll discover some other cool features.

The only ones I know of are at the link I initially gave you:
<>

Dave in Australia



 

One other little gremlin I have noticed when using Monitoring, is that an external poll of the switch status may cause an incorrect state to be displayed on a Layout Editor Panel for turnouts marked as INVERTED in the Turnout table.

I use an RRCirKits TC64 on LocoNet to control switch machines. When I enable track power on the DCS100 it does a poll of the known switches on LocoNet. The TC64 responds with the switch statuses. When PanelPro sees these responses on the LocoNet it updates the display on my Layout Editor Panel. However for any turnouts which have INVERTED set in the turnout table now display the opposite to how they set are on the layout. I think the INVERTED flag is not being applied to the response coming back from LocoNet. I cannot remember if it also happened when the handheld throttles were used to throw Inverted switches. This was not important until I started running auto trains when now the state JMRI thinks the switches are in has became critical. This may be a BUG in JMRI or could be due to my idiosyncratic system.

I avoided the problem by inverting the turnouts in the TC64 rather than the JMRI turnout table.

MacOS, DCS100, TC64, JMRI 4.15.x, and 4.17.1-4

Cheers
Don McGilvery


 

开云体育

I’ll watch for that. ?The only places where I could anticipate this would be in staging where some turnouts were oriented other than normal. ?But in NCE the system relies more on what I tell it is happening instead of looking at, “Is this a Left or Right turnout?”

Thomas Cain
Indianapolis, IN
atsf93@...
See my?
NEW website?and layout?at: ?
Modeling the Eastern Illinois?Santa Fe from the Prototype

On Sep 18, 2019, at 4:58 AM, Don <donmcgil@...> wrote:

One other little gremlin I have noticed when using Monitoring, is that an external poll of the switch status may cause an incorrect state to be displayed on a Layout Editor Panel for turnouts marked as INVERTED in the Turnout table.

I use an RRCirKits TC64 on LocoNet to control switch machines. ?When I enable track power on the DCS100 it does a poll of the known switches on LocoNet. ?The TC64 responds with the switch statuses. ?When PanelPro sees these responses on the LocoNet it updates the display on my Layout Editor Panel. ?However for any turnouts which have INVERTED set in the turnout table now display the opposite to how they set are on the layout. ?I think the INVERTED flag is not being applied to the response coming back from LocoNet. ?I cannot remember if it also happened when the handheld throttles were used to throw Inverted switches. ?This was not important until I started running auto trains when now the state JMRI thinks the switches are in has became critical. ?This may be a BUG in JMRI or could be due to my idiosyncratic system.

I avoided the problem by inverting the turnouts in the TC64 rather than the JMRI turnout table.

MacOS, DCS100, TC64, JMRI 4.15.x, and 4.17.1-4

Cheers
Don McGilvery