Welcome to the forum   
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Share
Options
View
Go to last post in this topic Go to first unread post in this topic
Offline osoraku  
#1 Posted : 06 May 2025 14:59:26(UTC)
osoraku

Portugal   
Joined: 22/01/2025(UTC)
Posts: 52
Location: Setubal, Palmela
Dear All -

If you have Rocrail expertise, please help me overcome my frustration at configuring a particular action.

My test-bed is a rather simple straight track ending in buffers at each end. There is a block to govern stopping and direction reversal at each end. The configuration is as illustrated below:



The sensors not attached to a track below each block are the manually actuated IN sensors that I used to calibrate BBT stopping before reaching the buffers. (They now have no operating role because the block sensor is ENTER2IN and BBT is in FIXED mode.)

In automatic mode, the route ends with the loco arriving in the terminal block, and the loco smoothly stops before hitting the buffers. When I manually change the loco direction in the block (with a control-click on block to get at its menu, and then selecting swap logical direction), the loco restarts and returns to the block where it started, smoothly stopping there.

However, in the routes menu, when I switch on the swap logical direction post option to automatically reverse the direction of the loco, the loco stops instantly upon arriving at the terminal block. The BBT settings are apparently ignored. Then the loco waits and travels back to where it started (and repeats).

Is there a configuration option that I am missing to retain precision BBT stopping but that allows automatic direction reversal, and thus continuous back-and-forth automatic running?

Osoraku
Offline Martti Mäntylä  
#2 Posted : 07 May 2025 01:14:37(UTC)
Martti Mäntylä

Finland   
Joined: 15/11/2018(UTC)
Posts: 430
Location: Uusimaa, Helsinki
After BBT has been calibrated properly, a locomotive will travel at V_min speed by the time it reaches the IN sensor. At that point, Rocrail will set the locomotive speed to zero. Modern decoders with an adjustable deceleration rate will then stop the locomotive more or less smoothly depending on its deceleration setting. Thus smooth stopping is really beyond the scope of Rocrail control.

As you have witnessed yourself, if Rocrail issues a SWAP command to the locomotive while its decoder is still decelerating, the locomotive will stop immediately. I have not found a remedy to this other than adding an Action linked to the IN event that issues the SWAP command only after a delay long enough to let the decoders finish their work. I use a 5000 ms delay.
- Martti M.
Era III analog & digital (Rocrail, CAN Digital Bahn, Gleisbox/MS2, K83/K84), C & M tracks, some Spur 1
Offline applor  
#3 Posted : 07 May 2025 08:19:46(UTC)
applor

Australia   
Joined: 21/05/2004(UTC)
Posts: 1,767
Location: Brisbane, Queensland
I am running an old version of Rocrail (they stopped support of HSI-S88-USB, so I had no choice I cant upgrade), so maybe things have changed but my routes don't have any change directions set - do you mean 'swap placing post'?

You enable the block with 'allow change direction' and then the locomotive also has 'Commuter train' enabled and the routes are the same as any other.
With those two flags enabled, the locomotive will change direction to be able to use the route in the opposite direction, no forcing of change direction on the route.
I also have a wait timer set on the block because I want the railcar to wait for passengers, I haven't tried it without to determine if the BBT is ignored but works fine as it is.
modelling era IIIa (1951-1955) Germany
Offline osoraku  
#4 Posted : 07 May 2025 10:01:35(UTC)
osoraku

Portugal   
Joined: 22/01/2025(UTC)
Posts: 52
Location: Setubal, Palmela
Dear Martti & Applor -

Thanks for your insights. With a Rocrail action to swap the loco direction (after a short delay) linked to each block's IN sensor, there is now smooth, continuous back-and-forth shuttling of the loco.

With the insight that the decoder -- not Rocrail -- is responsible for smooth stopping, it is clear that you have to somehow delay Rocrail's command to change the loco's direction. Both of your suggestions achieve that (I used Martti's).

Cheers - Osoraku
thanks 1 user liked this useful post by osoraku
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

| Powered by YAF.NET | YAF.NET © 2003-2025, Yet Another Forum.NET
This page was generated in 0.374 seconds.