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 fabstar68  
#1 Posted : 27 February 2025 11:23:23(UTC)
fabstar68

Italy   
Joined: 14/12/2023(UTC)
Posts: 60
Location: Milan
Hi all, i really need some help to understand how Rocrail works, when you want to move a loco manually from one block to another. I have the “use finder” enabled. I have manually created every possible routes from one block to all its neighbour blocks. In the route permission tab, “auto mode” parameter, I have set to “both” the routes that are ok for me to work in automatic mode. Instead, I have to to “schedule” the routes that I don’t want to be used in automatic mode. What I expected in this way, is that if a drag a loco from its current block to any other block in the layout, Rocrail should search and find a suitable set of routes, and start the loco. But that doesn’t work, or, at least, sometimes it works and sometimes it doesn’t. some other times it creates a temporary schedule. I really don’t get it. Even if I drag a loco from a block to the one just next to it, and there is a route correctly defined as “schedule”, it says “no fitting path available (usepath=0)”. Maybe I got it wrong about the correct way to set routes, if what I did is not the right way, which one is ? at the end of the day, what I need is to have some routes that are ok for automatic mode (random mode) while some others are not, and I need to be able to drag a loco from any block to another block and rocrail should find a way and start it. The “finder” settings in rocrail properties has deselected the “check permissions” flags. Thanks for any help

i HAVE AN UPDATE. I created a new plan from scratch, defined a few blocks, sensor and routes accordingly to the same strategy of my main plan, and in the new plan everything seems to work fine. Problem is, i cannot find any difference between the 2 plans with regards to the setting in the finder, blocks and routes involved. so i am back to square one.

Edited by user 27 February 2025 15:54:00(UTC)  | Reason: Not specified

Offline JohnjeanB  
#2 Posted : 27 February 2025 23:54:35(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,555
Location: Paris, France
Hi Fab
One thing must be clarified first:
- either you let Rocrail (RR) organize the operations (manage occupancy, which loco is where, etc) and then decide what loco to move and where.
- or you do the conducting and RR is a slave to you: doesn't know what you will do, rapidely, RR does not know anymore which train is where.

RR operations:
- it can be schedule-based like real trains (at 12:35 train ABC will leave station a to reach station b will depart after a wait of 2 minutes for staion d
- it can be fishbowl-based: a Train ABC is at station a and ready to depart, because station b is occupied, because station c is not allowed (see below), it will go to station d and will continue forever until out of solutions
- it can be drag & drop: you click on the block where train ABC is located (station a) and you drag yo another block XYZ and RR - if it finds a solution - will set the itineraries, open signals and start the train over multiple blocks until it arrives at destination, you click again for another destination.
For all the operation above, RR will manage the position of turnouts and the compatibility of itineraries, update the position of trains, let you have all the fun.
- one of these modes is NOT exclusive: you may have fish-bowl for certain trains, schedule for others and drag & drop for another group

Permissions
- for any part / ressource of you layout you may define restritions authorise trains A, d, g, h), authorise trains with steam, diesel or elctricity, TGVs, D Trains, local trains
- this allows fish-bowl operation to be close to reality: an electric train will not go to a non-electrified section, a railbus will not go on a main high-speed line
- you may check the lengths by indicating all block length and all train length so a long train will not go to a small block

Manual operations
- you define a zone (blocks, itineraries) where manual operation is permitted
- you set the turnouts positions for the needed itineraries, you verify that no train managed by RR will interfere with your manual trains, you set the signals
- manual zone can be a shunting yard where you prepare trains for a given destination and then pass them to RR for it to manage the auto way.

There are HUGE possibilities and I cannot list them all here

Routes
Although you may define them, it is much much better to let RR prepare them for you:
- RR will prepare ALL of them and without errors. Later, in a complex layout, you will find some routes to be stupid (perform a fonction by blocking too many resources (track pieces) when other do the same in a much simpler way.
- RR will set the tracks so that, when a train is "en route", the track goes from black to yellow

Cheers
Jean
thanks 2 users liked this useful post by JohnjeanB
Offline fabstar68  
#3 Posted : 28 February 2025 08:30:47(UTC)
fabstar68

Italy   
Joined: 14/12/2023(UTC)
Posts: 60
Location: Milan
that was extremly helpful. i can just thank you again for all the tips. but i add one weird thing. apparently, there was a problem with my locos settings in rocrail. i just created a new loco, i set all the settings equal to the one i was using, i canceled the actual one, and renamed the new one to the old one. and then it all worked.

i suppose this has something to do with the various updates of rocrail that i made in those months. one of it must have introduced something that "disturbed" the locos with regard to the schedule settings.

just to let someone know my experience, and try this trick when troubleshooting a problem.

Fab
Offline JohnMishler  
#4 Posted : 28 February 2025 14:01:37(UTC)
JohnMishler

United States   
Joined: 06/02/2014(UTC)
Posts: 60
Location: Sabetha KS and Mount Airy NC
Originally Posted by: JohnjeanB Go to Quoted Post
Hi Fab
One thing must be clarified first:
- either you let Rocrail (RR) organize the operations (manage occupancy, which loco is where, etc) and then decide what loco to move and where.
- or you do the conducting and RR is a slave to you: doesn't know what you will do, rapidely, RR does not know anymore which train is where.

RR operations:
- it can be schedule-based like real trains (at 12:35 train ABC will leave station a to reach station b will depart after a wait of 2 minutes for staion d
- it can be fishbowl-based: a Train ABC is at station a and ready to depart, because station b is occupied, because station c is not allowed (see below), it will go to station d and will continue forever until out of solutions
- it can be drag & drop: you click on the block where train ABC is located (station a) and you drag yo another block XYZ and RR - if it finds a solution - will set the itineraries, open signals and start the train over multiple blocks until it arrives at destination, you click again for another destination.
For all the operation above, RR will manage the position of turnouts and the compatibility of itineraries, update the position of trains, let you have all the fun.
- one of these modes is NOT exclusive: you may have fish-bowl for certain trains, schedule for others and drag & drop for another group

Permissions
- for any part / ressource of you layout you may define restritions authorise trains A, d, g, h), authorise trains with steam, diesel or elctricity, TGVs, D Trains, local trains
- this allows fish-bowl operation to be close to reality: an electric train will not go to a non-electrified section, a railbus will not go on a main high-speed line
- you may check the lengths by indicating all block length and all train length so a long train will not go to a small block

Manual operations
- you define a zone (blocks, itineraries) where manual operation is permitted
- you set the turnouts positions for the needed itineraries, you verify that no train managed by RR will interfere with your manual trains, you set the signals
- manual zone can be a shunting yard where you prepare trains for a given destination and then pass them to RR for it to manage the auto way.

There are HUGE possibilities and I cannot list them all here

Routes
Although you may define them, it is much much better to let RR prepare them for you:
- RR will prepare ALL of them and without errors. Later, in a complex layout, you will find some routes to be stupid (perform a fonction by blocking too many resources (track pieces) when other do the same in a much simpler way.
- RR will set the tracks so that, when a train is "en route", the track goes from black to yellow

Cheers
Jean


Jean, I've been reading your responses to Rocrail questions with growing curiosity and am considering migrating from CS3+ to Rocrail for train control. My questions would be the best learning path in doing so. I currently have a 4x8 layout with a couple of M83's and a M84 with 4 braking modules and something like 8 ports used on a S88. All works fine with my CS3+ but I'm currently planning a layout expansion that would require more investment in digital items and am thinking Rocrail may help reduce my costs. Would the best learning approach be to maintain my current layout while adding a small, dedicated oval defined with 3 or 4 blocks and setting up Rocrail to first just run some locs/trains on that dedicated test oval? Might you have other suggestions for me to slowly migrate from CS3 to Rocrail?

Thanks, John
John
Check out progress on my layout here.
Offline JohnjeanB  
#5 Posted : 28 February 2025 15:07:31(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,555
Location: Paris, France

Hi John
The best way to get started with Rocrail is to load the demo layouts together with the software and replicate one of them on a temporary basis
That way you avoid misunderstanding the way it works
RR needs 1 or 2 sensors per block
You will need:
- first to configure which central station you are using
- next is to create track sensors and to link them with blocks
- next is to enter locos (address protocol name picture fonctions
- later insert turnout address protocol name

Let the fun roll
Cheers
Jean


thanks 1 user liked this useful post by JohnjeanB
Offline fabstar68  
#6 Posted : 28 February 2025 20:45:14(UTC)
fabstar68

Italy   
Joined: 14/12/2023(UTC)
Posts: 60
Location: Milan
go with rocrail and you will not regret it. i also have a cs3+, i never even try to use it to control the trains. went straight to RR. and it's another dimension. have fun, and ask here for help.
Offline JohnMishler  
#7 Posted : 02 March 2025 03:13:55(UTC)
JohnMishler

United States   
Joined: 06/02/2014(UTC)
Posts: 60
Location: Sabetha KS and Mount Airy NC
Many thanks to you both. Given Jean’s suggestion I plan to replicate the wiki demo layout as a test bed and once I’ve learned a bit I’ll put together a plan to migrate control for my layout to RR (assuming my testing and learning go well).

John
John
Check out progress on my layout here.
Offline JohnMishler  
#8 Posted : 06 March 2025 00:05:08(UTC)
JohnMishler

United States   
Joined: 06/02/2014(UTC)
Posts: 60
Location: Sabetha KS and Mount Airy NC
Thank you for the offer of help. I'm preparing to order track for my testing of the wikidemo layout. As I mentioned, I'm using my CS3+ for my current layout but do have open S88 ports and open ports on a M83 for the turnouts. Are there reasons that I would need to disconnect my CS3 from my current layout during testing or can I continue to use it for that layout while testing the RR wikidemo layout?
John
Check out progress on my layout here.
Offline White Buffalo  
#9 Posted : 02 April 2025 03:50:54(UTC)
White Buffalo

United States   
Joined: 29/12/2016(UTC)
Posts: 498
Location: South Dakota
Originally Posted by: JohnjeanB Go to Quoted Post
Hi Fab
One thing must be clarified first:
- either you let Rocrail (RR) organize the operations (manage occupancy, which loco is where, etc) and then decide what loco to move and where.
- or you do the conducting and RR is a slave to you: doesn't know what you will do, rapidely, RR does not know anymore which train is where.

RR operations:
- it can be schedule-based like real trains (at 12:35 train ABC will leave station a to reach station b will depart after a wait of 2 minutes for staion d
- it can be fishbowl-based: a Train ABC is at station a and ready to depart, because station b is occupied, because station c is not allowed (see below), it will go to station d and will continue forever until out of solutions
- it can be drag & drop: you click on the block where train ABC is located (station a) and you drag yo another block XYZ and RR - if it finds a solution - will set the itineraries, open signals and start the train over multiple blocks until it arrives at destination, you click again for another destination.
For all the operation above, RR will manage the position of turnouts and the compatibility of itineraries, update the position of trains, let you have all the fun.
- one of these modes is NOT exclusive: you may have fish-bowl for certain trains, schedule for others and drag & drop for another group

Permissions
- for any part / ressource of you layout you may define restritions authorise trains A, d, g, h), authorise trains with steam, diesel or elctricity, TGVs, D Trains, local trains
- this allows fish-bowl operation to be close to reality: an electric train will not go to a non-electrified section, a railbus will not go on a main high-speed line
- you may check the lengths by indicating all block length and all train length so a long train will not go to a small block

Manual operations
- you define a zone (blocks, itineraries) where manual operation is permitted
- you set the turnouts positions for the needed itineraries, you verify that no train managed by RR will interfere with your manual trains, you set the signals
- manual zone can be a shunting yard where you prepare trains for a given destination and then pass them to RR for it to manage the auto way.

There are HUGE possibilities and I cannot list them all here

Routes
Although you may define them, it is much much better to let RR prepare them for you:
- RR will prepare ALL of them and without errors. Later, in a complex layout, you will find some routes to be stupid (perform a fonction by blocking too many resources (track pieces) when other do the same in a much simpler way.
- RR will set the tracks so that, when a train is "en route", the track goes from black to yellow

Cheers
Jean


Great explanation JohnJean.ThumpUp I am still a novice to this software system but getting better at it. I will admit I did struggle as first, for many hours. Because I did not take the time to use the Demo Wiki first.

Offline JohnjeanB  
#10 Posted : 02 April 2025 09:32:35(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,555
Location: Paris, France
Hi Rich
Thanks Glad to be of any halp.
Jean
Offline JohnMishler  
#11 Posted : 04 April 2025 03:19:08(UTC)
JohnMishler

United States   
Joined: 06/02/2014(UTC)
Posts: 60
Location: Sabetha KS and Mount Airy NC
I've spent the last couple of days creating a dedicated rocrail line in my current layout that is essentially a double reversing dogbone consisting of 5 blocks. It can successfully operate fully automatic with 2 lok's but when I add a 3rd (which I think the layout should support) rocrail will eventually auto-route itself into a corner. Below is a screenshot of the piece of my layout I have dedicated to Rocrail control. As I said, when I add a 3rd lok, rr will eventually route lok's to b_A, b_B, and b_C thus leaving no way to get a lok to a free block. Am I missing something in my setup or are 3 lok's simply too many for the layout?

By the way, I really appreciate the encouragement to move forward with RR and plan to eventually update the rest of my layout to full RR automation, remove existing braking modules, and expand the layout to include a shadow station as well as a manually operated yard. I first want to learn on this dedicated piece before beginning those expansions and understanding this limitation will aid my learning.

Thank you in advance for any insights you might offer...

John
John
Check out progress on my layout here.
Offline JohnjeanB  
#12 Posted : 04 April 2025 12:53:54(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,555
Location: Paris, France
Hi John
You simply need to declare the block C as a crossing block so as to avoid locking situation
In Lemon language no train will be permitted to go to block C unless it can go further (next block is free)
Cheers
Jean
Offline JohnMishler  
#13 Posted : 04 April 2025 15:08:37(UTC)
JohnMishler

United States   
Joined: 06/02/2014(UTC)
Posts: 60
Location: Sabetha KS and Mount Airy NC
Thanks! I’ll give that a go latter today.

John
John
Check out progress on my layout here.
Offline JohnjeanB  
#14 Posted : 04 April 2025 17:27:15(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,555
Location: Paris, France
Hi John
I realized that my answer was vague.
In English those blocks are called VIA BLOCKs
They are not declared in blocks but rather in routes
On a section with ONE or multiple blocks in a two-way track, it is easy to understand that without precautions taken, one train can engage in this one-track-bi-directional section while at the other extremity, onother train could engage in the reverse direction. So each train would continue until there are no more free blocks ahead of them and the will stop Rocrail would be stuck! BECAUSE you did not tell Rocrail the whole story.

So, in short, it is about creating a route from b_B to b_D where a VIA block is declared b_C.
Not to forget the other direction by creating a route from b_E to b_A where a VIA block is declared b_C
As you understand this could be made for ANY number of VIA block (in your case, only one)
The result as I said before is the route would be free ONLY if the destination is free (b_D and b_A depen ding on the direction).


Here is some documentation
https://wiki.rocrail.net/doku.ph...n-en#crossing_via_blocks

Cheers
Jean
Offline JohnMishler  
#15 Posted : 04 April 2025 17:34:51(UTC)
JohnMishler

United States   
Joined: 06/02/2014(UTC)
Posts: 60
Location: Sabetha KS and Mount Airy NC
Originally Posted by: JohnjeanB Go to Quoted Post
Hi John
I realized that my answer was vague.
In English those blocks are called VIA BLOCKs
They are not declared in blocks but rather in routes
On a section with ONE or multiple blocks in a two-way track, it is easy to understand that without precautions taken, one train can engage in this one-track-bi-directional section while at the other extremity, onother train could engage in the reverse direction. So each train would continue until there are no more free blocks ahead of them and the will stop Rocrail would be stuck! BECAUSE you did not tell Rocrail the whole story.

So, in short, it is about creating a route from b_B to b_D where a VIA block is declared b_C.
As you understand this could be made for ANY number of VIA block (in your case, only one)
The result as I said before is the route would be free ONLY if the destination is free (b_D and b_A depen ding on the direction).


Here is some documentation
https://wiki.rocrail.net/doku.ph...n-en#crossing_via_blocks

BTW: doing this means that Rocrail could manage 4 trains with your 5 blocks
Cheers
Jean


Thanks. I saw that was the case and did a quick test this morning but my results were not successful. When I tested I removed the routes that had b_C as either the origin or destination blocks. Perhaps I need to leave those and manuallly add the other two routes to include via b_C. At least that is what I will try. Again, many thanks as I learn more. John
John
Check out progress on my layout here.
Offline JohnjeanB  
#16 Posted : 04 April 2025 17:44:16(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,555
Location: Paris, France
If you used the router to create routes, I think you must:
- delete routes b_B to b_C, b_C to b_D, b_E to b_C, b_C to b_A (If you leave them, then RR can still be stuck)
- add manually a route from b_B to b_D using b_C as a via Block
- add manually a route from b_E to b_A using b_C as a via Block
Cheers
Jean
thanks 1 user liked this useful post by JohnjeanB
Offline JohnMishler  
#17 Posted : 04 April 2025 23:04:09(UTC)
JohnMishler

United States   
Joined: 06/02/2014(UTC)
Posts: 60
Location: Sabetha KS and Mount Airy NC
Originally Posted by: JohnjeanB Go to Quoted Post
If you used the router to create routes, I think you must:
- delete routes b_B to b_C, b_C to b_D, b_E to b_C, b_C to b_A (If you leave them, then RR can still be stuck)
- add manually a route from b_B to b_D using b_C as a via Block
- add manually a route from b_E to b_A using b_C as a via Block
Cheers
Jean


Jean, I reworked my routes this afternoon deleting those that contained b_C and adding the b_B to b_D and b_E to b_A both with via b_C and it woeks perfectly. I thought that is what I tried this morning but evidently, I had done something incorrectly. Also this afternoon I learned how to address switches and signals so I think I'm coming up to speed well. Your help has been very valuable and much appreciated.

Take care, John.
John
Check out progress on my layout here.
thanks 1 user liked this useful post by JohnMishler
Offline White Buffalo  
#18 Posted : 06 April 2025 19:01:07(UTC)
White Buffalo

United States   
Joined: 29/12/2016(UTC)
Posts: 498
Location: South Dakota
JohnJean,

In a topic I can not find. You mentioned getting familiar with Rocrail through the Wiki Demo. I went back to this step so I can understand Rocrail better.

I thought you had mentioned migrating another plan into the Demo. Could you expand on that?
Offline JohnjeanB  
#19 Posted : 06 April 2025 23:43:56(UTC)
JohnjeanB

France   
Joined: 04/02/2011(UTC)
Posts: 3,555
Location: Paris, France
Hi Rich
When loading Rocrail you may also load demo layouts
Download
https://wiki.rocrail.net/doku.php?id=download-int
You must select a file appropriate to your computer
once downloaded, you get a zip file
If you look down the page mentionned above you find this
Sans titre.png

These demos (must chose the one you like) come ready to run in virtual mode.
This means that when you first start Rocrail you have a VIRTUAL CENTRAL UNIT
It means that you will run virtual locos, in absence of any physical layout

This helps you understand how Rocrail works.
You have a loco on one of the blocks
You may start it as if it was real BUT you must tell Rocrail the sensor changes.

In the demo on the left (simpler one
- the loco named "E03" is in block 04 and its direction is towards Block 01
- when you turn the power ON and the Auto is on
- then the loco starts: the new destination of THIS loco (E03) shows in yellows in Block 1. You will see that the loco speed is not zero anymore
- BUT it does not move because the move is measured by the feedback of sensors. It is UP TO YOU to simulate the progress of the loco first on sensor fa1a and then on fbb
- when done that, the loco has changed from Block 04 to Block 01

Here is a video on Rocrail in Demo operation


I hope all this will help get you started
Cheers
Jean


thanks 3 users liked this useful post by JohnjeanB
Offline White Buffalo  
#20 Posted : 07 April 2025 06:29:51(UTC)
White Buffalo

United States   
Joined: 29/12/2016(UTC)
Posts: 498
Location: South Dakota
Ausgezeichnet! excellent, merci beaucoup!

Exactly what I needed

Much appreciated BigGrin

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