User Tools

Site Tools


userpages:hermannk:locostopinblock-en

Locomotive stop in a block

Preface

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

Area Details Remarks
Software Rocrail Version 2.1.5751+ (macOS "Sequoia" on Apple M2 CPU)
Computer MacBook Pro (M2) macOS 15.4.1 (Sequoia)
- - keywords: locomotive, block, properties, types, wait, automatic driving, schedule

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

A) General questions

At what circumstances does a locomotive stop in a block?
At what circumstances does a locomotive not stop in a block?

B) Explanation details

This principal Rocrail plan is used for this documentation.

The "Parking station" is just a parking position for all test locomotives.
The other stations with Wait=NO and Wait=YES 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.

For each test a locomotive is defined.
- 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

Configuration of block bk11:
-
Three types of locomotives/trains are allowed to use block bk11: Local, Others and Regional.
A locomotive of type "Local" will use block bk11 as a preferred destination and the locomotive will stop there.
A locomotive of type "Regional" will use block bk11 and the locomotive will not stop there.


Configuration of block bk21:
-
Three types of locomotives/trains are allowed to use block bk21: Local, Others and Regional.
A locomotive of type "Local" will use block bk21 as a preferred destination and the locomotive will stop there.
A locomotive of type "Regional" will use block bk21 as a preferred destination but the locomotive will not stop there.

B1) The lokomotive uses the block wait settings

The locomotive will run through block bk11 and will stop in block bk21 because of the (almost) standard settings of the locomotive and of the blocks.

Setup: Block properties bk11 / Details / Wait / Type = no; so the locomotive will run through.
Block properties bk21 / Details / Wait / Type = Fixed 5 sec.; so the locomotive will stop.
Result:
Link: see Block Wait

B2) Next block is not usable

Although the block bk11 is configured with Wait=NO the locomotive will stop in block bk11 because the next block bk21 is not usable (for example the block is "out of oder").

Setup: Block properties bk11 / Details / Wait / Type = no
Block bk21 is "out of oder"
Result:
Link: see Put out of operation

B3) Locomotive with own wait time

The locomotive follows the block wait settings accept that the locomotive will use its own wait time.

Setup: Locomotive properties / Details / Use own wait time in blocks = ON
Locomotive properties / Datails / Block wait time = xxx seconds
Result:
Link: see Use own wait time in blocks
see Block wait time

B4) Block settings

The locomotive of typ "Regional" will not stop in block bk11 because of the block wait settings.

Setup: Locomotive properties / Details / Train type = "Regional"
Block properties bk11 / Details / Wait / Type = no
Block properties bk11 / Details / Type = NO "Regional"
Result:
Link: see Wait
see Type

The locomotive of typ "Regional" will not stop in block bk21 because of the block type settings.

Setup: Locomotive properties / Details / Train type = "Regional"
Block properties bk21 / Details / Wait / Type = Fixed 5 sec.
Block properties bk21 / Details / Type = YESbutNoWait "Regional"
Result:
Link: see Wait
see Type

B5) Schedule with no wait

The locomotive will run through block bk11 and through block bk21.

Setup: Rocrail properties / Automatic / Block / Block wait for schedules = OFF
Locomotive properties / Details / use schedule departure time = ON
Schedule properties / Destinations / bk11 / Departure / Regular stop = OFF
Schedule properties / Destinations / bk21 / Departure / Regular stop = OFF
Result:
Link: see Use schedules departure time

B6) Schedule with wait everywhere

The locomotive will wait in block bk11 and will wait in block bk21.

Setup: Rocrail properties / Automatic / Block / Block wait for schedules = OFF
Locomotive properties / Details / use schedule departure time = ON
Schedule properties / Destinations / bk11 / Departure / Regular stop = ON
Schedule properties / Destinations / bk21 / Departure / Regular stop = ON
Result:
Link: see Use schedules departure time

B7) Locomotive with wait in all blocks

The locomotive will wait in block bk11 and will wait in block bk21.

Setup: Locomotive properties / Details / Wait in all blocks = ON
Attention: The Block wait time defined for this locomotive is used.
Result:
Link: see Wait in all blocks

C) The Workspace

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

File Remark
plan.xml die Rocrail-Plan-File
ac_get_infos.xml optional XMLScript to display the active parameters

back to Explanation details.

Open the workspace;
- start automatic mode;
- start one locomotive for testing;
- set the corresponding manual operated (orange) signals to green;
- watch and check the usage of blocks.

Have fun.
Use the Rocrail forum for any questions.

userpages/hermannk/locostopinblock-en.txt · Last modified: 2025/05/16 13:19 by hermannk