Welcome to the forum   
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Share
Options
View
Go to last post in this topic Go to first unread post in this topic
Offline garben  
#1 Posted : 13 November 2025 20:21:19(UTC)
garben

United States   
Joined: 23/01/2013(UTC)
Posts: 168
Location: New York
Hello,

I have set up in Engine Operations to automatically turn on certain functions, light, sounds etc. When I'm done for the evening running the trains, and before I shut down, is there a way to shut off all train functions? This way when I start up the next session, everything is off?

Thanks!
Norbert

Marklin HO, CS3+, Train Controller 10 Gold, Any era. Like Swiss Locomotives.
Offline pederbc  
#2 Posted : 13 November 2025 23:43:15(UTC)
pederbc

Sweden   
Joined: 11/06/2007(UTC)
Posts: 226
Location: Eslöv, Sweden
Hi,

easy!

create a "push button", and under "Operations", select "Switch Functions of all Vehicles", Select which function(s) to switch on/off.......

Have a nice weekend, Peder
Using 3-rail Märklin C-track system, Märklin CS-3, ESU ECoS, TrainController 11G, mostly Swedish and Danish engines and cars
Offline garben  
#3 Posted : 14 November 2025 01:47:49(UTC)
garben

United States   
Joined: 23/01/2013(UTC)
Posts: 168
Location: New York
Prefer,

Perfect! That’s a great idea! Thanks so much.
Marklin HO, CS3+, Train Controller 10 Gold, Any era. Like Swiss Locomotives.
Offline blid  
#4 Posted : 14 November 2025 13:17:39(UTC)
blid

Sweden   
Joined: 02/01/2012(UTC)
Posts: 254
Location: Stockholm, Sweden
I designed two functions for every engine. One for starting up and one for shutting down with functions available for that particular engine. Then it would only require the shut down function per engine in Peder’s solution.
OneGauge Marklin and MTH, ESU ECoS 2.1 on LGB tracks. MTH 3-rail 0-gauge, DCS on GarGraves tracks. Z: Rokuhan tracks, analog or DCC+TC Gold.
Offline pederbc  
#5 Posted : 14 November 2025 16:40:12(UTC)
pederbc

Sweden   
Joined: 11/06/2007(UTC)
Posts: 226
Location: Eslöv, Sweden
I have created ”virtual” functions for light, sound, long horn, short horn, interior light and drivers cabin light. Then for each engine i map these to the engines actual corresponding function. Then I can use these functions in general macros etc that will then work on any engine and also on interior lights in waggons.

Peder
Using 3-rail Märklin C-track system, Märklin CS-3, ESU ECoS, TrainController 11G, mostly Swedish and Danish engines and cars
Offline Kiko  
#6 Posted : 16 November 2025 06:39:01(UTC)
Kiko

Canada   
Joined: 13/02/2017(UTC)
Posts: 179
Location: Ottawa, ON
Originally Posted by: pederbc Go to Quoted Post
I have created ”virtual” functions for light, sound, long horn, short horn, interior light and drivers cabin light. Then for each engine i map these to the engines actual corresponding function. Then I can use these functions in general macros etc that will then work on any engine and also on interior lights in waggons.


Hello All,

I don't think that there's a need for all of this. In TrainController, all you have to do is assign decoder functions (i.e., horn, bell, whistel, etc.) to function keys when you create a locomotive. After that, when you specify in a particular block that the "horn" should sound, then all locos travelling through that block will activate their horn -- no matter what function key that horn is assigned for that loco.

Cheers,
Andry
// Marklin HO K track; ECoS; TrainController Gold; Marklin & ESU decoders; Arduino controlled Switches, Semaphores & Accessories (DCC); Win 11 //
Offline pederbc  
#7 Posted : 16 November 2025 09:26:59(UTC)
pederbc

Sweden   
Joined: 11/06/2007(UTC)
Posts: 226
Location: Eslöv, Sweden
That’s exactly what I meant! On some engines the horn is on F2 and another on F3. By creating a ”new” horn function and assign this to the actual function key then this will work anywhere you use it.
Using 3-rail Märklin C-track system, Märklin CS-3, ESU ECoS, TrainController 11G, mostly Swedish and Danish engines and cars
Offline blid  
#8 Posted : 16 November 2025 13:15:54(UTC)
blid

