Succession train journeys and locomotive functions
Subsequent train journeys
Light is turned off
At the beginning of the train journey, locomotive functions such as sound and light start. These are switched off again at the end of the train journey and should start again at the beginning of the next journey.
Unfortunately, that only happens sometimes. Sometimes the light goes on during the second round of the train, sometimes the sound, sometimes nothing at all, sometimes everything...
Locomotive functions without stopping
Silvio Richter writes in the forum: During yesterday's meeting we developed several strategies on how to implement it without the train having to stop:
1) train journey sequence
the locomotive functions are entered into the sequence at the start and end the sequence only consists of this train journey, which has itself as the successor the switch is entered into the train journey as a condition if this switch is on, the sequence runs endlessly; switch off, the sequence comes to an end and the locomotive functions are switched off
2) conditional macro
the locomotive functions are entered into the train journey in the form of two macros the macro for switching off the locomotive functions receives the switch as a condition the train journey has itself as the successor and the switch as a condition
3) switch query in target operation
die aktuellen Zieloperationen werden mit einer Voraussetzung und Marken erweitert Dateianhang:
- Abb: Makro Zieloperation
4) Abfrage, ob Zug fährt oder steht
ähnlich 3) kann man mit einer Variablen abfragen, ob der Zug am Ende der Zugfahrt fährt oder steht. Dies hat aber den Nachteil, wenn er betriebsbedingt steht, obwohl die Zugfahrt aktiv ist, der Zug auch die Operationen durchführt.
Weblinks
- Quelle: Forum
- TC-wiki: Zugfahrt mehrfach verwenden
- TC-wiki: Lokfunktionen bei Zugfahrt starten
- -- Uslex (Diskussion) 21:39, 30. Dez. 2024 (CET)