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
Search
Problems With dispatcher
#dispatcher
Hello Friends
I would describe myself as a beginner when it comes to JRMI,been working on it around a week
The end goal is to automate a train.
As you see above i have entered Turnouts sensors and Signal Heads.I used SSL and i admit it was messy,so maybe thats come back to haunt me,but when i run a train Manually it seems to run nicely.Above you see a Train occupied in Platform 1.
Does it look okay?
So to the problem.I created a simple transit,using 3 sections Platform 1 to? a Turnout Block to A Mainline(left to right.
Everything looks good until i create a train in Dispatcher,as soon as i do the Dispatcher tells me the train is "waiting"and nothing happens
I have noticed the Green Lamp you see on Platform turns from Green to Red as soon as i run dispatcher,so its saying ahead is occupied but where.
Can anyone advise or ask me Questions to help solve
Again thanks for your time. |
There are many possible issues. ? If you upload the layout data xml file to the group's ProblemsBeingWorkedOn file folder, we can review what you have done and provide feedback. Dave Sand ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: [jmriusers] Problems With dispatcher Date: Tuesday, March 11, 2025 4:48 AM Hello Friends I would describe myself as a beginner when it comes to JRMI,been working on it around a week The end goal is to automate a train. As you see above i have entered Turnouts sensors and Signal Heads.I used SSL and i admit it was messy,so maybe thats come back to haunt me,but when i run a train Manually it seems to run nicely.Above you see a Train occupied in Platform 1. Does it look okay? So to the problem.I created a simple transit,using 3 sections Platform 1 to? a Turnout Block to A Mainline(left to right. Everything looks good until i create a train in Dispatcher,as soon as i do the Dispatcher tells me the train is "waiting"and nothing happens I have noticed the Green Lamp you see on Platform turns from Green to Red as soon as i run dispatcher,so its saying ahead is occupied but where. Can anyone advise or ask me Questions to help solve Again thanks for your time. |
Brett, The panel, signal heads and SSL look fine. ?However, there are no Sections or Transits. Dave Sand ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: Re: [jmriusers] Problems With dispatcher #dispatcher Date: Tuesday, March 11, 2025 4:07 PM Thankyou Dave,Im not sure what that file is but i guess its the layout saved file?If it is i have uploaded it,its called "working signals stopping sensors" Thanks ,regards Brett |
Hi Dave?
I have updated the File
Ive created 3 Sections and One transits for testing.
?
Q.When i come to Run the train Auto there is a Box that says "is train in transit"not sure if thats asking if the train is in the position it should be?The reason i ask is under that there is a drop tab,if i dont tick the above option there is a block saying 2-2,if i do it changes to 1 (the first section of the transit).Thats confusing question i know say ignore if irrelevant.
Cheers Brett |
Brett, The first thing to fix is the direction sensors for "Block 3 TO". ?This is cosmetic but confusing. ?Then you need to use the Sections tools menu to Remove Direction Sensors from SSL and then Set Direction Sensors in SSL. Here is the Dispatcher options that I used for your layout. The "Train in selected Transit" wants to know if the first block is occupied by the desired train. ?I have never tried an alternate starting location, so I always check it. When using signal heads with SSL, you always need to have direction sensors. ?They become part of the SSL definitions. ?I prefer to use signal masts with signal mast logic. ?Then direction sensors are optional and generally not used. Setting up signal masts and SML is different. ?A good introduction is at? Dave Sand ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: Re: [jmriusers] Problems With dispatcher #dispatcher Date: Tuesday, March 11, 2025 7:40 PM Hi Dave? I have updated the File Ive created 3 Sections and One transits for testing. ? Q.When i come to Run the train Auto there is a Box that says "is train in transit"not sure if thats asking if the train is in the position it should be?The reason i ask is under that there is a drop tab,if i dont tick the above option there is a block saying 2-2,if i do it changes to 1 (the first section of the transit).Thats confusing question i know say ignore if irrelevant. Cheers Brett |
Dave Sand ,I thank you.
The First mistake you mention was me playing around with settings and forgot to fix,the other suggestions i would never have worked out in a hundred years.
The test ran Like magic.
To think you(and many others here) take the time to help people like me is a credit to you all.
?
Now if i could ask just a few things and stretch my welcome.
?
1.when entering a (new)Loco into the roster,do? you have to "write changes"back to decoder,even if the Decoder has already been Programmed with and I.D?(im very aware of dangers writing to? decoders) is it because JRMI needs to know the info on a decoder?
2. In your opinion,If i want to automate the layout with 4 Seperate trains,running both together and alone,which would be suitable,Dispactcher or Warrants?(are they different?)
?
Thanks again and warm regards
Brett |
Brett, Someone else will need to answer the decoder question. ? Dispatcher and Warrants are two approaches to automation. ?They are VERY different. Dispatcher uses Layout Editor (LE) panels, blocks, sections and transits. Warrants use Control Panel Editor (CPE) panels, OBlocks, Portals and OPaths. ? Either approach can use signal heads/SSL or signal masts/SML. ?When using LE panels, SML can be automatically generated but it has to be done manually when using CPE panels. Based on user group discussions, it appears that Dispatcher is used much more often than Warrants. ?I would estimate more the 90%. Dave Sand ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: Re: [jmriusers] Problems With dispatcher #dispatcher Date: Tuesday, March 11, 2025 11:33 PM Dave Sand ,I thank you. The First mistake you mention was me playing around with settings and forgot to fix,the other suggestions i would never have worked out in a hundred years. The test ran Like magic. To think you(and many others here) take the time to help people like me is a credit to you all. ? Now if i could ask just a few things and stretch my welcome. ? 1.when entering a (new)Loco into the roster,do? you have to "write changes"back to decoder,even if the Decoder has already been Programmed with and I.D?(im very aware of dangers writing to? decoders) is it because JRMI needs to know the info on a decoder? 2. In your opinion,If i want to automate the layout with 4 Seperate trains,running both together and alone,which would be suitable,Dispactcher or Warrants?(are they different?) ? Thanks again and warm regards Brett |
Hi Brett,
?
I suspect some people might be put off by the term 'Warrants'. However, as described,
A JMRI Warrant is suggestive of what a warrant does on a prototype railroad, but there is no intention to replicate any particular railroad's mode of operation. It is simply the idea of giving an automated train the trackage rights to move from point A to point B (and then move it along).
?
Personally, I find it's not as rules based and thus less restrictive to automate a train. In my case the only factors to apply are signal state and block occupancy.
--
H.O. Australia (Layout in Progress) Digikeijs DR5000 LocoNet JMRI v5.10 DecoderPro/Warrants/CPE/SML/LogixNG Java: OpenLogic jre-17.0.12.7 ? Windows 10 |
Thanks to Both above for comments.
I wish i could close this thread,but im close but not completely done.
?
The problem i have is the Dispatcher runs the transit Nicely,but when it terminates or completes (my) SSL seem to go astray and i cannot continue.
The only way is to reset,by clicking the "remove direction sensors from SSl,and everything (signals )go back to looking ok
?
It seems when the train is ready to go (again)the facing signal stays red for some reason,as though something is in Block 3 TO,but it is clear.
Do? have any ideas,shall i re upload the data?
Thanks Again
Brett |
Brett, Upload the data again so that we can see what is what. Dave Sand ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: Re: [jmriusers] Problems With dispatcher #dispatcher Date: Wednesday, March 12, 2025 4:00 PM Thanks to Both above for comments. I wish i could close this thread,but im close but not completely done. ? The problem i have is the Dispatcher runs the transit Nicely,but when it terminates or completes (my) SSL seem to go astray and i cannot continue. The only way is to reset,by clicking the "remove direction sensors from SSl,and everything (signals )go back to looking ok ? It seems when the train is ready to go (again)the facing signal stays red for some reason,as though something is in Block 3 TO,but it is clear. Do? have any ideas,shall i re upload the data? Thanks Again Brett |
Brett, The Block 3 TO, Block 15 and Block 16 sections have inconsistent "Travel Direction" settings. ?Things work better when they are consistent. ?That means the transit also needs to be re-built. ?And the SSL direction sensors updated. Both "Reverse" and "Restart" can be selected. ?Since you have stop sensors defined for the end sections, the reverse and restart don't take effect until they become active. You are running JMRI 5.6. There have been a "lot" of changes. ?I recommend at least JMRI 5.10, although 5.11.4 would also be good. Dave Sand ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: Re: [jmriusers] Problems With dispatcher #dispatcher Date: Wednesday, March 12, 2025 5:55 PM Thanks Dave? I have uploaded a file "after dispatcher runs" ? Im running essentially a shuttle since i have a Point to point Layout Im hoping that can be continous. ? I select "reverse at end" and is it possible to also press 'restart when done" both at the same time? ? thanks Brett ? ? |
Dave are you say ing ALL direction should be forwared?i dont understand.The only way to go from Block 3 to 1? is reverse(?)
If i change those settings you suggest to all forwared ,the train and signal stay stopped.
(It seems i have something in Sections the Direction dont like,)
?
Look ive taken enough of your time.I will use Jrmi for signals and maybe go back to programming my? mini panels which are clumsy but work well.
?
Regards and thanks?
Brett |
Brett, I was saying that 1 to 16 is forward and 16 to 1 is reversed. ?When the directions and direction sensors are consistent debugging is easier.? Dave Sand? ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: Re: [jmriusers] Problems With dispatcher #dispatcher Date: Wednesday, March 12, 2025 8:55 PM Dave are you say ing ALL direction should be forwared?i dont understand.The only way to go from Block 3 to 1? is reverse(?) If i change those settings you suggest to all forwared ,the train and signal stay stopped. (It seems i have something in Sections the Direction dont like,) ? Look ive taken enough of your time.I will use Jrmi for signals and maybe go back to programming my? mini panels which are clumsy but work well. ? Regards and thanks? Brett |
Hello Dave and All
I have started to make some progress.
I read and reread all of your threads as i could.
I decided to remove all signals and Logic and restart
This Time i noticed that the Offset choice was available in Signal Mast,so i thought id try it.(NCE Light its)
Also understanding what happens at a turnout was a break thru to me.
Anyway after creating SML things progressed ,and i have managed to automate a train thru 8 sections and return(back and forth)
Then the same but choosing Restart when done(continouos)
But? that it still a bit hit and miss(sometimes it says its waiting for a distant block to clear)
Im pretty happy to get this far.
Some Q's
1.Can you take a look at the file "Dave to Look" in the working on files to see if anything is amiss(especially Block 8 ,i still dont get that)
2.If i cannot get it to run back and forth,i noticed you mention (instead)to have multiple transits,but i dont know how you do that in dispatcher,if you could give a quick tip)
3.The train speed is a mystery thru sections.Is it guided by my info ive given to blocks?(distance ,curves)It seems to go fast in some and slow in other.(do i have to set instructions in every section?)
Thanks Again
Regards Brett.
If anyone is interest in my layout,i have a YT channel called A Good Day to Railway.You are most welcome to visit. |
Brett, Signal mast "Blk 16" has -1 for its aspect ids. For your Dispatcher issue, look at the Blk 8 Section. I would change the direction from Block 7 to FORWARD. ?That makes it consistent with the other sections. Using the same sensor for both stopping sensors makes no sense. ?Once you have the direction set, then you only need a forward stopping sensor. Dave Sand ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: Re: [jmriusers] Problems With dispatcher #dispatcher Date: Saturday, March 22, 2025 8:51 PM Hello Dave and All I have started to make some progress. I read and reread all of your threads as i could. I decided to remove all signals and Logic and restart This Time i noticed that the Offset choice was available in Signal Mast,so i thought id try it.(NCE Light its) Also understanding what happens at a turnout was a break thru to me. Anyway after creating SML things progressed ,and i have managed to automate a train thru 8 sections and return(back and forth) Then the same but choosing Restart when done(continouos) But? that it still a bit hit and miss(sometimes it says its waiting for a distant block to clear) Im pretty happy to get this far. Some Q's 1.Can you take a look at the file "Dave to Look" in the working on files to see if anything is amiss(especially Block 8 ,i still dont get that) 2.If i cannot get it to run back and forth,i noticed you mention (instead)to have multiple transits,but i dont know how you do that in dispatcher,if you could give a quick tip) 3.The train speed is a mystery thru sections.Is it guided by my info ive given to blocks?(distance ,curves)It seems to go fast in some and slow in other.(do i have to set instructions in every section?) Thanks Again Regards Brett. If anyone is interest in my layout,i have a YT channel called A Good Day to Railway.You are most welcome to visit. |
to navigate to use esc to dismiss