Sweden   
Joined: 02/01/2012(UTC)
Posts: 254
Location: Stockholm, Sweden
Some engines have horns some have whistles. That’s why I made a function for long signal and one for short signal. Engines with no sound flashed the lights.
OneGauge Marklin and MTH, ESU ECoS 2.1 on LGB tracks. MTH 3-rail 0-gauge, DCS on GarGraves tracks. Z: Rokuhan tracks, analog or DCC+TC Gold.
Offline blid  
#9 Posted : 16 November 2025 15:36:43(UTC)
blid

Sweden   
Joined: 02/01/2012(UTC)
Posts: 254
Location: Stockholm, Sweden
Maybe it is worth pointing out that you can include almost anything in an engine function button. I had many of my engines store in dedicated places on a parking deck. A function button turned power on for that siding, run the startup function and started the schedule to bring the train up to a station. Another button brought it back down.
OneGauge Marklin and MTH, ESU ECoS 2.1 on LGB tracks. MTH 3-rail 0-gauge, DCS on GarGraves tracks. Z: Rokuhan tracks, analog or DCC+TC Gold.
Offline Kiko  
#10 Posted : 16 November 2025 19:17:15(UTC)
Kiko

Canada   
Joined: 13/02/2017(UTC)
Posts: 179
Location: Ottawa, ON
Originally Posted by: pederbc Go to Quoted Post
That’s exactly what I meant! On some engines the horn is on F2 and another on F3. By creating a ”new” horn function and assign this to the actual function key then this will work anywhere you use it.

Hello,

Maybe I don't fully understand, but there's no need to create any "new" function. For example, my loco BR17 (LokSound) has the whistle on F2 and my BR56 (MFX) has the whistle on F3 (see pics). On my layout, when these locos approach a bridge, the whistle sounds because in TrainController I have an action item defined in the block before the bridge that says "sound whistle".

Note 1: All my ESU LokSound equipped locos have consistent function assignment because I like to have things organized -- easier to remember. However, Marklin factory equipped MFX locos are not so nice. Marklin does not adhere to an easy to remember scheme but assign functions whichever way they feel like. Angry

Note 2: Other issues with functions is that some functions like whistles, horns and bells are sometime defined as "On/Off" and other times as "Pushbuttons". To address the inconsistencies, I created macros in TrainController for these functions. These macros turn a function ON for a specified number of seconds, and then turn the function OFF. This ensures that both the "ON/OFF" and the "Pushbutton" activations are reset when the function terminates. So to clarify, in TrainController, the actual action item defined in the block before the bridge is "activate macro whistle".

Cheers,

BR17 - Functions.jpg BR56 - Functions.jpg
Andry
// Marklin HO K track; ECoS; TrainController Gold; Marklin & ESU decoders; Arduino controlled Switches, Semaphores & Accessories (DCC); Win 11 //
Offline pederbc  
#11 Posted : 16 November 2025 23:06:46(UTC)
pederbc

Sweden   
Joined: 11/06/2007(UTC)
Posts: 226
Location: Eslöv, Sweden
My reason is that I don’t want to change the original functions for each engine. Therefore I created new functions for the type of functions I want to control via TC.

Peder
Using 3-rail Märklin C-track system, Märklin CS-3, ESU ECoS, TrainController 11G, mostly Swedish and Danish engines and cars
Offline Kiko  
#12 Posted : 16 November 2025 23:47:04(UTC)
Kiko

Canada   
Joined: 13/02/2017(UTC)
Posts: 179
Location: Ottawa, ON
Originally Posted by: pederbc Go to Quoted Post
My reason is that I don’t want to change the original functions for each engine. Therefore I created new functions for the type of functions I want to control via TC.

Hello Peder,

Why would you need to change any original functions in any of your locos? In my example above, I did not change function mapping in the Marklin BR56 MFX loco. All I need to do is assign TrainController names to loco functions -- refer to my screenshots above. As long as you assign TrainController recognizable names to decoder functions, TrainController uses those names to activate specific functions -- i.e., these names act as assigned variable.

Please note that TrainController "recognizable names" are taken from the TrainController "Library" and will depend on your command station. When configuring TrainController and selecting your command station, the command station locomotive database is imported into TrainController. That's where all the functions of all your locomotives are mapped to TrainController.

I'm not sure if I'm making a lot of sense, but I hope this helps.

Cheers,
Andry
// Marklin HO K track; ECoS; TrainController Gold; Marklin & ESU decoders; Arduino controlled Switches, Semaphores & Accessories (DCC); Win 11 //
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

| Powered by YAF.NET | YAF.NET © 2003-2025, Yet Another Forum.NET
This page was generated in 0.340 seconds.