How to Control Signals in Sessions

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m
Line 14: Line 14:
 
<table cellpadding="4" bgcolor=#ffffff>
 
<table cellpadding="4" bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td>[[file:binoculars.PNG]]</td>
+
<td width="58">[[file:binoculars.PNG]]</td>
<td><font size="3">'''The Scenario:'''</font></td>
+
<td width="640"><font size="3">'''The Scenario:'''</font><br>
 +
----</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
----
 
 
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>[[file:Gears.PNG]]</td>
+
<td width="58">[[file:Gears.PNG]]</td>
<td><font size="3">'''Rules Used:'''</font></td>
+
<td width="640"><font size="3">'''Rules Used:'''</font><br>
 +
----</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
----
 
 
*'''[[Session_Rule_List_with_Parameters#Ordered_List_Rule|Ordered List Rule]]''' creates a "container" for all the '''Set Signal Extended''' rules.
 
*'''[[Session_Rule_List_with_Parameters#Ordered_List_Rule|Ordered List Rule]]''' creates a "container" for all the '''Set Signal Extended''' rules.
 
*'''[[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.
Line 33: Line 33:
 
<table cellpadding="4" bgcolor=#ffffff>
 
<table cellpadding="4" bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td>[[file:screenshot.PNG]]</td>
+
<td width="58">[[file:screenshot.PNG]]</td>
<td><font size="3">'''Session Editor Screenshot:'''</font></td>
+
<td width="640"><font size="3">'''Session Editor Screenshot:'''</font><br>
 +
----</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
----
 
 
<table>
 
<table>
 
<tr>
 
<tr>
Line 46: Line 46:
 
<table cellpadding="4" bgcolor=#ffffff>
 
<table cellpadding="4" bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td>[[file:explanation.PNG]]</td>
+
<td width="58">[[file:explanation.PNG]]</td>
<td><font size="3">'''Description:'''</font></td>
+
<td width="640"><font size="3">'''Description:'''</font><br>
 +
----</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
----
 
 
*'''Line 1: Ordered List''' Not absolutely necessary but it places all the '''Set Signal Extended''' rules in a single container  
 
*'''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 2: Set Signal Extended''' The first signal along the route is fixed at '''PROCEED'''  
Line 62: Line 62:
 
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>
 +
<td colspan="2">
 +
----</td>
 +
</tr>
 
<tr valign="top">
 
<tr valign="top">
 
<td>[[file:Steps.PNG]]</td>
 
<td>[[file:Steps.PNG]]</td>
Line 69: Line 73:
 
#Click the '''Tick''' button
 
#Click the '''Tick''' button
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td colspan="2">
 +
----</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 85: Line 93:
 
<table cellpadding="4" bgcolor=#ffffff>
 
<table cellpadding="4" bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td>[[file:binoculars.PNG]]</td>
+
<td width="58">[[file:binoculars.PNG]]</td>
<td><font size="3">'''The Scenario:'''</font></td>
+
<td width="640"><font size="3">'''The Scenario:'''</font><br>
 +
----</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
----
 
 
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>[[file:conditions.PNG]]</td>
+
<td width="58">[[file:conditions.PNG]]</td>
<td><font size="3">'''Preconditions:'''</font></td>
+
<td width="640"><font size="3">'''Preconditions:'''</font><br>
 +
----</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
----
 
 
*'''[[Session_Rule_List_with_Parameters#Set_Signal_Extended_Rule|Set Signal Extended Rule]]''' to initially set the signal to '''STOP'''.
 
*'''[[Session_Rule_List_with_Parameters#Set_Signal_Extended_Rule|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.<br>
 
*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.<br>
Line 109: Line 117:
 
<table cellpadding="4" bgcolor=#ffffff>
 
<table cellpadding="4" bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td>[[file:Gears.PNG]]</td>
+
<td width="58">[[file:Gears.PNG]]</td>
<td><font size="3">'''Rules Used:'''</font></td>
+
<td width="640"><font size="3">'''Rules Used:'''</font><br>
 +
----</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
----
 
 
*'''[[Session_Rule_List_with_Parameters#Directional_Trigger_Check_Rule|Directional Trigger Check Rule]]''' to trigger the event for trains approaching the signal.
 
*'''[[Session_Rule_List_with_Parameters#Directional_Trigger_Check_Rule|Directional Trigger Check Rule]]''' to trigger the event for trains approaching the signal.
 
*'''[[Session_Rule_List_with_Parameters#Wait_on_Train_Stop/Start_Rule|Wait on Train Stop/Start Rule]]''' to trigger an event when the consist stops moving.
 
*'''[[Session_Rule_List_with_Parameters#Wait_on_Train_Stop/Start_Rule|Wait on Train Stop/Start Rule]]''' to trigger an event when the consist stops moving.
Line 121: Line 129:
 
<table cellpadding="4" bgcolor=#ffffff>
 
<table cellpadding="4" bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td>[[file:screenshot.PNG]]</td>
+
<td width="58">[[file:screenshot.PNG]]</td>
<td><font size="3">'''Session Editor Screenshot:'''</font></td>
+
<td width="640"><font size="3">'''Session Editor Screenshot:'''</font><br>
 +
----</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
----
 
 
<table>
 
<table>
 
<tr>
 
<tr>
Line 134: Line 142:
 
<table cellpadding="4" bgcolor=#ffffff>
 
<table cellpadding="4" bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td>[[file:explanation.PNG]]</td>
+
<td width="58">[[file:explanation.PNG]]</td>
<td><font size="3">'''Description:'''</font></td>
+
<td width="640"><font size="3">'''Description:'''</font><br>
 +
----</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
----
 
 
*'''Line 1: Directional Trigger Check''' set to trigger when a train approaches the signal from the facing direction.
 
*'''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 2: Wait on Train Stop/Start''' set to trigger when the train stops moving.

Revision as of 09:47, 12 July 2018

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.

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.

Gears.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 button

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


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


Gears.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 Signal Passed at Danger Rule can be used to deal with the situation.




Trainz Wiki


Route Creation Tutorials:


Session Creation Tutorials:

Personal tools