DCC How To Enable AUX 7 & 8 Without using a Lok Programmer

Pete Harvey

Active Member
Does any one know how to enabled Aux 7 & 8 on a Lok Sound XL V4 decoder without using a Lok Programmer by changing the correct CV's?

Which CV's and Values are needed to enable AUX 7 & 8?

I have the latest Manual and have looked at it but it's not making sense, there does not seam to be any clear instructional path to follow to enable the AUX's I need.

All help welcome please?

Pete
 

richard carr

Western Thunderer
Pete

What do you want to do with them ? If you just want to turn them then as I read the manual you set CV 267 to a value of 3. If you want to use them with servos it looks complicated. I can say though that if you need Aux 7 and 8 you probably really do need a Lok programmer it will make your life so much easier. I wouldn't want to be without one now.

Richard
 

Nigel Cliffe

Western Thunderer
Its not that hard (at least I don't think it is), but its totally different to any other decoder's way of doing things.

First complexity, because of the hundreds of CVs involved, ESU had to extend the possible CV locations using the Index values (CV31, CV32), without the Index values, any CV is meaningless. So, Richard's advice above is incomplete, CV267 can be five different things (five different index values in the LokSound manuals), so don't fiddle with it without knowing the index values and the consequences !!!


The decoder has 40 "mapping lines". Each line has 16 CV values (with Indexes!) that define the keys used to operate that line, the outputs used, and the loco behaviours (sounds, movement). Any line can contain anything, so there is no rule that the first line is for headlights (etc).
There are some defaults (tables of them in the ESU manual), and most sound decoder project writers stick with the defaults, so one can start from there - look up which mapping line is the default for AUX7, and then read the CVs for that line and see if it is indeed set that way, then make the changes wanted.

So, from the default table in the ESU manual, AUX7 for an XL is on mapping line 35, AUX8 on mapping line 36. So, reading the sixteen CV's for those lines would allow the default settings to be checked, and then adjusted to do what is required.
( CV267 (with Indexes) does appear sometimes in the table of mapping lines, its on four of the mapping lines, but not every line. So, it may or may not be relevant depending on the line in question).



The simple way, without LokProgrammer is a computer interface and JMRI/DecoderPro. This will do all the CV changes that a LokProgrammer can do, leaving the advantages of a LokProgrammer as speed (it uses a proprietary method to access CVs, so quicker than other hardware) and the ability to load sound files.
Use the most recent JMRI releases as the LokSound decoder code has been changing. It takes a while to read everything in (there are 640 CV's to read for function mapping alone), but it will do it all.


For manual CV changes, say exactly what you wish to achieve, then a list of CV changes becomes possible to write down.


- Nigel
 

Pete Harvey

Active Member
Guys

I need to use AUX 7 & 8 for lighting control, 7 for number 1 end & 8 for number 2 end (they must not be directional, they must be independant), I'm using all of the other AUX 1-6 for other lights functions and accessories on the model.

I will post pics of the model when I have sorted this last part.

I don't have any way to connect my DCC system to a computer that is why i need to do it manually there is always more than one way to skin a cat.

Pete
 

richard carr

Western Thunderer
Pete

To use the Lok programmer you don't need to connect your DCC system to a computer. The Lok programmer has a USB connection to the computer and you connect two wires from it to a short piece of track that can (in fact it should be) independent of any layout or your DCC system. You can drive the loco from the computer if want to but it just reads everything and has a nice interface that allows you to change everything you need to without knowing anything about the CVs.

Richard
 

Nigel Cliffe

Western Thunderer
Guys

I need to use AUX 7 & 8 for lighting control, 7 for number 1 end & 8 for number 2 end (they must not be directional, they must be independant), I'm using all of the other AUX 1-6 for other lights functions and accessories on the model.


And which Function Keys do you want to control the lights?



I don't have any way to connect my DCC system to a computer that is why i need to do it manually there is always more than one way to skin a cat.

Its quite possible to do it manually, but its a fair bit of work. I'll come up with the CVs and explanation for them if you can answer the questions above. (If your system can't do CV's above CV255 then its going to be a huge amount of key pressing to deal with that as well.).

There are pros and cons of different computer devices:
The LokProgrammer is expensive but works well with ESU products. Conversely its pretty poor with non-ESU decoders.
Computer interfaces to most DCC systems are cheaper, or the stand-alone Sprog device is cheap, and the JMRI software works for CV changes across all decoder brands.


- Nigel
 

Pete Harvey

Active Member
Hi Guys

Nigel

I use a Lenz LH100 V3.6 System and the function keys I want to use are Level 2 F9 and Level 3 F1

Richard/Nigel

I will look at a Sprog system as I do not intend to sound programming or anything more than just changing mapping and power curves.

Pete
 

richard carr

Western Thunderer
Pete

The SPROG is good value and you can use it on pretty much any decoder.

I prefer the Lok programmer for ESU decoders though mainly for motor adjustments,and function mapping, as you are trying to do here. Motor adjustments can take a while for a new motor type but the function mapping is a breeze a few mouse clicks and its all done.

Richard
 

Pete Harvey

Active Member
Thanks Richard

I think I will go with the Sprog as I may use it one a year the Lok Programmer is a lot of money to have sitting there doing nothing I understand what you are saying though, I may change my mind if I have trouble with a Sprog.

Thank you.

Pete
 

Nigel Cliffe

Western Thunderer
Pete,
I don't quite follow "level2" etc., but will take it to mean the F19 and F21 keys, ie. "level2 F9=F19" and "level3 F1=F21".

This makes an assumption on the sound file writer. The assumption is they didn't change the default mapping of Aux7 and Aux8 from mapping lines 35 and 36 (see table on Page 60 "Standard mapping - LokSound XL V4.0" of the ESU manual), then this works without worry. There is a small risk that the sound file writer used those lines for something else (perhaps they used Line 35 for "F16=fireman swears sound"). If you want to be super-sure about things, you need to read all 16 CVs on each line and make sure they don't do anything you otherwise need in the decoder (I'd be surprised if they were doing other things, but its possible).

If the soundwriter just left the defaults in place, then the keys F27 (Level3, F7 ?) and F28 (level3 F8 ?) should operate the outputs (page 60 of the manual).



In the following, the Index CV's, CV31 and CV32 need to be set (Page 51 of manual). ESU only use CV31=16 (page 51).
As the values for both CV31 and CV32 stay the same for this exercise (CV31=16, CV32=4), you can set them once and not need to set them again as you go through each step. At the end, I suggest you set them back to CV31=0 and CV32=0.
You can do most of this in Ops-mode (programming on the main) if you wish.



Mapping Line 35, mapping F19 key to control Aux7.
(Page 52 of ESU manual, and subsequent pages for what each block A through Q means)

For F19 we need condition block F and a value of 4 (page 53 of manual), condition block F on line 35 is at CV294,
so set these CV31=16, CV32=4 (first column of page 52 table) and CV294=4.

For the output Aux7, this is in Physical Output L (page 55), with a value of 1, thus CV31=16, CV32=4, CV299=1 (This would readback as CV299=1 before you make any changes if the defaults were followed by the sound file writer)

It is also necessary to look to remove the previous default value (assuming it was set) of Function key F27. This is in condition block H, and on line 35, this is CV31=16, CV32=4, CV295. Read this back (on programming track) and its probably set to 4 for F27. Set it to zero to remove F27.

Now the F19 key should control Aux7.


Mapping Line 36, mapping F21 key to control Aux8.
F21 is in condition block F, with a value of 64. On Line 36 we find block F at CV310, so set: CV31=16, CV32=4, CV310=64.
For output Aux8, this is in Physical Output L, with a value of 2, thus, CV31=16, CV32=4, CV315=2

As with above, look to remove the previous default value (assuming it was set) of Function key F28. This is in condition block H, and on line 36, this is CV31=16, CV32=4, CV316. Read this back (on programming track) and its probably set to 16. Set it to zero.

Should be complete and F19 and F21 will operate the lights as required.



Finally, set the Index CV's back to default values CV31=0, CV32=0.





On Sprogs, for O gauge (and I guess a LokSound XL is O gauge or bigger), it may be worth the extra for a Sprog-3 over a Sprog-2. The difference is more current availability for test running. For S/4mm scale and smaller, I'd point people at a Sprog-2 for programming locos. The JMRI/DecoderPro user interface for function mapping of an ESU decoder is now looks and behaves pretty much the same as the ESU LokProgrammer.


Tim's comment: which function mapping in Zimo do you want to use today ? - NMRA, Zimo extended function mapping, cv61=xyz for different country lighting systems, cv61=98 teaching method, Swiss Mapping, Zimo Input Mapping, PseudoProgramming. Seven different partially overlapping ways to do function mapping (and I think there is another undocumented one). So many ways to tie yourself in knots !


- Nigel
 

richard carr

Western Thunderer
Pete

You definitely need a SPROG 3 as the 2 won't drive a Heljan loco . The max current from a 2 is 250 ma and a Heljan loco takes a little bit more than that.

Thanks for posting the details above Nigel, it just goes to show how a 5 minute read of the manual could lead to a disaster !

Richard
 

Pete Harvey

Active Member
Hi All

I have been able to sort out the Aux activation and function mapping, I chickened out of trying my self and Legomanbiffo helped me to solve the problem.

All of the lights are on separate functions with some function mapping to give the correct lighting for running with a consist or light engine.

Below are some images of the model and the results:

SH109897.JPG
SH109931-2.jpg
SH109933-4.jpg
SH109935-4.jpg

SH109936.JPG

SH109937.JPG

SH109938.JPG

The Decoder is used for sound & smoke as well using the new ESU Smoke Generator I will shows this in another thread when the sound file has been modified by Legomanbiffo so the decoder controls the smoke timing along with the throttle position.

SH109903.JPG
(handy having the removable panel)

Thank you for you help.

Pete
 
Top