Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: Supporting turnouts with feedback compatibility
Thanks for the advice on how to wire switches folks though completely irrelevant to OP, he is using servo position events for Turnout feedback, no switches involved.
MERG CBUS servo modules can send an event when the servo
An issue with JMRI Layout Editor logic which deals with supporting Turnout feedback ( for any hardware type ) has been confirmed with a fix uploaded. No more posts about switches required thanks, Steve. |
Locked
Re: Engine Only Responds to Short Address
Concur with Thomas on the QSI opinion.?? I remove QSI decoders when I encounter one.?? I do DCC installs for others and I won't touch them.? Too problematic, time consuming, and fickle.??? I had one loco that came back to me 3 times, with the complaint that it wouldn't respond to commands on the individuals NCE layout, but when I placed it on my Digitrax layout ran like a champ.
|
Locked
Re: Supporting turnouts with feedback compatibility
Yes Dave, that is exactly how I have always wired the feedback for points and when I get to wiring for JMRI will continue to do so.
Tony https://ozfreemo.com |
Locked
Re: Engine Only Responds to Short Address
In our club, QSI was notorious for this. Even with DC off, still happened.
Someone puts a steam Lok on the layout (Beep, Beep, shorts) and any QSI decoder is scrambled. Sometimes a reset did not bring that decoder back to life. I Picked up sis QSI equipped Loks from an estate. They all have a new decoder. Surprised this happened to a Tsunami. Never had that happen to Tsunami at the club. Thomas DeSoto, TX? |
Jerry,
toggle quoted message
Show quoted text
It is not possible to set Unknown directly, but you can indirectly using a script action: IX:AUTO:0001C1 C1 [x] R1 IF Sensor "DOIT" state is "Sensor Active" THEN On Change To True, Execute Jython Command Jython Command sensors.getSensor('XYZ').setKnownState(UNKNOWN). Dave Sand On Jul 31, 2019, at 10:55 PM, JerryG via Groups.Io <jerryg2003@...> wrote: |
A month ago I posted and got no response. ?Do any of the Logix experts or developers out there have any thoughts on my post:
My first try at LOGIX...I'm trying to set up a LOGIX to check a sensor for being Inactive for x seconds and then set it to Unknown.? I see how to check the sensor, but I don't see how to set it to Unknown (only see how to set to Active or Inactive).? Also, I see Delayed Set but that isn't what I want:? I want to check how long it has been in a certain state already and then set it to another state.? Can I do this?? Similarly, if the sensor is in the Inconsistent state for y seconds, I want to set it to Unknown. I know how to do this with a script.? Trying to see if I can do it more easily (or at all) with LOGIX. Thanks, Jerry ___________________________________ jerryg2003@... |
Locked
Re: Versions 4.16 & 4.17
Mike,
On 1 Aug 2019, at 12:22 AM, Mike Heintzman <mikeheintzman@...> wrote:- When JMRI opens, it looks for a "roster.xml" file in the "Roster Location" (refer Help->Locations). This purportedly contains an index of all ".xml" files in the "roster" folder at "Roster Location" and any attached image files. - The "Roster Location" is usually the same as "User Files Location" and can be specific to every profile/machine or shared or any combination thereof. - In earlier versions of JMRI, roster image files were stored in the "resources" folder in "User Files Location". Roster entries created by current JMRI versions copy the image files into the "roster" folder. - Rebuild Roster Index writes a new "roster.xml" for the associated "roster" folder. - If you've changed the "User Files Location"/"Roster Location" for all profiles/computers to OneDrive/Dropbox (as I have) there should be only one "roster.xml" file and "roster" folder being used by all your profiles. (There may be empty/unused copies in "Profile Location" from before you switched.) - The presence or absence of a ".jmri" extension on a profile doesn't matter. For consistency's sake I added ".jmri" to all my old profile folder names, but there's no need to. - The icon/image behaviour you are seeing may be because you have all/some images in a non-shared "resources" folder on some profiles/machines. This can be cured by making sure all profiles/machines are using a shared "User Files Location" (usually the same as "Roster Location") and putting the "resources" folder there (i.e. at the same level as the "roster" folder and "roster.xml". <> <> Dave in Australia |
Locked
Re: Supporting turnouts with feedback compatibility
On Wed, Jul 31, 2019 at 02:11 PM, Nigel wrote:
For those that want to follow along: -- Peter Ulvestad JMRI Users Group Moderator - ( ) Tam Valley Group Moderator - ( ) Sprog-DCC Group Moderator - ( ) Edmonton Model Railroad Association - |
Locked
Re: Engine Only Responds to Short Address
Nick
Bob, Since I don't know the circumstances prior to the loco not responding to the 4-digit address, I will make some observations based on personal experiences with Digitrax DCC systems . This is not anti-Digitrax, only observations based on my own system. I have experienced this with early decoders and the main cause was usually because I have analog (DC) operation enabled in the decoder. When a short circuit occurs, with MY Digitrax system, I have seen decoders revert back to 2-digit addresses . This is because MY Digitrax system puts out garbage data when it attempts to recover from a short. This has been verified with a LOT of testing and the use of an oscilloscope to determine the problem. The problem is caused by a harmonic distortion in the DCC signal . It happens more frequently when several locos are active (on sidings or live trackage), but not always. It definitely happens more frequently when the decoder has analog enabled. It makes little difference whether the decoder is ancient, as my original Soundtraxx version 1 decoder, or more recent releases. The only decoder I have not seen this happen with is (of the ones that I use), the TCS family. The decoders I have seen this happen are QSI (all versions from OEM to Titan, Soundtraxx, Lenz, and Digitrax. One of the most frequent "results" is having a loco go into Mach 4 after the short circuit as a result of the wonky DCC signal produced during the Command Station's recovery. This problem seems to be unique to Digitrax as I have never seen it happen on any of the many other types of systems I operate on. You might want to make sure that your command station have address 0 disabled. That helps reduce the problem. I hope this helps, Nick Kulp "I'm not a failure. I started at the bottom and I found it easily attainable. Life is too short to set unattainable goals" - Nick Kulp
On Wednesday, July 31, 2019, 04:56:44 PM EDT, Bob McClain via Groups.Io <mcclainbob55@...> wrote:
OK, this is strange.? I know stuff happens.? I put my engine(Walthers Proto GP-60) on an isolated programming track and started DP.? I went in and read CV 29 and lo and behold it was 2.. It was supposed to be 34.? So I changed it and the engine responded properly to its 4-digit address with both WiThrottle Lites and Digitrax DT-500 throttle.? Is possible that CV 29 spontaneously changed?? Yesterday I was running engine with WiThrottle Lite and the DT-500 when it quit responding to 4-digit address.? Is it possible the decoder(factory installed tsunami) is failng?? Thanks for any responses. Bob |
Locked
Re: Supporting turnouts with feedback compatibility
While you could rewire the usual position indicating switches in series to AND them, I'd recommend keeping all turnout wiring the same, and using logic, either hardware or better yet, software, to combine the two outputs so both turnouts need to be in their end positions to make the position indicator true. Of course, if one machine is moving both sets of points, its position switch(es) are all the feedback needed for both. Then, logic or logix could make a slave set of signals for the second turnout's position. Don Weigt Connecticut |
Locked
Re: Engine Only Responds to Short Address
OK, this is strange.? I know stuff happens.? I put my engine(Walthers Proto GP-60) on an isolated programming track and started DP.? I went in and read CV 29 and lo and behold it was 2.. It was supposed to be 34.? So I changed it and the engine responded properly to its 4-digit address with both WiThrottle Lites and Digitrax DT-500 throttle.? Is possible that CV 29 spontaneously changed?? Yesterday I was running engine with WiThrottle Lite and the DT-500 when it quit responding to 4-digit address.? Is it possible the decoder(factory installed tsunami) is failng??
Thanks for any responses. Bob |
Locked
Re: Supporting turnouts with feedback compatibility
Hi Peter/Bob
Many thanks. I have produced a worked example panel showing the problem and created an issue on github and uploaded the panel with it. Nigel |
Locked
Re: Supporting turnouts with feedback compatibility
Most of these responses are doing nothing to help the OPs problem. Please try and stick to the topic.
Nigel, As Bob J. has suggested, create an issue in github and upload your panel for a developer to review. -- Peter Ulvestad JMRI Users Group Moderator - ( ) Tam Valley Group Moderator - ( ) Sprog-DCC Group Moderator - ( ) Edmonton Model Railroad Association - |
Locked
Re: Supporting turnouts with feedback compatibility
I understood that error condition was defined by the poster as the "unknown" situation, not the the "inconsistent" situation. If the turnout doesn't have a known safe settling time, presumably defined in JMRI so as not to to act before the prior to acting required status is correctly settled, something has already gone wrong.
Andy On 7/31/2019 7:38 AM, Bob Jacobsen wrote: On Jul 31, 2019, at 7:20 AM, Andy Reichert<andy_r@...> wrote:If you always knew that the points are going to get to their commanded end point in a certain time, you wouldn¡¯t need feedback hardware. People install feedback hardware (in part) to catch the case where the turnout is still in an inconsistent state after that ¡°safe settling time¡±. --- This email has been checked for viruses by AVG. |
Locked
Re: Supporting turnouts with feedback compatibility
This is not prototypical, but it works and is fairly simple. When I have a configuration that requires multiple turnouts I arrange the feedback so that it is wired through all of the switch contacts. For instance, I have a three track staging yard on my layout. To get to track 3 in that yard, you only go through turnout 1 when it's normal, so I wire my common return (- in this case) to the common terminal on the Tortoise (the brand of switch motor I'm using for this). The terminal that closed in the normal position goes to input 3.
If the turnouts are lined for track 2, then turnout 1 is reverse and turnout 2 is reverse. The contact for turnout 1 reverse is connected to the common on turnout 2. Then the contact for turnout 2 reverse if connected to input 2. Similarly, the contact for turnout 2 normal is connected to input 1. The logic is all taken care of in the turnout contacts. Therefore, I have three inputs, one for each track. When input x is active, I know that the ladder is lined for track x. Something similar could be applied to your crossover. Tim Rumph Lancaster, SC |
Locked
Re: Supporting turnouts with feedback compatibility
¿ªÔÆÌåÓýNigel,Try thinking through the problem as a switch position problem and not JMRI. You have two switches, one at each end of the throw bar fitted to both turnouts. You will only have a condition where power is fed to the indicator when both turnouts have fully completed their travel. Let¡¯s call the two turnouts A and B. You select the crossover and if both points are wired from the same supply then both will start to move. As soon as A throw bar starts to move power to the straight through indicator is cut - we go onto the inconsistent state. ?The same is happening to turnout B. Whichever throwbar completes its travel first will cause the second switch to switch power not to the indicator but to the other turnouts second switch. It is only when the slower turnouts bar is fully across will the circuit to the indicator be made. You must have an indication from both turnouts to form the indication that the crossover is set ready to use. It does not matter which turnout moves first they are both wired the same. Both must be fully over to trigger the indicator. It¡¯s a wiring problem/solution to a logic problem rather than a JMRI problem because it relies upon the physical position of the turnout and not logic. Dave - Dave On 31 Jul 2019, at 16:40, Nigel <nigel@...> wrote:
|
Locked
Re: Supporting turnouts with feedback compatibility
Since something like that Really Should Work, if you open a new Issue at GitHub ( ) and attach your panel file (might have to add .txt to the name) and instructions for how to recreate the problem, somebody will probably take a look at it pretty quickly.
Bob On Jul 31, 2019, at 8:40 AM, Nigel <nigel@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Supporting turnouts with feedback compatibility
Hi Dave
From what I think you are saying is that the feature of supported turnout (eg crossover) with full feedback does not actually work in JMRI. Logically it could work if the code was sufficiently complicated but not in the current release. Is there a development to address this ? Nigel |
Locked
Re: Supporting turnouts with feedback compatibility
¿ªÔÆÌåÓýNigel,From what you have said there could be a conflict. If both turnouts are powered as one and work as one then you only need an input from one turnout for the actual crossover route because it is common to both. The sensors for the straight through routes are only dependant on the position of their own throw bar. Logically, you need an input from both turnouts when both are correctly set to give an indication that the crossover route is set but by using both you set up a possible error condition whilst one is set and the other is still changing but one indication can come from both turnout position indicators and combined as one. Both inputs are required to give one output. Dave - Dave On 31 Jul 2019, at 15:23, Nigel <nigel@...> wrote:
|
Locked
Re: Supporting turnouts with feedback compatibility
On Jul 31, 2019, at 7:20 AM, Andy Reichert <andy_r@...> wrote:If you always knew that the points are going to get to their commanded end point in a certain time, you wouldn¡¯t need feedback hardware. People install feedback hardware (in part) to catch the case where the turnout is still in an inconsistent state after that ¡°safe settling time¡±. Bob -- Bob Jacobsen rgj1927@... |
to navigate to use esc to dismiss