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
+87-5Lines changed: 87 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,91 @@ next paragraphs.
19
19
OR adds support for the ETCS circular speed gauge, as described
20
20
:ref:`here <options-etcs>`.
21
21
22
+
.. _cabs-battery-switch:
23
+
24
+
Battery switch
25
+
--------------
26
+
27
+
.. index::
28
+
single: ORTS_BATTERY_SWITCH_COMMAND_SWITCH
29
+
single: ORTS_BATTERY_SWITCH_COMMAND_BUTTON_CLOSE
30
+
single: ORTS_BATTERY_SWITCH_ON
31
+
32
+
The :ref:`battery switch <physics-battery-switch>` controls the low voltage power supply of the locomotive.
33
+
34
+
The following controls are available for the cabview:
35
+
36
+
- ``ORTS_BATTERY_SWITCH_COMMAND_SWITCH`` can be used if the switch is directly controlled from the cab
37
+
- ``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)
38
+
- ``ORTS_BATTERY_SWITCH_ON`` can be used to control a light on the cab showing the state of the battery switch
39
+
40
+
Other controls can be hidden if the low voltage power supply is not available using the following parameter::
41
+
42
+
TwoState (
43
+
Type ( ORTS_CIRCUIT_BREAKER_CLOSED TWO_STATE)
44
+
...
45
+
DisabledIfLowVoltagePowerSupplyOff ( 1 )
46
+
)
47
+
48
+
.. _cabs-master-key:
49
+
50
+
Master key
51
+
----------
52
+
53
+
.. index::
54
+
single: ORTS_MASTER_KEY
55
+
single: ORTS_CURRENT_CAB_IN_USE
56
+
single: ORTS_OTHER_CAB_IN_USE
57
+
58
+
The :ref:`master key <physics-master-key>` controls the power supply of the cab.
59
+
60
+
The following controls are available for the cabview:
61
+
62
+
- ``ORTS_MASTER_KEY`` can be used in order to control the master key
63
+
- ``ORTS_CURRENT_CAB_IN_USE`` can be used to indicate that the current cab is active
64
+
- ``ORTS_OTHER_CAB_IN_USE`` can be used to indicate that another cab of the train is active
65
+
66
+
Other controls can be hidden if the cab power supply is not available using the following parameter::
0 commit comments