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 BenPerr  
#1 Posted : 24 July 2025 15:49:46(UTC)
BenPerr

United States   
Joined: 19/07/2023(UTC)
Posts: 32
Location: North Carolina, Charlotte
Hi everyone, another question related to RocRail.

For my planned layout, I will have some long (8 meters) transitions between lower invisible staging yard and top layer.
- Should I divide this in 'normal' blocks (aka 4 separate blocks of 2 meters each) with each one an 'Enter' & 'In' sensors?
- Should I use Staging blocks instead with a single 'Enter' and 4 'In' sensors that are 2 meters apart?

What if I have an extra long train (2 locos with a bunch of freight cars) that is longer than the usual 2 meters limit
- will this create an issue of ghost train in the above scenario as it will reach the 'In' sensor but still have the back inside the previous block?
- how will this work if the longer train is not allowed to stop in a 2m block, but the 4th block (in the last 2 meters) is still occupied with another train? It will still have to stop, right??

Thanks for your answers!

Benoit
Offline PeFu  
#2 Posted : 25 July 2025 05:02:29(UTC)
PeFu

Sweden   
Joined: 30/08/2002(UTC)
Posts: 1,294
I would plan for ”normal blocks”. However, using a PC software like TrainController Gold, I only use 2 sensors in such blocks as follows:

ENTRY: Sensor 1 after 0 cm
BRAKE START: Sensor 1 after X cm
STOP: Sensor 2 after 0 cm

Also, my PC software takes care of your second challenge; Long trains. You can define train length and block length in the software. The software then reserves the blocks and routes (turnouts) required to fit the train!

ThumpUp
Andreasburg-Mattiasberg Bahn is inspired by Swiss railways |Forum Thread |Track Plan |Youtube Channel | C and K track | CS2 | TrainController Gold
Offline JohnjeanB  
#3 Posted : 25 July 2025 10:09:59(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,601
Location: Paris, France
Hi Benoit
Here a user of Rocrail with normal and staging blocks

Staging Blocks
- you may part a long strech of track into sections (7 in my case) and it works perfectly well whatever is the length of the train to accomodate (but smaller than the total SB length)
- you must enter the length of each train so that RR may decide how many sections a train will occupy
- the operation of a staging block is slower than a normal block. This is due to the lower coasting speed
- when a staging block is adjacent to other blocks, RR will always prefer (give priority to) the normal block
- the staging block is always one way (cannot reverse direction) and the trains in it are always ready in start position (no stopping)

