You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/Documentation/Manual/cabs.rst
+93-34
Original file line number
Diff line number
Diff line change
@@ -20,64 +20,85 @@ next paragraphs.
20
20
ETCS circular speed gauge
21
21
-------------------------
22
22
23
-
You can add to the cabview a
24
-
circular speed gauge accordingly to the European standard train control
25
-
system ETCS.
23
+
A circular speed gauge accordingly to the standard European Train Control System
24
+
(ETCS) can be added to the cabview. The information displayed in the Driver
25
+
Machine Interface (DMI) is controlled via the TCS script. For more details,
26
+
see :ref:`C# engine scripting - Train Control System <features-scripting-tcs>`.
27
+
26
28
27
29
.. image:: images/options-etcs.png
28
30
:scale:60 %
29
31
:align:center
30
32
31
33
32
-
.. admonition:: For content developers
34
+
The gauge is added by the insertion of a block like the following
35
+
into the .cvf file::
33
36
34
-
The gauge is added by the insertion of a block like the following
35
-
into the .cvf file::
36
-
37
-
Digital (
38
-
Type ( SPEEDOMETER DIGITAL )
39
-
Style ( NEEDLE )
40
-
Position ( 160 255 56 56 )
41
-
ScaleRange ( 0 250 )
42
-
Units ( KM_PER_HOUR )
43
-
)
37
+
Digital (
38
+
Type ( SPEEDOMETER DIGITAL )
39
+
Style ( NEEDLE )
40
+
Position ( 160 255 56 56 )
41
+
ScaleRange ( 0 250 )
42
+
Units ( KM_PER_HOUR )
43
+
)
44
44
45
45
It is also possible to display the full ETCS display using the following block
46
46
instead::
47
47
48
-
ScreenDisplay (
49
-
Type ( ORTS_ETCS SCREEN_DISPLAY )
50
-
Position ( 280 272 320 240 )
51
-
Units ( KM_PER_HOUR )
52
-
Parameters (
53
-
Mode FullSize
54
-
)
55
-
)
56
-
57
-
The following DMI size variants are available: FullSize (displays the whole DMI), SpeedArea
58
-
(displays only the left part with information about distance and speed) and PlanningArea
59
-
(displays only the planning area and navigation buttons).
48
+
ScreenDisplay (
49
+
Type ( ORTS_ETCS SCREEN_DISPLAY )
50
+
Graphic ( statictexture.ace ) Comment( 3D cab only, mandatory there )
51
+
Position ( 280 272 320 240 ) Comment( 2D cab only )
52
+
Units ( KM_PER_HOUR )
53
+
Parameters (
54
+
Mode FullSize
55
+
MaxSpeed 180
56
+
DisplayUnits 0
57
+
)
58
+
)
60
59
61
-
The information displayed in the DMI is controlled via the TCS script. For more details,
62
-
see :ref:`C# engine scripting - Train Control System <features-scripting-tcs>`.
60
+
The following commonly used ``MaxSpeed`` or ``ScaleRange`` values can be set
61
+
* 140, 150, 180, 240, 250, 260, 280, 400 for ``KM_PER_HOUR`` unit
62
+
* 87, 111, 155, 248 for ``MILES_PER_HOUR`` unit
63
+
The default value is 400 with KM_PER_HOUR unit.
63
64
64
-
.. _cabs-battery-switch:
65
+
The following DMI size variants are available:
66
+
``FullSize`` displays the whole DMI,
67
+
``SpeedArea`` displays only the left part with information about distance and speed,
68
+
``PlanningArea`` displays only the right side planning area and navigation buttons.
69
+
The default value is FullSize
65
70
66
-
Battery switch
67
-
--------------
71
+
Use the ``MaxVisibleSpeed`` to set the highest speed displayed as a number,
72
+
if literal numbering is undesirable above this number on the circular speed gauge.
73
+
The default value is the MaxSpeed rounded to the highest tens below.
74
+
75
+
Use the ``DisplayUnits`` parameter to suppress diplaying the speed unit at the
76
+
bottom of the circular speed gauge. The default is 1, displaying the units.
77
+
78
+
Use the ``Graphic`` parameter in 3D cabs to designate the static texture inside
79
+
the .s file that will be replaced at runtime with the dynamic picture of the
80
+
display. This parameter is mandatory. If omitted, or the named texture cannot
81
+
be found in the model, no display will be shown.
82
+
83
+
.. _cabs-battery:
84
+
85
+
Battery
86
+
-------
68
87
69
88
.. index::
70
89
single: ORTS_BATTERY_SWITCH_COMMAND_SWITCH
71
90
single: ORTS_BATTERY_SWITCH_COMMAND_BUTTON_CLOSE
72
91
single: ORTS_BATTERY_SWITCH_ON
92
+
single: ORTS_BATTERY_VOLTAGE
73
93
74
-
The :ref:`battery switch<physics-battery-switch>` controls the low voltage power supply of the locomotive.
94
+
The :ref:`battery subsystem<physics-battery>` controls the low voltage power supply of the locomotive.
75
95
76
96
The following controls are available for the cabview:
77
97
78
-
- ``ORTS_BATTERY_SWITCH_COMMAND_SWITCH`` can be used if the switch is directly controlled from the cab
98
+
- ``ORTS_BATTERY_SWITCH_COMMAND_SWITCH`` can be used if the battery switch is directly controlled from the cab
79
99
- ``ORTS_BATTERY_SWITCH_COMMAND_BUTTON_CLOSE`` and ``ORTS_BATTERY_SWITCH_COMMAND_BUTTON_OPEN`` can be used if the switch is controlled with two pushbuttons (one to close the switch and the other to open it)
80
100
- ``ORTS_BATTERY_SWITCH_ON`` can be used to control a light on the cab showing the state of the battery switch
101
+
- ``ORTS_BATTERY_VOLTAGE`` monitors the battery voltage
81
102
82
103
Other controls can be disabled if the low voltage power supply is not available using the following parameter::
83
104
@@ -166,6 +187,44 @@ The following controls are available for the cabview:
166
187
- ``ORTS_ELECTRIC_TRAIN_SUPPLY_COMMAND_SWITCH`` can be used to control the electric train supply switch
167
188
- ``ORTS_ELECTRIC_TRAIN_SUPPLY_ON`` can be used to indicate that the electric train supply line is powered on
168
189
190
+
.. _cabs-voltmeters:
191
+
192
+
Voltmeters
193
+
----------
194
+
195
+
.. index::
196
+
single: LINE_VOLTAGE
197
+
single: ORTS_PANTOGRAPH_VOLTAGE_AC
198
+
single: ORTS_PANTOGRAPH_VOLTAGE_DC
199
+
single: ORTS_BATTERY_VOLTAGE
200
+
201
+
The following voltmeters are available for the cabview:
202
+
203
+
- ``LINE_VOLTAGE`` indicates the line voltage
204
+
- ``ORTS_PANTOGRAPH_VOLTAGE_AC`` indicates the line voltage when operating on AC lines
205
+
- ``ORTS_PANTOGRAPH_VOLTAGE_DC`` indicates the line voltage when operating on DC lines
206
+
- ``ORTS_BATTERY_VOLTAGE`` indicates the vehicle's battery voltage
207
+
208
+
.. _cabs-electricselectors:
209
+
210
+
.. index::
211
+
single: ORTS_PANTOGRAPH_SELECTOR
212
+
single: ORTS_POWER_LIMITATION_SELECTOR
213
+
single: ORTS_VOLTAGE_SELECTOR
214
+
215
+
There :ref:`pantograph selector <physics-pantograph-selector>`,
216
+
:ref:`voltage selector <physics-voltage-selector>` and
217
+
:ref:`power limitation selector <physics-power-limitation-selector>` can be used
218
+
to switch the traction system for locomotives operating at different voltages.
0 commit comments