@@ -4684,3 +4684,154 @@ UoM - Angle (deg, radians) - default is rad. Typically this value maybe between
46844684- ``ORTSWheelFlangeLength `` - Wheel flange length is defined as the length of flange starting from the beginning of the maximum flange angle
46854685to the point where flange angle reduces to 26.6 degrees. UoM - Distance (m, in, ft, etc) - default is m
46864686
4687+ .. _physics-eot :
4688+
4689+ EOT - End of train device
4690+ =========================
4691+
4692+ General
4693+ -------
4694+
4695+ See :ref: `here https://en.wikipedia.org/wiki/End-of-train_device ` for basic info about EOTs.
4696+
4697+ EOTs in Open Rails may be of three different levels (types)::
4698+
4699+ - No communication: "dumb" EOTs, like flags or flashing lamps
4700+ - One way: the EOT is capable to transmit to the lead locomotive the brake pipe pressure at the end of the train
4701+ - Two way: the EOT is also capable to receive a command to vent the air brake pipe.
4702+
4703+ How to define an EOT
4704+ --------------------
4705+
4706+ EOTs must be defined within subfolders of the ``Trains\ORTS_EOT `` folder. These subfolders contain
4707+ the same file set present in a subfolder of the ``Trains\Trainset `` folder; the file defining an EOT
4708+ has the same format as a .wag file, but it must have an .eot extension. To define the level of the EOT
4709+ the following block must be added at the end of the .eot file (after the closing parenthesis of the
4710+ Wagon() block)::
4711+
4712+ ORTSEOT (
4713+ Level ( "level" )
4714+ )
4715+
4716+
4717+ level may assume following values: ``NoComm ``, ``OneWay `` and ``TwoWay ``.
4718+
4719+ Usually EOTs were provided as a very short wagon for simulation with MSTS or OR. To upgrade it to
4720+ a functioning EOT for OR following simple steps are needed::
4721+
4722+ - Create the ``Trains\ORTS_EOT `` folder
4723+ - copy the EOT subfolder present in the ``Trains\Trainset `` folder into the ``Trains\ORTS_EOT `` folder
4724+ - change the extension of the .wag file(s) to .eot
4725+ - add at the end of the .eot file the ORTSEOT block.
4726+
4727+ For Open Rails the EOT is a special type (a subclass) of wagon, with specific features. As
4728+ such it appears at the end of the train in the Train Operations window.
4729+
4730+ How to attach and detach an EOT at the end of a train
4731+ -----------------------------------------------------
4732+
4733+ An EOT may be attached at the end of a train (be it player train or AI train)
4734+ already at game start,
4735+ by inserting at the end of the .con file a block like the following one::
4736+ ORTSEot (
4737+ EOTData ( EOT_OR TrainSimulations_EOT )
4738+ UiD ( 203 )
4739+ )
4740+
4741+ where ``ORTSEot `` and ``EOTData `` are fixed keywords, EOT_OR is the name of the .eot file
4742+ and TrainSimulations_EOT is the folder where EOT_OR.eot resides. TrainSimulations_EOT is
4743+ a subfolder of ``Trains\ORTS_EOT ``.
4744+
4745+ If an EOT is present at the end of the train since game start, it will be fully operating
4746+ from the beginning
4747+ (in one-way state if it is a one-way EOT, and in two-way state if it is a two-way EOT).
4748+
4749+ An EOT may also be attached at the end of the actual player train using the EOT list window
4750+
4751+
4752+ .. image :: images/physics-eot.png
4753+ :scale: 80 %
4754+ :align: center
4755+
4756+ which can be recalled by pressing ``<Ctrl+F9> ``. Such window lists all .eot files present in
4757+ the subfolders of ``Trains\ORTS_EOT ``. If the train has an EOT at the end of it, the related row
4758+ in the EOT list window will be red. If the train has no EOT at the end of it (no red row), it can
4759+ be attached at the end of the train with following sequence:
4760+
4761+ - within the EOT list window click on the row showing the desired EOT; the row will become red
4762+ and the EOT will physically appear at the end of the train
4763+ - if it is an One Way or Two Way EOT type, connect its brake hose with the Car Operations
4764+ Window (see :ref: `here <driving-car-operations >`)
4765+ - using the Car Operations Window on the wagon preceding the EOT, open the rear angle cock.
4766+
4767+ When an EOT is attached to the actual player train, a line indicating its presence will appear
4768+ in the Train Driving Window (F5). The EOT will be in Disarmed state (that is fully disabled).
4769+
4770+ To detach an EOT from the end of the actual player train, recall the EOT list window and click
4771+ on the red row. The EOT will disappear. Always remember to detach the EOT when this
4772+ would occur in reality (e.g. when rear coupling other wagons, when decoupling the rear of the train
4773+ and in general before shunting).
4774+
4775+ How to arm (enable) or disarm a one-way or two-way EOT
4776+ ------------------------------------------------------
4777+
4778+ The arm and disarm procedure must be performed from the cabview, as the controls are available only
4779+ through mouse. So it requires an equipped cabview. See :ref: `here <cabs-eot >` for a list of the
4780+ available controls.
4781+
4782+ The procedure for a two-way EOT is explained basing on the picture below, which shows a
4783+ sample case based on a cab of Borislav Miletic.
4784+
4785+ .. _physics-eot-display :
4786+
4787+ .. image :: images/physics-eot-display.png
4788+ :scale: 100 %
4789+ :align: center
4790+
4791+ .. _physics-eot-states :
4792+
4793+ The possible states for a two-way EOT are following ones::
4794+ * Disarmed,
4795+ * CommTestOn,
4796+ * Armed,
4797+ * LocalTestOn,
4798+ * ArmNow,
4799+ * ArmedTwoWay
4800+
4801+ The EOT state is shown in the Train Driving window using above terminology,
4802+ while the latter is a bit different in the EOT setup display in the sample cab
4803+ following a real case (but it may be modified).
4804+
4805+ When the EOT is attached to the train with the EOT List window, the EOT is in
4806+ ``Disarmed `` state. An EOT ID appears as a 5-digit random number. In the cab
4807+ the Comm Test field shows ``Failed ``.
4808+
4809+ By clicking on the key below the ``Comm Test `` soft button, the state in the
4810+ Train Driving window passes to the ``CommTestOn `` state. When the ``CommTestOn `` is
4811+ terminated, the state in the Train Driving window passes to the ``Armed `` state for
4812+ the one-way EOTs, and to the ``LocalTestOn `` state for the two-way EOTs.
4813+ In the EOT setup display the Comm Test field shows ``Passed `` and the EOT
4814+ Status Field shows ``One Way ``. Now the ``Rear `` field shows the brake pipe
4815+ pressure at the end of the train.
4816+
4817+ The LocalTestOn in two-way EOTs is about 25 seconds long. After such time
4818+ interval the state shown in the Train Driving window passes to the ``ArmNow `` state, and
4819+ the EOT status in the display shows ``Arm Now ``.
4820+
4821+ At this point the train driver must click the key below the ``Arm Two-Way `` soft button.
4822+ The EOT Passes to the ``ArmedTwoWay `` state, that is shown as ``Armed `` in the
4823+ EOT status within the EOT Status display.
4824+
4825+ By clicking the key below the ``Request Disarm `` soft button, the EOT returns to
4826+ the ``Disarmed `` state.
4827+
4828+ Emergency brake through EOT
4829+ ---------------------------
4830+
4831+ Two-way EOTs, when in the ``ArmedTwoWay `` state, can be requested to vent the brake pipe
4832+ and therefore to cause an emergency brake. This occurs automatically when an Emergency
4833+ brake is triggered, and also manually when the ``ORTS_EOT_EMERGENCY_BRAKE ``
4834+ control is activated. The manual activation may also occur by pressing
4835+ ``<Ctrl+Backspace> `` .
4836+
4837+
0 commit comments