-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option #13073
Comments
Robin,
Can you supply an image of the track work in this location. I am having trouble visualizing why the "also throw" turnout needs to be inverted.
Dave Sand
…----- Original message -----
From: Robin ***@***.***>
To: JMRI/JMRI ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [JMRI/JMRI] Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option (Issue #13073)
Date: Thursday, May 02, 2024 3:00 PM
A turnout is involved in the logic for a signal mast. A Supporting Turnout is added to the Layout Editor turnout. The auto generated turnouts for the Signal Mast logic now also include the Supporting Turnout. However the required state of the Supporting Turnout always matches state of the base turnout independent of whether the "Invert Second Turnout" checkbox is enabled. When Invert Second Turnout is checked an impossible condition is created in the Signal Logic.
The attched example shows turnout "UTJ E M-P" with supporting turnout "UTJ E M-P Reverse". The Invert Second Turnout box is checked. Auto Generated Signal Mast logic requires both UTJ E M-P and UTJ E M-P Reverse to be Thrown, which is impossible.
image.png (view on web) <https://github.com/JMRI/JMRI/assets/14222051/1bbd8b69-5537-432c-9422-3a9e0313d6c1>
—
Reply to this email directly, view it on GitHub <#13073>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AED27YGJBQLAWHSXEKAMBILZAKLORAVCNFSM6AAAAABHELDRWOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TMMZYGAYDAOI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Dave,
In this case that turnout output goes to a device that controls a Relay. The relay supplies the correct DCC polarity power to a crossing. It was easier to use the Invert checkbox than to rewire the relay 😊 I worked around this but just unchecking “Use Turnout details from Layout Editor” option in the signal mast logic.
I don’t know why Auto_Gen needs to pull in supporting turnouts, but if it does I think it ought to process the Invert selection?
Robin
From: Dave Sand ***@***.***>
Sent: Thursday, May 2, 2024 4:00 PM
To: JMRI/JMRI ***@***.***>
Cc: Robin ***@***.***>; Author ***@***.***>
Subject: Re: [JMRI/JMRI] Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option (Issue #13073)
Robin,
Can you supply an image of the track work in this location. I am having trouble visualizing why the "also throw" turnout needs to be inverted.
Dave Sand
…----- Original message -----
From: Robin ***@***.*** <mailto:***@***.***> >
To: JMRI/JMRI ***@***.*** <mailto:***@***.***> >
Cc: Subscribed ***@***.*** <mailto:***@***.***> >
Subject: [JMRI/JMRI] Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option (Issue #13073)
Date: Thursday, May 02, 2024 3:00 PM
A turnout is involved in the logic for a signal mast. A Supporting Turnout is added to the Layout Editor turnout. The auto generated turnouts for the Signal Mast logic now also include the Supporting Turnout. However the required state of the Supporting Turnout always matches state of the base turnout independent of whether the "Invert Second Turnout" checkbox is enabled. When Invert Second Turnout is checked an impossible condition is created in the Signal Logic.
The attched example shows turnout "UTJ E M-P" with supporting turnout "UTJ E M-P Reverse". The Invert Second Turnout box is checked. Auto Generated Signal Mast logic requires both UTJ E M-P and UTJ E M-P Reverse to be Thrown, which is impossible.
image.png (view on web) <https://github.com/JMRI/JMRI/assets/14222051/1bbd8b69-5537-432c-9422-3a9e0313d6c1>
—
Reply to this email directly, view it on GitHub <#13073>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AED27YGJBQLAWHSXEKAMBILZAKLORAVCNFSM6AAAAABHELDRWOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TMMZYGAYDAOI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.*** <mailto:***@***.***> >
—
Reply to this email directly, view it on GitHub <#13073 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADMQFY24CDHHDB3FW2TEAXTZALAQPAVCNFSM6AAAAABHELDRWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRHA4DCNZQG4> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/ADMQFY4CO7G2KXI3VSMLK63ZALAQPA5CNFSM6AAAAABHELDRWOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT4V6KOW.gif> Message ID: ***@***.*** ***@***.***> >
|
Robin,
Since the second turnout (actually just an output event) is not a turnout in the panel sense, then it should be controlled by Logix or LogixNG.
Supporting turnouts are frequently used in crossovers to drive two switch machines. That is probably the basis for the logic.
Dave Sand
…----- Original message -----
From: Robin ***@***.***>
To: JMRI/JMRI ***@***.***>
Cc: Dave Sand ***@***.***>, Comment ***@***.***>
Subject: Re: [JMRI/JMRI] Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option (Issue #13073)
Date: Thursday, May 02, 2024 6:30 PM
Dave,
In this case that turnout output goes to a device that controls a Relay. The relay supplies the correct DCC polarity power to a crossing. It was easier to use the Invert checkbox than to rewire the relay 😊 I worked around this but just unchecking “Use Turnout details from Layout Editor” option in the signal mast logic.
I don’t know why Auto_Gen needs to pull in supporting turnouts, but if it does I think it ought to process the Invert selection?
Robin
From: Dave Sand ***@***.***>
Sent: Thursday, May 2, 2024 4:00 PM
To: JMRI/JMRI ***@***.***>
Cc: Robin ***@***.***>; Author ***@***.***>
Subject: Re: [JMRI/JMRI] Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option (Issue #13073)
Robin,
Can you supply an image of the track work in this location. I am having trouble visualizing why the "also throw" turnout needs to be inverted.
Dave Sand
----- Original message -----
From: Robin ***@***.*** <mailto:***@***.***> >
To: JMRI/JMRI ***@***.*** <mailto:***@***.***> >
Cc: Subscribed ***@***.*** <mailto:***@***.***> >
Subject: [JMRI/JMRI] Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option (Issue #13073)
Date: Thursday, May 02, 2024 3:00 PM
A turnout is involved in the logic for a signal mast. A Supporting Turnout is added to the Layout Editor turnout. The auto generated turnouts for the Signal Mast logic now also include the Supporting Turnout. However the required state of the Supporting Turnout always matches state of the base turnout independent of whether the "Invert Second Turnout" checkbox is enabled. When Invert Second Turnout is checked an impossible condition is created in the Signal Logic.
The attched example shows turnout "UTJ E M-P" with supporting turnout "UTJ E M-P Reverse". The Invert Second Turnout box is checked. Auto Generated Signal Mast logic requires both UTJ E M-P and UTJ E M-P Reverse to be Thrown, which is impossible.
image.png (view on web) <https://github.com/JMRI/JMRI/assets/14222051/1bbd8b69-5537-432c-9422-3a9e0313d6c1>
—
Reply to this email directly, view it on GitHub <#13073>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AED27YGJBQLAWHSXEKAMBILZAKLORAVCNFSM6AAAAABHELDRWOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TMMZYGAYDAOI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.*** <mailto:***@***.***> >
—
Reply to this email directly, view it on GitHub <#13073 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADMQFY24CDHHDB3FW2TEAXTZALAQPAVCNFSM6AAAAABHELDRWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRHA4DCNZQG4> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/ADMQFY4CO7G2KXI3VSMLK63ZALAQPA5CNFSM6AAAAABHELDRWOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT4V6KOW.gif> Message ID: ***@***.*** ***@***.***> >
—
Reply to this email directly, view it on GitHub <#13073 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AED27YEFXOHOOQIVU4EOOGLZALEABAVCNFSM6AAAAABHELDRWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRHEYDINZRHE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Dave,
Ok, I guess there is my way and the JMRI way 😊 Seemed like this was an easy way to get it done, but I’ll go ahead and add LogixNG to invert the turnout instead. In my world this still a bug though <g>
Robin
From: Dave Sand ***@***.***>
Sent: Thursday, May 2, 2024 4:44 PM
To: JMRI/JMRI ***@***.***>
Cc: Robin ***@***.***>; Author ***@***.***>
Subject: Re: [JMRI/JMRI] Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option (Issue #13073)
Robin,
Since the second turnout (actually just an output event) is not a turnout in the panel sense, then it should be controlled by Logix or LogixNG.
Supporting turnouts are frequently used in crossovers to drive two switch machines. That is probably the basis for the logic.
Dave Sand
…----- Original message -----
From: Robin ***@***.*** <mailto:***@***.***> >
To: JMRI/JMRI ***@***.*** <mailto:***@***.***> >
Cc: Dave Sand ***@***.*** <mailto:***@***.***> >, Comment ***@***.*** <mailto:***@***.***> >
Subject: Re: [JMRI/JMRI] Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option (Issue #13073)
Date: Thursday, May 02, 2024 6:30 PM
Dave,
In this case that turnout output goes to a device that controls a Relay. The relay supplies the correct DCC polarity power to a crossing. It was easier to use the Invert checkbox than to rewire the relay 😊 I worked around this but just unchecking “Use Turnout details from Layout Editor” option in the signal mast logic.
I don’t know why Auto_Gen needs to pull in supporting turnouts, but if it does I think it ought to process the Invert selection?
Robin
From: Dave Sand ***@***.*** <mailto:***@***.***> >
Sent: Thursday, May 2, 2024 4:00 PM
To: JMRI/JMRI ***@***.*** <mailto:***@***.***> >
Cc: Robin ***@***.*** <mailto:***@***.***> >; Author ***@***.*** <mailto:***@***.***> >
Subject: Re: [JMRI/JMRI] Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option (Issue #13073)
Robin,
Can you supply an image of the track work in this location. I am having trouble visualizing why the "also throw" turnout needs to be inverted.
Dave Sand
----- Original message -----
From: Robin ***@***.*** <mailto:***@***.***> <mailto:***@***.***> >
To: JMRI/JMRI ***@***.*** <mailto:***@***.***> <mailto:***@***.***> >
Cc: Subscribed ***@***.*** <mailto:***@***.***> <mailto:***@***.***> >
Subject: [JMRI/JMRI] Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option (Issue #13073)
Date: Thursday, May 02, 2024 3:00 PM
A turnout is involved in the logic for a signal mast. A Supporting Turnout is added to the Layout Editor turnout. The auto generated turnouts for the Signal Mast logic now also include the Supporting Turnout. However the required state of the Supporting Turnout always matches state of the base turnout independent of whether the "Invert Second Turnout" checkbox is enabled. When Invert Second Turnout is checked an impossible condition is created in the Signal Logic.
The attched example shows turnout "UTJ E M-P" with supporting turnout "UTJ E M-P Reverse". The Invert Second Turnout box is checked. Auto Generated Signal Mast logic requires both UTJ E M-P and UTJ E M-P Reverse to be Thrown, which is impossible.
image.png (view on web) <https://github.com/JMRI/JMRI/assets/14222051/1bbd8b69-5537-432c-9422-3a9e0313d6c1>
—
Reply to this email directly, view it on GitHub <#13073>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AED27YGJBQLAWHSXEKAMBILZAKLORAVCNFSM6AAAAABHELDRWOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TMMZYGAYDAOI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.*** <mailto:***@***.***> <mailto:***@***.***> >
—
Reply to this email directly, view it on GitHub <#13073 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADMQFY24CDHHDB3FW2TEAXTZALAQPAVCNFSM6AAAAABHELDRWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRHA4DCNZQG4> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/ADMQFY4CO7G2KXI3VSMLK63ZALAQPA5CNFSM6AAAAABHELDRWOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT4V6KOW.gif> Message ID: ***@***.*** <mailto:***@***.***> ***@***.*** <mailto:***@***.***> > >
—
Reply to this email directly, view it on GitHub <#13073 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AED27YEFXOHOOQIVU4EOOGLZALEABAVCNFSM6AAAAABHELDRWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRHEYDINZRHE>.
You are receiving this because you commented.Message ID: ***@***.*** <mailto:***@***.***> >
—
Reply to this email directly, view it on GitHub <#13073 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADMQFY6NYVZASXYUPG7WSODZALFSPAVCNFSM6AAAAABHELDRWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRHEYTGOBRGE> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/ADMQFYYGU3VS3MDK2NJLW7LZALFSPA5CNFSM6AAAAABHELDRWOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT4WAJFG.gif> Message ID: ***@***.*** ***@***.***> >
|
Dave,
I didn’t know that manually including the opposite state would cancel the auto-gen. Thanks!
Robin
From: Dave Sand ***@***.***>
Sent: Thursday, May 2, 2024 8:49 PM
To: JMRI/JMRI ***@***.***>
Cc: Robin ***@***.***>; Author ***@***.***>
Subject: Re: [JMRI/JMRI] Signal Mast Auto Generated Logic ignores Supporting Turnout Invert option (Issue #13073)
Robin,
Here is an easy override for the signal mast logic.
Screenshot.2024-05-02.at.10.44.28.PM.png (view on web) <https://github.com/JMRI/JMRI/assets/17280992/ddeba2a7-9aaa-492a-b2e2-cc011ee57d7d>
—
Reply to this email directly, view it on GitHub <#13073 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADMQFY6I2H3TVPFH66R2ENDZAMCMNAVCNFSM6AAAAABHELDRWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSGA3TGMBSGM> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/ADMQFY2S6MDNFGD6H7ELZSLZAMCMNA5CNFSM6AAAAABHELDRWOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT4WKAD6.gif> Message ID: ***@***.*** ***@***.***> >
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A turnout is involved in the logic for a signal mast. A Supporting Turnout is added to the Layout Editor turnout. The auto generated turnouts for the Signal Mast logic now also include the Supporting Turnout. However the required state of the Supporting Turnout always matches state of the base turnout independent of whether the "Invert Second Turnout" checkbox is enabled. When Invert Second Turnout is checked an impossible condition is created in the Signal Logic.
The attched example shows turnout "UTJ E M-P" with supporting turnout "UTJ E M-P Reverse". The Invert Second Turnout box is checked. Auto Generated Signal Mast logic requires both UTJ E M-P and UTJ E M-P Reverse to be Thrown, which is impossible.
The text was updated successfully, but these errors were encountered: