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
WiThrottle protocol issue at low speed steps
#withrottleserver
#enginedriver
JMRI v5.6
ED v2.37.187
CS DR5000
Linux Mint 21
?
Some time ago I wrote a Python program that acted as a throttle, communicating with JMRI. It worked fine but recently I noticed an anomaly when commanding very low speed steps. Then I verified that the same behavior is observed when using Engine Driver. So I'm thinking that the issue is on the server side.
?
The problem is that when incrementing speed steps by 1 (out of 128) the actual speed step sent to the command station jumps from zero to 16 as soon as the request changes from 0 to 1. It remains at 16 until speed step 6 is requested at which point it changes to 17. Subsequent steps upward result in expected behavior, i.e. monotonically increasing by one although off by 11 with respect to what is requested. In the reverse direction the commanded value sticks at 16 as I step down from 6 to 5, changing to zero only when zero is requested. If I were in 28 step mode then the first step would be 16. So it looks like the system acts like it's in 28 step mode for the first step and then 128 thereafter.
?
The behavior can be observed by monitoring Loconet as shown below. The request was being changed by one each time in this example.
The requests for values 2 through 5 don't even show up.
?
07:29:40.806: [A0 02 10 4D] ?Set speed of loco in slot 2 to 16. Request SS 1 of 128 (from 0)
07:29:46.336: [A0 02 11 4C] ?Set speed of loco in slot 2 to 17. Request SS 6 07:29:47.343: [A0 02 12 4F] ?Set speed of loco in slot 2 to 18. Request SS 7, etc. 07:29:48.370: [A0 02 13 4E] ?Set speed of loco in slot 2 to 19. 07:29:49.212: [A0 02 14 49] ?Set speed of loco in slot 2 to 20. 07:29:51.265: [A0 02 15 48] ?Set speed of loco in slot 2 to 21. 07:29:53.471: [A0 02 14 49] ?Set speed of loco in slot 2 to 20. 07:29:54.959: [A0 02 13 4E] ?Set speed of loco in slot 2 to 19. 07:29:55.970: [A0 02 12 4F] ?Set speed of loco in slot 2 to 18. 07:29:56.954: [A0 02 11 4C] ?Set speed of loco in slot 2 to 17. Request SS 6 07:29:57.827: [A0 02 10 4D] ?Set speed of loco in slot 2 to 16. Request SS 5 (lower values ignored until 0) 07:30:02.515: [A0 02 00 5D] ?Set speed of loco in slot 2 to 0.?? Request SS 0 ?
A JMRI throttle in 128 step mode works properly. Of course in that throttle I can specify 128 ss mode directly and the Loconet log verifies that state. When using ED I don't appear to have the option of specifying 128 ss mode. I guess the server has to infer it. The log shows 28 ss mode, even though ED is sending 128 steps and the server seems to figure it out when I get to step 6. But still the log doesn't show 128 ss mode at that point.
?
Clues would be appreciated.
?
Thanks
George |
|
Locked
Re: Number of cars on layout
#operationspro
I'm still trying to figure this one out.
?
I'm woefully short of cars so far, but I'm finding I need many more than I thought I did. For example, I have a refinery with loading rack spots for 16 cars, I have about 10 other spots scattered around the layout, with ten or twelve more to come (not counting staging).
?
I currently have 31 tank cars on the layout.?
?
I had six empties in the yard for OperationsPro to move to the loading racks at the last session. I'm going to need a LOT more tank cars! When I start using custom loads (kerosene, gasoline, light machine oils, asphalt, heavy residuals, etc.) I suspect that will balloon even more.
?
I'll know I have enough when the refinery begins receiving and shipping capacity cuts of cars (14-16 per session). I'm betting that will be pushing a total of 100 cars. |
|
Locked
Re: Atlas Decoder
I'm using my house computer and jmri with a pr3 On Wed, Oct 23, 2024, 7:16 AM Ross Kudlick via <Ross_Kudlick=[email protected]> wrote:
|
|
Locked
Re: path speeds between signal masts
Andy, Have you looked at the JMRI system console? ?Have you tried looking at the NCE Command Monitor? Dave Sand ----- Original message ----- From: Andy Keane <andy.keane@...> Subject: Re: [jmriusers] path speeds between signal masts Date: Wednesday, October 23, 2024 1:54 PM Dave (and others) Thanks for all the input, I think I have what I now need by adding some hand coded logic to set the distant signal to what I want. I have however hit a very odd issue. On one particular block when the signal is against the train the dispatcher sets the speed to zero but this instruction fails to make it to the loco - its only on one particular block though and seems repeatable. Is there any way that you can think off that dispatcher would set zero speed, the auto control window shows zero speed but the message not get sent? thanks Andy |
|
Locked
Re: Still questions about dispatcher
#dispatcher
#5 - Last transit step (variation of #2 no more allocated sections)
--
Ken NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959) Loconet * JMRI 5.9.5 * OSX,Win10,Ubuntu Blog: ?
Youtube:
|
|
Keith, In "Preferences -> Warrants" there is "Trace warrant activity on console" option. ?If you enable the option, you will get useful information on the system console. Here is the result from a test configuration.
The "sets Signal" lines indicate that the signal mast will be the controlling signal mast. ?It is not changing the aspect. The "decrease speed" lines indicate the speed will need to be decreased, but the ramp down will be delayed by some time value. ?In theory, the delay and ramp down should result in a stop near the end of the block. ?NOTE: ?There is a bug that causes the message to always display "1ms". ?I have submitted a fix to display the correct value. ?That will be available in the 5.9.6 test release. ? When testing with your layout, the ramp down delays tend to be in 20 to 60 second range. Dave Sand ----- Original message ----- From: Keith Williams <directorsixfive@...> Subject: Re: [jmriusers] Struggles with warrants - cont'd #warrants Date: Wednesday, October 23, 2024 1:01 PM Dave, Very interesting.? To answer your questions: 1.? I tried both - created with an N-X and also with the learning?route.? The learning?route is the current one.? In learning?mode (auto run) the train runs at full "normal" speed, causing the late arrival messages to the next block when it is run at the real?"normal" speed for that block.. 2.? Yes the loco roster has speed profiles for most of the loco's.? I was using 8235 (part of a consist w/8241) for my tests. Comments about your results: 1.? I was not aware you could (should) revise the elapsed time, as the instructions say that if changes in the block require changes in the individual timing of a line, the overall timing of the block should?stay the same. 2.? Your?third point is where I am having difficulty.? The down ramp time may in fact be correct, but it starts at the wrong time 3.? Regarding Block 3 testing: when you say "When the time expired, I would get a delayed arrival for SM55.? If I did nothing, eventually it would ramp down and stop for the signal."? Where exactly did it ramp down for the red?? Normally (without messing with?the elapsed time values) it would enter the block, ramp up to the "normal speed, then realize that this was a siding block between divirging?points, and ramp back down to the required speed, normally "medium", then stop, usually only 15% or 20% into the block.? This would imply that the timing is fixed, based on the warrant "teach" speed, rather than?dynamic, based on the current speed.? This leads to your comment about changing the timing of the sidings.? I?will work on that.....! 4.? 60 Seconds is about 3 times the normal timing.? My "normal" speed is 50 sMPH, and "medium" is 25 sMPH 5.? This problem also occurs when running lap 1 or lap 2, which does not traverse any of the passing sidings. For example, if in MB1, traveling?toward MB2, and SM45 is thrown, giving a red signal, the train will stop about 20% into MB1, (Varies from 20% to 60%, but always very short of the signal) and send a message that it is waiting for the signal to clear before?it can proceed. I will continue to test, to see if I can improve it.? Thank you?very?much for your efforts!? I do appreciate this! On Tue, Oct 22, 2024 at 1:35?AM Dave Sand via <ds=[email protected]> wrote:
|
|
Jean-Louis,
?
To capture a log file with additional detail of commands sent/received, you may want to enable DEBUG in the default.lcf.xml file in the
C:\USERS\username\JMRI directory
.. if the file does not already exist, copy the one from C:\Program Files (x86)\JMRI?
?
Once JMRI is started and you see the inconsistent status, upload the
C:\USERS\username\JMRI\log\session.log file to problems being worked on
?
Note that the messages.log file can grow very large if this DEBUG is left enabled.
?
Regards,
Ash__
? |
|
SUCCESS!? the clue was in Steve observing that JMRI was not hearing back from the PR4.? I think that has to do with the very poor job I have done in connecting to my programming track.? I did a somewhat better job and now I am getting the various decoder possibilities. Mark Granville's observations are completely on point:? but I am now more confident in using the PR4 for programming CV's and thank all of you for your time and thoughts.
--
NancyI |
|
Locked
Re: Parse Error: Reporter (Which I don't need)
#reporters
Thanks.? I'll workon that the next time I get on that computer, probably later today. |
|
Locked
Re: path speeds between signal masts
Dave (and others)
Thanks for all the input, I think I have what I now need by adding some hand coded logic to set the distant signal to what I want.
I have however hit a very odd issue. On one particular block when the signal is against the train the dispatcher sets the speed to zero but this instruction fails to make it to the loco - its only on one particular block though and seems repeatable. Is there any way that you can think off that dispatcher would set zero speed, the auto control window shows zero speed but the message not get sent?
thanks
Andy |
|
Locked
Re: Locomotives Print
#operationspro
On Mon, Oct 21, 2024 at 03:25 PM, Jim K Fuquay wrote:
I have quite a few in my roster can it work the same way as the car menu printing only Locomotives on the layout with a location ? Save paper and ink.In the next test release. ?
Dan |
|
Dave, Very interesting.? To answer your questions: 1.? I tried both - created with an N-X and also with the learning?route.? The learning?route is the current one.? In learning?mode (auto run) the train runs at full "normal" speed, causing the late arrival messages to the next block when it is run at the real?"normal" speed for that block.. 2.? Yes the loco roster has speed profiles for most of the loco's.? I was using 8235 (part of a consist w/8241) for my tests. Comments about your results: 1.? I was not aware you could (should) revise the elapsed time, as the instructions say that if changes in the block require changes in the individual timing of a line, the overall timing of the block should?stay the same. 2.? Your?third point is where I am having difficulty.? The down ramp time may in fact be correct, but it starts at the wrong time 3.? Regarding Block 3 testing: when you say "When the time expired, I would get a delayed arrival for SM55.? If I did nothing, eventually it would ramp down and stop for the signal."? Where exactly did it ramp down for the red?? Normally (without messing with?the elapsed time values) it would enter the block, ramp up to the "normal speed, then realize that this was a siding block between divirging?points, and ramp back down to the required speed, normally "medium", then stop, usually only 15% or 20% into the block.? This would imply that the timing is fixed, based on the warrant "teach" speed, rather than?dynamic, based on the current speed.? This leads to your comment about changing the timing of the sidings.? I?will work on that.....! 4.? 60 Seconds is about 3 times the normal timing.? My "normal" speed is 50 sMPH, and "medium" is 25 sMPH 5.? This problem also occurs when running lap 1 or lap 2, which does not traverse any of the passing sidings. For example, if in MB1, traveling?toward MB2, and SM45 is thrown, giving a red signal, the train will stop about 20% into MB1, (Varies from 20% to 60%, but always very short of the signal) and send a message that it is waiting for the signal to clear before?it can proceed. I will continue to test, to see if I can improve it.? Thank you?very?much for your efforts!? I do appreciate this! On Tue, Oct 22, 2024 at 1:35?AM Dave Sand via <ds=[email protected]> wrote:
|
|
Locked
Re: Creating Signal Mast Logix not understanding Blocks vs. Sensors
开云体育Dave,? Now, I have a better understanding of how SML works.? I my case, I don’t need or want to place a mast at the turnout throat, the mast will be at the legs. This turnout is one end of a single track main diverging to two destinations with the same for the other end, diverging to two other locations. The masts will be at legs of both turnouts at either end.? I didn’t realize with SSL when placing a signal head at the throat, at high traffic times, does not take into consideration three trains could be allowed to meet at each area around a turnout. SML will fix that.? Thanks for the clarification.? John ?Bauchiero - NCE PH-Pro & PowerCab, Pi4, DCC-EX - JMRI 5.9.5 Java 17.0.11 On Oct 22, 2024, at 10:00?PM, Dave Sand via groups.io <ds@...> wrote:
|
|
开云体育Oh, and think about creating a “simulator” connection if supported for your DCC systemMine is Lenz, so I did a lot if tweaking with a Lenz Simulator connection. Makes it easier to see what’s going on, and learn what you did wrong (in my case) without having to bother about a layout actually being connected
Phil G On 23 Oct 2024, at 17:04, Tim Kelley via groups.io <tim.kelley@...> wrote:
|
|
And it would help to be in the most up to date JMRI. Folks have been fixing a few wrinkles I uncovered
Phil G
On 23 Oct 2024, at 16:56, Paul Evans via groups.io <paul@...> wrote:
?How do I import a layout designed in AnyRail V6 into panel pro??Looking at the hel files I suspect the nswer is No you can't.?Paul Evans??