How to Control Signals in Sessions

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Created page with "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 an...")
 
(Updated application 2)
Line 5: Line 5:
 
'''1. The Scenario:'''
 
'''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.
+
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.
  
 
'''2. Rules Used:'''
 
'''2. Rules Used:'''
Line 48: Line 48:
 
'''2. Preconditions:'''
 
'''2. Preconditions:'''
  
*'''[[Session_Rule_List_with_Parameters#Set_Signal_Extended_Rule|Set Signal Extended Rule]]''' to clear the signal after the train has stopped moving.
+
*'''[[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 to make sure that only trains approaching the Home signal will trigger the rule. Trains leaving the yard will not trigger the rule.<br>
 +
<table>
 +
<tr>
 +
<td>[[file:DirectionalTriggerObject.JPG]]</td>
 +
</tr>
 +
</table>
  
 
'''3. Rules Used:'''
 
'''3. Rules Used:'''
  
*'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]''' to trigger the event.
+
*'''[[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.
 
*'''[[Session_Rule_List_with_Parameters#Wait_Rule|Wait Rule]]''' to wait a set time interval.
 
*'''[[Session_Rule_List_with_Parameters#Wait_Rule|Wait Rule]]''' to wait a set time interval.
*'''[[Session_Rule_List_with_Parameters#Set_Signal_Extended_Rule|Set Signal Extended Rule]]''' to set signals to the required state.
+
*'''[[Session_Rule_List_with_Parameters#Set_Signal_Extended_Rule|Set Signal Extended Rule]]''' to clear the signal after the train has stopped.
  
 
'''4. Session Rules Screenshot:'''
 
'''4. Session Rules Screenshot:'''
 +
<table>
 +
<tr>
 +
<td>[[file:DirectionalTriggerSession.JPG]]</td>
 +
</tr>
 +
</table>
  
 
'''5. Example Explanation:'''
 
'''5. Example Explanation:'''

Revision as of 17:57, 23 May 2018

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

2. Rules Used:

3. Session Rules Screenshot:

SetFixedSignals.JPG

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.

SetSignalProceed.JPG

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

  • Select the signal name from the session list
  • Select the signal state from the list of available states


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

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 initially set the signal to STOP.
  • This scenario uses the Directional Trigger from the DLS to make sure that only trains approaching the Home signal will trigger the rule. Trains leaving the yard will not trigger the rule.
DirectionalTriggerObject.JPG

3. Rules Used:

4. Session Rules Screenshot:

DirectionalTriggerSession.JPG

5. Example Explanation:


Related Trainz Wiki Link Tutorials:

Personal tools