Your questions
Should I use a staging block on a 8 M long strech? In my opinion SBs are very convenient to store variable length trains so on 8 M length you may store from 30 locos to 6 trains. It is a bit more work and you must enter ALL the train lengths (in my case each car has its specific length and RR makes the adding-up
Because many of us tend to get more and more trains, a staging block is a great addition for storage
In my case the segments length are 320 mm but you may pick what you want. In my case the observed spacing of trains is around 30 mm minimum (but can go to a little less than a section's length). The more sections, the better use of the available space
What happens if a 2 M block accepts a 4 M long train? You have a ghost train. Each block must be longer than the train it accepts (In my case all my blocks have a speficied - real - length and a train will only be permitted to enter if its length is smaller

Cheers
Jean
Offline BenPerr  
#4 Posted : 25 July 2025 13:17:35(UTC)
BenPerr

United States   
Joined: 19/07/2023(UTC)
Posts: 32
Location: North Carolina, Charlotte
Thanks both for your answers:

Follow-up questions for Jean...

- Not sure to understand "staging block is adjacent to other blocks"
- do you mean a configuration where the staging block & normal block are converging into a switch?
- RR will always send the train from the normal block first and the staging block after in automatic mode, correct?
- Does that mean that, ideally, only staging blocks should converge into each others??

- I seem to remember one of your post saying that in case of short-circuit or down electricity, the staging blocks must be manually cleared and reloaded?
- Can you expand on that please - seems like a pain, does it happen often in practice?
- Will this be different for normal blocks?

- My 8 meter length is a dual track (one up, one down) transition between layers, so not a 'long term storage' area as the trains will just travel through it. My goal is to minimize the time/delays between trains in the transition.
- Seems like Staging Blocks are more efficient (can pack more trains if enough sensors), but slower because of coasting between the stop points + it can handle 'long' trains.
- Normal Blocks will mean that I have to account for the 'Long' train, meaning longer blocks so less efficient & maybe the higher speed between blocks might not help because further apart.

Looks like I am leaning towards Staging Blocks - anything else you think I should know to avoid pitfalls?
Thank you again so much!
Offline Roland  
#5 Posted : 25 July 2025 15:09:27(UTC)
Roland

Canada   
Joined: 09/11/2013(UTC)
Posts: 337
Location: Toronto, Canada
Originally Posted by: BenPerr Go to Quoted Post
Hi everyone, another question related to RocRail.

For my planned layout, I will have some long (8 meters) transitions between lower invisible staging yard and top layer.
- Should I divide this in 'normal' blocks (aka 4 separate blocks of 2 meters each) with each one an 'Enter' & 'In' sensors?
- Should I use Staging blocks instead with a single 'Enter' and 4 'In' sensors that are 2 meters apart?

What if I have an extra long train (2 locos with a bunch of freight cars) that is longer than the usual 2 meters limit
- will this create an issue of ghost train in the above scenario as it will reach the 'In' sensor but still have the back inside the previous block?
- how will this work if the longer train is not allowed to stop in a 2m block, but the 4th block (in the last 2 meters) is still occupied with another train? It will still have to stop, right??

Thanks for your answers!

Benoit


I have similar "transitions" in the form of helices between my lower shadow yards and main levels on my layout. One helix is about 7m in length while the other is about 10m. Both are double track. While I use iTrain, the concepts should be the very similar.

I chose to divide my 10m helix into two blocks (for each of the double tracks), a lower and an upper, each roughly 5m in length. For my 7m helix I decided to leave it as a single block. More blocks aren't necessary for me as I wouldn't want a 2nd train entering the helix as soon as e.g. the first block of 4 blocks was free. If you leave the transition area as a single block, just keep in mind that no other train can enter that block until the previous train has completely vacated the block (at 8m in length, that could be a while). If you want the next train to at least have the possibility of entering sooner (e.g. when the previous train is in the final 4m of that transition area), you may want to have 2 blocks.

I can't speak for RocRail, but when it comes to iTrain, having a train longer than a block will not create a ghost train issue. While I tried to have most of my blocks longer than my longest train, it's not always possible. If a 4m train must stop in a 2m block, iTrain simply holds the previous block as occupied until the train has in fact vacated it. It knows how far a train has travelled and how long it is so it knows if the previous block has been vacated or not. To avoid this situation, you can mark shorter blocks as "critical" meaning that no train will enter it unless the next block in the route is also available to be reserved.

"how will this work if the longer train is not allowed to stop in a 2m block, but the 4th block (in the last 2 meters) is still occupied with another train? It will still have to stop, right??"

If a train is not permitted to stop it a block, it should never stop in that block. If the following block isn't available, I would expect the software not to allow the train to even enter that block (i.e. it stops in the previous block).

Hope this provides a bit more clarity than confusion!

Roland
My Layout Build | Märklin CS3+ | K-track | Merkur | Viessmann | LDT | iTrain | Modeling primarily DB EpIV-VI
Offline BenPerr  
#6 Posted : 25 July 2025 21:55:18(UTC)
BenPerr

United States   
Joined: 19/07/2023(UTC)
Posts: 32
Location: North Carolina, Charlotte
Hi Roland,

It helped me to understand the logic - thanks for your answer!!!
Offline JohnjeanB  
#7 Posted : 25 July 2025 23:56:08(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,601
Location: Paris, France
Hi Benoit
"staging block is adjacent to other blocks": in a fiddle yard, if one of the blocks is a staging B and others are normal blocks, for an unknown reason, the trains will be directed to normal block and only if all are full then to the staging block. This is a bit annoying so I created a program to compare the length of trains in the fiddle yard and then take the shortest to reverse and be forced to the staging block

In case of a short, I don't observe any issue. Simply at the end of day, you must wait until all moves are finished (true for the staging blocks but also for the turntable

Using normal blocks means you must pick a length that is bigger than the longest train. If you have a long strech (8 meters) it is not a problem

Staging blocks are really fun. It is advisable to select identical or similar length for sections. Better document which section goes with which sensor (I use multicolour flat ribbon cable.
Because the SB does not display which trains are in it, I wrote a program to display the trains like this
Sans titre.png

In my case, I have 7 segments that are approx 320 mm long each
In the example above the BR 06 train occupies 5 segments while the SVT 137 occupies only 2 segments.
Detection is by occupation detection of the last 30% of the segment length
I chose not to install detectors on the rest of each segment so I have 8 sensors for 7 segments (instead of 16 sensors for 7 segments
Works like a charm. My only regret: it is in a hidden zone so I cannot enjoy its operation.

Cheers
Jean
thanks 1 user liked this useful post by JohnjeanB
Offline BenPerr  
#8 Posted : 26 July 2025 00:29:08(UTC)
BenPerr

United States   
Joined: 19/07/2023(UTC)
Posts: 32
Location: North Carolina, Charlotte
Thanks Jean!

Helps me a lot to understand all this!
Offline PeFu  
#9 Posted : 26 July 2025 05:56:00(UTC)
PeFu

Sweden   
Joined: 30/08/2002(UTC)
Posts: 1,294
Originally Posted by: BenPerr Go to Quoted Post
Hi everyone, another question related to RocRail.

Oops, sorry I managed to overlook this info… RollEyes

Andreasburg-Mattiasberg Bahn is inspired by Swiss railways |Forum Thread |Track Plan |Youtube Channel | C and K track | CS2 | TrainController Gold
thanks 1 user liked this useful post by PeFu
Offline BenPerr  
#10 Posted : 07 August 2025 19:31:08(UTC)
BenPerr

United States   
Joined: 19/07/2023(UTC)
Posts: 32
Location: North Carolina, Charlotte
So, to better answer my own questions and get some definitive answers on the above, I decided to create a simple layouts to better understand the relationship between RocRail, sensors type and locations, and locomotives.
What I've found is (I think) worth sharing as I was not able to find this information upfront.

This is my test layout, trains are only going counter-clockwise.
The CS3 is connected to a 6-Boosters IoTT Silver Hat (in the center) which is powered by 2 x 18.5V switching mode power supply.
I only use 2 out of the 6 for this test (one powering the left side and the other powering the right side).
The turnout switching is done through servos (that's why the whole track is raised a bit), except for the crossovers that are using the normal Marklin electro-magnets.
The PCBs on the right side where all the wires go is an IoTT Green Hat that controls up to 16 servos and gather information from 32 sensors (isolated C-Track rail).
UserPostedImage

This is the Wintrack screenshot (green is "enter", cyan is "pre2In" and fuchsia is "in") for the different blocks.
UserPostedImage

This is the RocRail screenshots showing the various blocks (relating to the above sensors).
UserPostedImage

Here is what I found:

For the block B01A1 using 3 sensors (the fuchsia middle one is the 'pre2in', I am able to get very accurate stop using a 94mm track (FB3) for 'in'. This is based on the 'pre2in' (FB2) sensor being 172mm long with another 94mm between them. The 'pre2in' reduces the speed down to minimum and the 'in' stops it quickly. This works well for the MFX and FX decoder that have a F4 function to cancel the deceleration delay, but I found out that some FX decoders actually do not have this F4 function available, hence they are difficult to stop accurately. Also, there are some visible and abrupt speed change when the loco is going through the sensors - this is not an issue for me in hidden yards, but I'd like to get smoother deceleration when visible like stopping at a station.

Blocks with only 2 sensors ('Enter' and 'In') can also be relatively accurate for the stop if using BBT where RocRail calculate the deceleration in 10 steps based on the available block length. The fact that it 'learns' and adjust the stop and interval time each time it is being used is also nice, but it takes a few passes to get it right. I will be using this for the visible part of the layout as it presents a very smooth deceleration, but also need to find a solution for those FX without F4.

Finaly, I also tested a Staging Yard and I am not sure to yet understand everything about it and how it exactly works, namely that right now, the train briefly stops at the last sensor (F14A1) but then directly moves out to go to another block automatically. This can be stopped by 'closing' the Staging Yard but it then needs to be re-opened manually... need to do more reading around how to get to the bottom of it. As Jean mentioned, I can see that RocRails prefers to send a train towards the normal block B01A1 first if empty, and only to the Staging Block S01A1 if the previous is occupied - it does not seems to be random between the two.

Other things that I learned in the process:

- Do not place a sensor near/before a turnout (remember, I use slow servos to switch them) as some time is by RocRail to organize all the turnouts before the train gets there. Either I have to plan some distance or add some block starting delay to avoid running over the 1st turnout while it moves.

- The direction of the loco is important to be sure that the wheels without the rubber bands are in front. If not, the sensor using the isolated rail does not see a short-circuit till the back of the locomotive is over it. This leads to not stopping in the right spot and running over, especially with short sensor rails near turnouts (FB7 & FB9 in my case).

Hope this helps someone else though their own discovery.
Thanks for reading.

Edited by user 08 August 2025 02:39:46(UTC)  | Reason: Not specified

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.503 seconds.