How to Control Signals in Sessions
From TrainzOnline
The screenshots shown below give examples of how signals can be controlled in sessions.
Application 1: Fixed Signals
1. The Scenario:
It is after hours and all the signal staff on a single track branch line have clocked off for the night. All approach and depart signals on the line are locked at PROCEED and safe working is now the responsibility of the train crew.
2. Rules Used:
- Ordered List Rule creates a "container" for all the Set Signal Extended rules.
- Set Signal Extended Rule to set signals to the required state. This rule can only set a single signal at a time.
3. Session Rules Screenshot:
4. Example Explanation:
- Line 1: Ordered List Not absolutely necessary but it places all the Set Signal Extended rules in a single container
- Line 2: Set Signal Extended The first signal along the route is fixed at PROCEED
- Line 3: Set Signal Extended The next signal along the route is fixed at PROCEED.
...and this is repeated for all the signals along the route.
Application 2:
1. The Scenario:
A train approaching the home signal before a yard must come to a complete stop before the signal is changed from STOP to PROCEED.
2. Preconditions:
- Set Signal Extended Rule to clear the signal after the train has stopped moving.
3. Rules Used:
- Trigger Check Rule to trigger the event.
- Wait on Train Stop/Start Rule to trigger an event when the consist stops moving.
- Wait Rule to wait a set time interval.
- Set Signal Extended Rule to set signals to the required state.
4. Session Rules Screenshot:
5. Example Explanation: