How to Control Signals in Sessions

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m (Application 1: Fixed Signals)
m
Line 1: Line 1:
The information in this Wiki Page applies to '''TANE''', '''TRS19''' and '''Trainz Plus'''. It gives examples of how signals can be controlled using Session Rules.
+
The information in this Wiki Page applies to '''TANE''', '''TRS19''', '''Trainz Plus''' and '''TRS22'''. It gives examples of how signals can be controlled using Session Rules.
  
 
__TOC__
 
__TOC__
 
<br>
 
<br>
<table cellpadding="4" bgcolor=#c1e7e7>
+
<table cellpadding=4 bgcolor=#c1e7e7>
 
<tr valign="top">
 
<tr valign="top">
 
<td>[[file:DotPoint.JPG|link=]]</td>
 
<td>[[file:DotPoint.JPG|link=]]</td>
Line 23: Line 23:
 
='''Application 1: Fixed Signals'''=
 
='''Application 1: Fixed Signals'''=
  
<table cellpadding="4" bgcolor=#ffffff>
+
<table cellpadding=4 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
 
<td width="58">[[file:binoculars.PNG|link=]]</td>
 
<td width="58">[[file:binoculars.PNG|link=]]</td>
Line 32: Line 32:
 
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. The signals will not reset to '''STOP''' when passed by a train.
 
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. The signals will not reset to '''STOP''' when passed by a train.
 
<br><br>
 
<br><br>
<table cellpadding="4" bgcolor=#ffffff>
+
<table cellpadding=4 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
 
<td width="58">[[file:RulesWiki.PNG|link=]]</td>
 
<td width="58">[[file:RulesWiki.PNG|link=]]</td>
Line 42: Line 42:
 
*'''[[Session_Rule_List_with_Parameters#Set_Signal_Extended_Rule|Set Signal Extended Rule]]''' to set signals to the required state. This rule can only set a single signal at a time.
 
*'''[[Session_Rule_List_with_Parameters#Set_Signal_Extended_Rule|Set Signal Extended Rule]]''' to set signals to the required state. This rule can only set a single signal at a time.
 
<br>
 
<br>
<table cellpadding="4" bgcolor=#ffffff>
+
<table cellpadding=4 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
 
<td width="58">[[file:screenshot.PNG|link=]]</td>
 
<td width="58">[[file:screenshot.PNG|link=]]</td>
Line 55: Line 55:
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding="4" bgcolor=#ffffff>
+
<table cellpadding=4 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
 
<td width="58">[[file:explanation.PNG|link=]]</td>
 
<td width="58">[[file:explanation.PNG|link=]]</td>
Line 72: Line 72:
 
<td valign="top"><br>
 
<td valign="top"><br>
 
When the '''Set Signal Extended Rule''' is opened for editing (shown left):-
 
When the '''Set Signal Extended Rule''' is opened for editing (shown left):-
<table cellpadding="4" bgcolor=#ffffff>
+
<table cellpadding=4 bgcolor=#ffffff>
 
<tr>
 
<tr>
 
<td colspan="2">
 
<td colspan="2">
Line 104: Line 104:
 
</table>
 
</table>
 
</td>
 
</td>
</tr>
 
<table width="100%">
 
<tr valign="top">
 
<td align="right">[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
 
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
<br>
 
<table> <!-- BEGIN Nav Buttons Table -->
 
<table> <!-- BEGIN Nav Buttons Table -->
 
<tr valign="top">
 
<tr valign="top">
Line 119: Line 116:
 
</tr>
 
</tr>
 
</table> <!-- END Nav Buttons Table -->
 
</table> <!-- END Nav Buttons Table -->
 
 
='''Application 2: Halt Before Clear'''=
 
='''Application 2: Halt Before Clear'''=
  
<table cellpadding="4" bgcolor=#ffffff>
+
<table cellpadding=4 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
 
<td width="58">[[file:binoculars.PNG|link=]]</td>
 
<td width="58">[[file:binoculars.PNG|link=]]</td>
Line 131: Line 127:
 
A train approaching a signal must come to a complete stop before the signal is changed from '''STOP''' to '''PROCEED'''.
 
A train approaching a signal must come to a complete stop before the signal is changed from '''STOP''' to '''PROCEED'''.
 
<br><br>
 
<br><br>
<table cellpadding="4" bgcolor=#ffffff>
+
<table cellpadding=4 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
 
<td width="58">[[file:conditions.PNG|link=]]</td>
 
<td width="58">[[file:conditions.PNG|link=]]</td>
Line 146: Line 142:
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding="4" bgcolor=#ffffff>
+
<table cellpadding=4 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
 
<td width="58">[[file:RulesWiki.PNG|link=]]</td>
 
<td width="58">[[file:RulesWiki.PNG|link=]]</td>
Line 158: Line 154:
 
*'''[[Session_Rule_List_with_Parameters#Set_Signal_Extended_Rule|Set Signal Extended Rule]]''' to clear the signal after the train has stopped.
 
*'''[[Session_Rule_List_with_Parameters#Set_Signal_Extended_Rule|Set Signal Extended Rule]]''' to clear the signal after the train has stopped.
 
<br>
 
<br>
<table cellpadding="4" bgcolor=#ffffff>
+
<table cellpadding=4 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
 
<td width="58">[[file:screenshot.PNG|link=]]</td>
 
<td width="58">[[file:screenshot.PNG|link=]]</td>
Line 171: Line 167:
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding="4" bgcolor=#ffffff>
+
<table cellpadding=4 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
 
<td width="58">[[file:explanation.PNG|link=]]</td>
 
<td width="58">[[file:explanation.PNG|link=]]</td>
Line 184: Line 180:
  
 
If the train passes the signal without stopping then the [[file:WikiLink.PNG|link=]] '''[[#Signal Passed at Danger Rule|Signal Passed at Danger Rule]]''' can be used to deal with the situation.
 
If the train passes the signal without stopping then the [[file:WikiLink.PNG|link=]] '''[[#Signal Passed at Danger Rule|Signal Passed at Danger Rule]]''' can be used to deal with the situation.
<table width="100%">
+
<br>
<tr valign="top">
+
<td align="right">[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
+
</tr>
+
</table>
+
 
<table> <!-- BEGIN Nav Buttons Table -->
 
<table> <!-- BEGIN Nav Buttons Table -->
 
<tr valign="top">
 
<tr valign="top">
Line 202: Line 194:
  
 
='''Trainz Wiki'''=
 
='''Trainz Wiki'''=
<table cellpadding="4" bgcolor=#ffffff>
+
<table cellpadding=4 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
 
<td>[[file:TrainzWiki.png|link=]]</td>
 
<td>[[file:TrainzWiki.png|link=]]</td>

Revision as of 21:53, 14 March 2022

The information in this Wiki Page applies to TANE, TRS19, Trainz Plus and TRS22. It gives examples of how signals can be controlled using Session Rules.

Contents


DotPoint.JPG Signals can be controlled by Session Rules during the running of a Session.


The following applications give examples of using Session Rules to control signals.

  Top   Next Down Bottom

Application 1: Fixed Signals

Binoculars.PNG 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. The signals will not reset to STOP when passed by a train.

RulesWiki.PNG Rules Used:


Screenshot.PNG Session Editor Screenshot:

SetFixedSignals.JPG


Explanation.PNG Description:

  • 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.

SetSignalProceed.JPG

When the Set Signal Extended Rule is opened for editing (shown left):-


Steps.PNG Steps:
  1. Select the signal name from the session list
  2. Select the signal state from the list of available states
  3. Click the Tick.PNG icon

Stop.PNG The state selected for the signal must be supported on that particular signal otherwise no change will occur.


  Top Next Up   Bottom

Application 2: Halt Before Clear

Binoculars.PNG The Scenario:

A train approaching a signal must come to a complete stop before the signal is changed from STOP to PROCEED.

Conditions.PNG Preconditions:

  • Set Signal Extended Rule to initially set the signal to STOP.
  • This scenario uses the Directional Trigger from the DLS (<kuid:76656:70010> shown below) to make sure that only trains approaching the facing signal will trigger the rule. Trains travelling in the opposite direction will not trigger the rule.
DirectionalTriggerObject.JPG


RulesWiki.PNG Rules Used:


Screenshot.PNG Session Editor Screenshot:

DirectionalTriggerSession.JPG


Explanation.PNG Description:

  • Line 1: Directional Trigger Check set to trigger when a train approaches the signal from the facing direction.
    • Line 2: Wait on Train Stop/Start set to trigger when the train stops moving.
      • Line 3: Wait for 10 seconds.
        • Line 4: Set Signal Extended sets the signal to AUTOMATIC or PROCEED.

If the train passes the signal without stopping then the WikiLink.PNG Signal Passed at Danger Rule can be used to deal with the situation.

  Top Next Up    


Trainz Wiki

TrainzWiki.png

More Tutorials and Guides to Using Trainz


This page was created by Trainz user pware in May 2018 and was last updated as shown below.


Personal tools