User Tools

Site Tools


userpages:hermannk:station_properties-en

Station properties

Preface

Preface 1:
This documentation was created as of: date 09.04.2025

Area Details Remarks
Software Rocrail Version 2.1.5666+ (macOS "Sequoia" on Apple M2 CPU)
Computer MacBook Pro (M2) macOS 15.3.2 (Sequoia)
- - keywords: block, properties, platform, automatic driving

Preface 2:
- use this solution at your own risk;
- regular data backups of the Rocrail workspace are recommended.

A) User request

How can a block be configured to serve as a station for different types of locomotives/trains?

B) Solution details

This principal Rocrail plan is used for this solution.

The "ice station" is just a parking position for all test locomotives.
The "regional station" and the "local station" are looked at in more detail.

Signals with orange background are "manual operated"; so starting all locomotives virtually can be influenced by setting some signals to green to let the corresponding locomotives start running for a test.

The list of locomotive types is reduced to "ice", "regional", "local, "freight", "others" and a "commuter" locomotive.
- The user can extend this solution for themselves.
- This solution is valid for using Rocrail "locomotives" and Rocrail "trains".
- - By using trains, the train-type of the train overrules the locomotive-type.
- For locomotive types and block types see Block types and train types

Although all blocks are configured with "Wait = YES" not all locomotive types should stop.

This solution uses "Block / Details / Type" - see Wait details

and "Block / Permissions / Type" to handle the different requirements - see Type.

With "Block / Details / Type"
- a locomotive of the same type will run through the block ()
- or will follow the waiting parameters ().
With "Block / Permissions / Type"
- a locomotive of the same type can use this block ()
- or will be excluded from this block ().

B1) Ice

Locomotives of type "ice" (intercity) should only use the straight line und should normally not stop at the two stations "Regional station" and "Local station":

Station Block Permission Type Remarks
Regional bk11 YES Type selected, no wait the locomotive of type "ice" runs through this block
bk12 NO Type not selected the locomotive of type "ice" will not use this block
Local bk21 YES Type selected, no wait the locomotive of type "ice" runs through this block
bk22 NO Type not selected the locomotive of type "ice" will not use this block

B2) Regional

Locomotives of type "Regional" should stop at both blocks of "Regional station" but should normally not stop at the "Local station":

Station Block Permission Type Remarks
Regional bk11 YES Type selected the locomotive of type "Regional" will stop at this block
bk12 YES Type selected the locomotive of type "Regional" will stop at this block
Local bk21 YES Type selected, no wait the locomotive of type "Regional" runs through this block
bk22 NO Type not selected the locomotive of type "Regional" will not use this block

B3) Local

Locomotives of type "Local" are only allowed to use and stop at block bk12 of "Regional station" and to use and stop at block bk21 of "Local station":

Station Block Permission Type Remarks
Regional bk11 NO Type not selected the locomotive of type "Local" will not use this block
bk12 YES Type selected the locomotive of type "Local" will stop at this block
Local bk21 YES Type selected the locomotive of type "Local" will stop at this block
bk22 NO Type not selected the locomotive of type "Local" will not use this block

B4) Freight

Locomotives of type "Freight" should only use the straight line und should normally not stop at the two stations "Regional station" and "Local station":

Station Block Permission Type Remarks
Regional bk11 YES Type selected, no wait the locomotive of type "Freight" runs through this block
bk12 NO Type not selected the locomotive of type "Freight" will not use this block
Local bk21 YES Type selected, no wait the locomotive of type "Freight" runs through this block
bk22 NO Type not selected the locomotive of type "Freight" will not use this block

B5) Others

Locomotives of type "Others" may use all blocks of "Regional station" and "Local station" but should not stop anywhere.

Station Block Permission Type Remarks
Regional bk11 YES Type selected, no wait the locomotive of type "Others" runs through this block
bk12 YES Type selected, no wait the locomotive of type "Others" runs through this block
Local bk21 YES Type selected, no wait the locomotive of type "Others" runs through this block
bk22 YES Type selected, no wait the locomotive of type "Others" runs through this block

B6) Commuter

This "Commuter" locomotive should only use, stop and swap direction at block bk12 of "Regional station" and block bk22 of "Local station":

Station Block Permission Type Remarks
Regional bk11 YES - this "Commuter" locomotive will not use this block (see below)
bk12 YES - this "Commuter" locomotive will stop at this block and swap direction (see below)
Local bk21 NO - this "Commuter" locomotive will not use this block
bk22 YES - this "Commuter" locomotive will stop at this block and swap direction

Additional configurations for this "Commuter" locomotive:
- Route "[bk22+]-[bk12-]" / General / Options / Swap logical direction post = YES - see Swap logical direction post
- - with that the locomotive will never run further on to the left.
- Route "[bk12-]-[bk22+]" / General / Options / Swap logical direction post = NO - see Swap logical direction post
- - the swap is done by Rocrail because block bk22 is a "Terminal station". - see Terminal Station

C) The Workspace

The download workspace " station_properties.zip" contains the following files:

File Remark
plan.xml die Rocrail-Plan-File

back to Solution details.

Open the workspace;
- start automatic mode;
- start all locomotives virtually (if possible);
- set one or more of the manual operated (orange) signals to green;
- watch and check the usage of blocks.
Hint:
- all locomotives will not stop at the "ice station" because the manual operated signals are not reset.

Have fun.
Use the Rocrail forum for any questions.

userpages/hermannk/station_properties-en.txt · Last modified: 2025/04/10 22:12 by hermannk