开云体育

Locked NCE Accessory Event Monitoring and possibly CS-105 #nce


 

Eric,

You have added new variables with ONESENSOR and DIRECT.

When a xml data file is loaded, the turnouts will have an UNKNOWN state. ?For turnouts using MONITORING, JMRI will request the state from the NCE command station. ?For turnouts using ONESENSOR, the AIU sensor state will be used for the turnout. ?For DIRECT nothing happens.
This is what I see using the NCE Simulator. ?I don't have NCE equipment so I cannot test a real connection.

After starting a PowerPro NCE command station, the accessory decoder table has 2048 bits set to zero. ?Zero is turnout THROWN, one is turnout CLOSED. ?As the command station sees accessory decoder messages, the bits are changed based on the accessory command. ?External changes using push buttons are not detected. ?JMRI checks for changes to the bit map about 4 times a second.

The first click on the DIRECT turnout changes the state from UNKNOWN to CLOSED.

Dave Sand


----- Original message -----
From: "Eric Troup via groups.io" <etroup=[email protected]>
Subject: Re: [jmriusers] NCE Accessory Event Monitoring and possibly CS-105 #nce
Date: Friday, January 10, 2025 7:16 PM

Dave,
?
Setting the conditions of the test as you state if:
1. turnouts configured in Monitoring or One Sensor Mode, the state in the turnout xml table tends to match the physical state - or at least matches the state when system was turned off.
2. turnouts configured in Direct Mode tend to show up as Thrown regardless of their true physical state. Clicking on the turnout icon changes the state to the actual state. Clicking a second time changes the state.?
?
I made a video of the test under condition two but this system says the file is too big to send as an attachment.


 

Though I am not remotely an expert on NCE / JMRI there is a piece of NCE hardware that has not been discussed but might help substantially.
It is my understanding, and soon to be tried plan, a Minipanel would allow local control BUT also coordinate with the Command Station reducing the risk of out-of-sync turnouts. I fully understand it is still inferior to direct turnout monitoring.? It would need some programming for each used input but the Minipanel's 30 inputs has lots of potentially fun applications like yard throat alignments etc.