¿ªÔÆÌåÓý

Locked Transits, reversing into a siding #transits


 

I have a train that pulls out the siding goes around the layout and is supposed to back into the same siding. I can get the train to pass the siding but will not reverse. The section before the turnout is # 50, turnout is 51 and the train will travel through 52, 53, 54 forward? and stop in 55.
I have tried creating Section 55 R for reversing the FORWARD and REVERSE. This section will not show up when creating the transit and if it does it is before section 55 is listed.
Will I need to create a "R" reverse sections to go back?into the siding.
I have tried several variations but nothing seems to work.

Thank you in advance for your assistance.
Phil
?


 

Hi Phil

See?/g/jmriusers/message/186054?for a better idea as FWD and REV means.
You cannot change the direction of a locomotive in the middle of a transit. The FWD and REV are not related to locomotive direction, they are related to the order of blocks within a section.

Steve G.


 

Hi Steve?

Thanks for the information. Are there plans to address this scenario in the future? Is there any other way to accomplish this movement?

Thanks again?
Phil

On Sat, Mar 13, 2021 at 1:25 PM Steve_G <RailRodder22@...> wrote:
Hi Phil

See?/g/jmriusers/message/186054?for a better idea as FWD and REV means.
You cannot change the direction of a locomotive in the middle of a transit. The FWD and REV are not related to locomotive direction, they are related to the order of blocks within a section.

Steve G.


 

Phil
How I have done it its as follows.
When train arrives at end. Sets 13Yard-ArrivedFrom0810 active.(in transit actions? when train stops) . . It must terminate at end.
Have a logic that runs?
?IX:AUTO:0011C1 ?13Yard-ArrivedFrom0810-C1 ?
? ? [x] ?R1 ?IF ?Sensor "13Yard-ArrivedFrom0810" state is "Sensor Active" ?
? ? ? ? ? ? ?THEN ?
? ? ? ? ? ? ? ?On Change To True, Delayed Set Sensor, "13Yard-ArrivedFrom0810-LoadTrain" to Active, after 15 seconds. ?
? ? ? ? ? ? ? ?On Change To True, Set Sensor, "13Yard-ArrivedFrom0810" to Inactive? ?
and another:
?IX:AUTO:0012C1 ?13Yard-ArrivedFrom0810-Load-C1 ?
? ? [x] ?R1 ?IF ?Sensor "13Yard-ArrivedFrom0810-LoadTrain" state is "Sensor Active" ?
? ? ? ? ? ? ?THEN ?
? ? ? ? ? ? ? ?On Change To True, Run Script from file, scripts:1_LoadTrain13Yard-0810-250.py. ?
? ? ? ? ? ? ? ?On Change To True, Set Sensor, "13Yard-ArrivedFrom0810-LoadTrain" to Inactive??
The delay is to ensure that the train is totally terminated (as the thread does not complete until actions complete? and waits a bit before starting the new one.

Steve G.



On Sat, 13 Mar 2021 at 14:45, Phil Law <tlcphil@...> wrote:
Hi Steve?

Thanks for the information. Are there plans to address this scenario in the future? Is there any other way to accomplish this movement?

Thanks again?
Phil

On Sat, Mar 13, 2021 at 1:25 PM Steve_G <RailRodder22@...> wrote:
Hi Phil

See?/g/jmriusers/message/186054?for a better idea as FWD and REV means.
You cannot change the direction of a locomotive in the middle of a transit. The FWD and REV are not related to locomotive direction, they are related to the order of blocks within a section.

Steve G.