Search The Inn

Monday, November 3, 2025

ESU Two Stage Ditch Lights

Recently, on the LokSound groups.io forum someone brought up the interesting topic of two stage ditch lights and whether or not it was possible to create this effect on ESU v5 decoders. The effect is demonstrated at the beginning of the video below.

 

This is an interesting effect and the author was ready to dive right in on it but, not for the first time, the IndianRailModeler had an answer for it. Apoorva always does. So lets jump into this and see how to accomplish it. We will be using the S0778 sound file so you can follow along but before we begin you must understand that the locomotive you are trying to do this with MUST have individually wired ditch lights. If they are not then this procedure will not work.

First, there are two brightness settings that need to be set up. This is done on the Function Outputs Sheet of the Decoder Pane. We will use both the AUX1[1] and AUX2[1] settings. Set the Output mode (effect) to Dimmable Headlight on both of these settings. Rename the AUX1[1] output to Ditch light dim and check the dimmer checkbox. See figure 1.


Figure 1 AUX1[1]

Rename the AUX2[2] output to Ditch light bright and make sure the dimmer checkbox is not checked. See figure 2.


Figure 2 AUX1[2]

Now to the sound slot. Switch to the Sound pane and open sound slot 2 which is not used. In the Sound Slot Properties define 2 variables named BrightTimer and DimTimer and assign the values 3 and 1 respectively. See figure 3. Make sure the unlimited checkbox is checked.


Figure 3 The variables

Now in the schedule portion create four states and assign then Conditions and Actions shown in figure 4. Be sure to check the Loop checkbox in the Repeat playback section of the Transition properties for each of the states.


Figure 4 The schedule

For the final step, once you finish creating the schedule we need to assign the proper AUX values we created earlier to the correct states. The two Dim states will have the dim ditch light AUX assigned and, you guessed it, the Bright states will have the bright values assigned. Figure 5 shows an example assignment for the Left Ditch Light Dim.


Figure 5 Assigning AUX values to states
 
Lastly, assign this sound slot to a function key on the function mapping sheet and you're done! In sound file S0778 the ditch lights are already assigned to F6 so remove them and select the sound slot file you created in F6's Sounds column.

You can adjust the bright and dim timers if you want and also, if you have them available, you could assign them to SoundCVs but SoundCVs are a valuable and scarce comodity so I suggest you just use the hard coded values.

One last thing, and perhaps this should have been stated first, this project may work or it may not. Try a it and see.

Most of all have fun!


If you have an idea for a blog post here, let me know. If I can comment on it, I will or I'll see if someone else can and post it. 

Some ESU Steam Sound Files Have Reverser Sounds Backwards

 The author just noticed this when answering a readers question on the LokSound groups.io forum. His question concerned the reverser sound when a steamer was changing direction from forward tom reverse and vice versa. The sounds of the Power Reverser versusthe Johnson Bar are reversed (sounds like a joke doesn't it "the reverser is reversed").

Using sound file S0792, take a look at the definition of SoundCV14 on the Sound Slot Settings Sheet shown in Figure 1. It's at the top of the sheet.  Its title is "Reverser 1-Power Reverse 0-Johnson Bar". Try it in the simulator. The hissing sound is the Power Reverser and the clank is the Johnson Bar. It's backwards isn't it?


Figure 1 The reverser function as downloaded

There is a simple fix for this. All that is necessary is to reverse (there's that word again) the numbers in the SoundCV name. See figure 2.

 


Figure 2 Name fixed to correct numbers

Be sure to save that change to the file. 

This is unusual but it does happen. So, if you use the Reverser sound effect in your files check this it is correct first.


If you have an idea for a blog post here, let me know. If I can comment on it, I will or I'll see if someone else can and post it.