Shunting a car with two locomotives

ContentExample Layouts

  • Shunting a car with two locomotives


This is a example based on the plan from Sensors and blocks.
remarks: I tested the plan under WXP. The picture in this document comes from ubuntu.


Gallery

example.xml and sound-files
The pictures can be loaded from here down


Testcase in a box

The range of the game


step1: Locomotive1 (BR294) is the beginner. Go from Bl2 to Bl1, take the car in Bl1
step2: The whistle sounds and the locomotive starts moving toward Bl2
step3: The train go back to Bl1 and decouple the car
step4: the locomotive1 drives without car to the Bl2 and starts the locomotive2

step5: Locomotive2 (BR93) go from Bl3 to Bl1, take the car and wait 3 minutes in Bl1
step6: The whistle sounds and the locomotive starts moving toward Bl3
step7: The train go back to Bl1 and decouple the car
step8: the locomotive1 drives without car to the Bl3 and starts the locomotive1

see a demo http://www.youtube.com/watch?v=Ndpj8Tjvyt0

The Hardware


Electrical parts
Parts for the railway
  • -two locomotives with electrical decoupler
  • -one car
  • -one electrical turnout
  • -some tracks with interruptions



Building the plan


in the existing plan example.xml add on:

example1.xml


  • -2 Locomotives example BR93 and BR294
  • -define special effects (functions) decoupler

The decoupler get 5s to switch off itself.

Define actions


for the automatic mode, to do many defines of actions

this action set the decoupler fom locomotive

whistle_steam - this action set the sound from the locomotiv generated by PC-speaker

schedule_BR93_car_pull_away - this action start the schedule from the locomotive

the same is doing for locomotive2

Define schedules


four schedules are needed

Example in detail:

BR93_car_pull_away

in the 2.th line is described, that the locomotive will be wait 3 minutes, until to drive from Block 1 to 3.
in the 3.th line set the Actions to sounds the whistle before the train departure Block 1

the condition is necessary for a sound on this place.

follow up

The schedule start the following schedule.

BR93_car_turn_off

in the 2.th line is described, that the locomotive will not wait 2 minutes, because the time processing is not relative..
in the 3.th line set the Actions to decouple the car in Block 1and start the next schedule for the 2th. locomotive

Extension starting from Rev.1026

Erweiterung ab Rev.1026
The locomotive is to be able to shunt also with electrical railroad cars. The length of the train is variable.
Die Lokomotive soll auch mit elektrischen Waggons rangieren können. Die Länge des Zuges ist variabel.
example_3waggon.jpg

Task:(shunting with electrical car)

  • -the locomotive drives with the railroad cars to Sensor1 and stopped.
  • -drives a small piece into the other direction, until the Sensor1 is free given.
  • -the locomotive stopped end decouples the waggons.
  • -the Sensor11 is occupied with the electrical railroad car.
  • -the locomotive drives away

Aufgabe: -die Lokomotive fährt mit den Waggons bis Sensor1, hält an. -fährt ein kleines Stück in die entgegen gesetzte Richtung, bis der Sensor1 wieder frei gegeben ist. -der Zug hält an, die Lokomotive kuppelt ab. -der Sensor11 bleibt belegt mit dem elektrischen Waggon. -die Lokomotive fährt weg

to do:

  • -Block1 is defined as shunting block, so that a locomotive can drive also into the occupied block.
  • -For the slow arrival and to couple the waggons, the block1 must be set to minimum


For the automatic mode there are two actions to be formed:
Action ” move_loc and ” stop_loc”

  • -the action “move_loc” causes a slow trip into against set direction. The Timer is adjusted, so that the next shedule is started later.
  • -the action “stop_loc” is stopped the locomotive.

The new actions are assigned to the Sensor1 -action “move_loc” = Sensor1 is true and the action “stop_loc” = Sensor1 is false


Bauanleitung: -Block1 wird als Rangierblock definiert, damit eine Lokomotive auch in den besetzten Block fahren kann. -Damit die Lokomotive wieder langsam ankuppeln kann ist im Block1 die Ankunft auf minimum zu stellen. Für den automatischen Betrieb sind zwei Aktionen zu bilden: Aktion “move_loc und “stop_loc” -Die Aktion “move_loc” bewirkt eine langsame Fahrt in entgegen gesetzte Richtung. Der Timer ist eingestellt, damit der nächste Fahrplan später gestartet wird. -Die Aktion “stop_loc” hät die Lokomotive an. \\Die neuen Aktionen werden dem Sensor1 zugeordnet -Aktion “move_loc” = Sensor1 ist wahr -Aktion “stop_loc” = Sensor1 ist falsch


Personal Tools