¿ªÔÆÌåÓý

Locked Re: Getting SML to indicate "secondary diverging" through double crossover #sml


 

John,

You control the aspect selection by using SML path speed and route. ?This is tied to the selected signal system.
The path speed is the slowest speed of the assigned blocks and turnouts.

The default speeds for JMRI turnouts is Normal/Restricted for Close/Thrown. ?The first thing I do is change the Thrown speed.

Aspects have a speed value and a route value. ?If ALL turnouts are closed, the route is Normal. ?If ANY turnout is thrown, the route is Diverging.

The combination of route and speed is used to select the proper "ourAspect"?

The path speed can be manipulated by creating a dummy block.

Here are the changes I used to make 4136 work as expected:
  • Turnout thrown speed is set to Limited.
  • Block "Secondary" has a speed of Medium and it is assigned to 4088 destination.
  • The speed for the secondary aspects are all set to Medium in the aspect.xml file.

To simplify turnout feedback, I created a small LogixNG:

LogixNG: IQ:AUTO:0001
??? ConditionalNG: IQC:AUTO:0001
??????? ! A
??????????? Simulate turnout feedback. Delay: 3 seconds


Dave Sand



----- Original message -----
From: John Purcell <jdpurce@...>
Subject: [jmriusers] Getting SML to indicate "secondary diverging" through double crossover #5-4 #signals #sml
Date: Wednesday, October 02, 2024 10:55 PM

How do I inform SML to use the third light on a three light mast to indicate "secondary diverging"? ?Secondary diverging means route is through both crossovers.
?
In the screenshot, source mast is 4136 and destination mast is 4088. ?SML is treating the route as a standard "diverging" route and using the middle (second) head of mast 4136 to indicate diverging, when the intent is to use the lower (third) head to indicate "secondary diverging". ?(The "simple" cases where mast 4136 is source and destination is mast 4076 or 4072 work as expected.)
?
Note that I am using a modified signal system I created named "basic-enhanced" which I will contribute to JMRI after some confirmation that it works correctly. ?The basic-enhanced signal system is based on the standard "basic" signal system in JMRI, with addition of a three-head mast, an "advanced approach" indication (flashing yellow), and all icons cleaned up, renamed and gathered in one place rather than picking from other systems' icons.
?

?
Important supporting information:
  1. JMRI version is 5.4 both on computer connected to physical layout and on MacBook where editing is performed. ?Layout computer running Linux Mint. ?Both are running Azul Java 11
  2. Turnouts are in the same block as the track connected to facing point end
  3. Having the turnout in the same block as facing point track means masts cannot be placed at turnout using built-in tools as there is no block boundary at facing point end, only at the diverging and continuing ends.
  4. Signal Masts are simply placed on layout with shift-click using signal mast element from layout editor tool bar
  5. Turnouts are all Internal Turnouts because they are sense-only. ?Turnout control is via fascia panel mounted rocker switches. ?JMRI has no control over turnouts
  6. Turnout sensing is "TWOSENSOR"
  7. Turnout state and block occupancy function correctly and are reflected properly on layout. ?This is true with physical layout computer and on MacBook (when manually setting sensor state).
  8. Each crossover is created on layout using two separate turnouts
  9. SML created by hand using "Signal Mast Logic ..." selection from popup menu when right clicking on signal mast
  10. The layout is complete with block and turnout assignment, but signal logic is in beginning stage
  11. When clicking on signal masts, they cycle through the aspects correctly, so I believe that part of the signal definition is working.
  12. In simple cases, SML operates as intended and expected, but it's this double crossover case that has me stumped.
Thank you for your help.
?
--John.
?
Attaching files to this note. ?If they should be moved to files section I'm happy to move them there.
?
JMRI Panel and Table content: FWT_G_V1-99-13.xml
"basic-enhanced" signal system definition files unzipped into /xml/signals directory: basic-enhanced.zip
"basic-enhanced" image files for mast icons unzipped into /resources directory. Full path is /resources/icons/smallschematics/aspects/basic-enhanced. ?Zip file contains everything from /icons on down: icons.zip
?

Attachments:
  • FWT_G_V1-99-13.xml
  • basic-enhanced.zip
  • icons.zip

Join [email protected] to automatically receive all group messages.