User Tools

Site Tools


userpages:hermannk:terminalstationshortin-en

How to handle a Terminal Station?

This wiki post originated from a request for a solution with Rocrail.

The facts: Simplified, there is an oval with two opposite trains and a siding.

Current sensors are installed as sensors and only the locomotives are recognized by the sensors. The wagons do not consume electricity and are therefore not recognized by the sensors. The siding forms the terminal station for this solution.
Nothing should be changed in these circumstances!


The operational flow: a locomotive with wagons drives from the right into a terminal station. Two cases are considered in this documentation:
1) the locomotive is at the front of the train (i.e. the train moves forward into the terminal station with the locomotive ahead);
2) The locomotive is at the rear of the train (i.e. the train goes backwards to the terminal station with the wagons ahead).
In both cases it is assumed that only the locomotive can trigger a sensor (the wagons should not be able to trigger sensors).
Question: how can the train be stoped in time under these conditions?

Proposed solution

Rocrail offers the possibility to use a sensor for the event "SHORTIN" in addition to the events for "enter" and "in". This "shortin" sensor takes over the function of the "in" sensor, if this has been configured accordingly in the properties of the locomotive:
- Locomotive / Properties / Details / "Use shortin event" = YES
The "shortin" sensor is placed directly behind the "enter" sensor.

Option 1

If the locomotive drives to the terminal station in front of the train, the "SHORTIN" sensor has no meaning. The locomotive travels to the "IN" sensor and stops there.
- Locomotive / Properties / Details / "Use shortin event" = NO (default)

Option 2

If the locomotive pushes the train into the station, the "SHORTIN" sensor takes over the "IN" event if the locomotive has been configured accordingly!
- Locomotive / Properties / Details / "Use shortin event" = YES !!!

Implementation with Rocrail

The block identifier is "bk02".
The block "bk02" has sensors for the events ENTER, IN and SHORTIN.
The block "bk02" should always be longer than the longest train (locomotive with wagons) that occupies this block.

The sensors are called "fb02+", "fb02-" and "fb02s".
"fb02+" on the plus side of the block;
"fb02-" on the minus side of the block.
"fb02s" on the minus side of the block (between "fb02+" and "fb02-").

More Details

In this example, the sensors are to be implemented as current sensors. Only the locomotive triggers these sensors!
The length of a sensor should be as long as the locomotive needs to come to a complete stop within the sensor (i.e. does not drive beyond the sensor ! ).

Configuration

Block

In this example, the minus side of the block is the "enter" side of the block; so
- sensor "fb02-" is responsible for the "enter" event and
- sensor "fb02+" is responsible for the "in" event.
- sensor "fb02s" is responsible for the "shortin" event.

Locomotive

The locomotives have to be configured as follows:


Test


The locomotive "lc_b1" is at the front of the train.
The locomotive "lc_b2" is at the rear of the train.

Plan file terminalstation_shortin.zip

userpages/hermannk/terminalstationshortin-en.txt · Last modified: 2020/07/29 13:47 by hermannk