Follow

Indexed CVs - Soundtraxx

Thanks to NCE Super User - Dave Heap for help on this topic.

***Important Note** For the Powerhouse, Power Pro, PH-Pro, and CS02, you must use OPS mode programming / (POM) Programming On the Main for making indexed CV changes.  If you have a Power Cab system, there's no problem. It doesn't have a firmware problem.

Soundtraxx video on YouTube - https://www.youtube.com/watch?v=nv2XFr60zwg

======================================================

Think of a row of 3 file cabinets. Each unit has say 4 drawers, 1-4. You can;t just sya the item you want is in drawer 2, there are a total of 3 draw #2s, one in each stack. You need another coordinate or an index - row 2, drawer 2, then points to a specific drawer to locate your item.

 People are always making this out harder than it has to be. CV257, for example, can refer to three different things. The index simply sets which of those three things you are referring to. If the option you are trying to configure says it's controlled by CV 2.257, you set CV32=2 and then configure CV257. If the setting is CV 3.264, you set CV32=3 and then CV264.

====================================================================

CVs with a dot in the number (1.300) are “Indexed CVs,” which is a fancy way of saying they are really a group of three CVs that need to be changed like a combination lock.

The first two numbers “unlock” the CV you need to program. The third number is what you are changing.

  1. Ensure CV 31 is set to a value of 16.
  2. Enter a value of 1 into CV 32 to select Indexed CV Page 1.
  3. Select CVs 257-512 from your command station.

From page 13 of the attached Soundtraxx manual:

Indexed CVs The term “indexed CVs” tends to cause confusion and consternation. Indexed CVs are located on ‘pages’ to help manage the total number of CVs. The NMRA DCC Standard requires this and works like this: Indexed CVs are accessed using two CVs: CV 31 enables indexing when set to a value of 16 (the default value), and CV 32 selects the desired indexed page. You do not need to type “1.” Into the command station when programming indexed CVs. Because of the features and options in Econami decoders, three pages of indexed CVs are provided: To access CVs 1.257-1.512: 1. Ensure CV 31 is set to a value of 16. 2. Enter a value of 1 into CV 32 to select Indexed CV Page 1. 3. Select CVs 257-512 from your command station. To make things easier, Econami CVs are grouped by function as follows: CVs 1.257-1.512 are used for configuring Flex-Map function mapping CVs. CVs 1.257-1.384 are used for function mapping CVs, and CVs 1.385-1.512 are used for automatic effect configuration. Refer to “Configuring Function Mapping” for more information.

====================================================================

Indexed CVs (and Power Pro)
Indexed CVs allow for more CVs than those available in the range 1-1024 inclusive (a limit set by the DCC packet standards in S9.2.1). Many of these are already reserved for particular purposes.
However, the NMRA standards covered that need and provided for a way to allow for many more CVs. This is intended to be done by a page indexing system for CVs in the range 257-512 inclusive, allowing for in excess of 16 million CVs.
The NMRA standard S9.2.2 covering Configuration Variables defines the following:
- CVs 1-256 (inclusive) and 512-1024 (inclusive) are to be treated as normal CVs.
- CVs 257-512 (inclusive) are to be treated as paged index CVs, with the page number stored in CVs 31 and 32 (the index registers).
This means there are a total of 65,536 possible pages of CVs 257-512, so you need to set the correct values in the index registers before accessing any CV in this range.
In JMRI, we chose the convention "CV a.b.ccc" for these NMRA-compliant indexed CVs, where "a" is the value to load in CV31, "b" is the value to load in CV32 and "ccc" is the desired CV number (in the range 257-512) on the page specified by "a" and "b" combined.
QSI-indexed CVs predate the S9.2.2 indexing specification and use CV49 alone or (CV49 & CV50) as sub-indexes to several other <257 CVs.
ESU implemented indexed CVs as per NMRA S9.2.2, so you will see CVs like 16.2.384 in these decoder definitions.
ZIMO also followed the NMRA speciation.
SoundTraxx has implemented S9.2.2 style indexed CVs in its Econami and Tsunami 2 ranges. But they use a fixed value of 16 in CV31 so only quote it in CV32. So you will see CVs like 1.257 in these decoder definitions.
TCS adopted an even more complex system using CVs 201, 202, 203 & 204.
It is important to realize that indexed CVs are still just CVs as far as your DCC system is concerned. It knows nothing about indexed CVs.
But several issues have arisen:
1) Some DCC systems have problems with CVs>256. For example, I discovered an issue in the NCE Power Pro firmware that causes the wrong CV to be written in Program Track mode for any CV>256.
2) some decoder brands may have problems processing indexed CV calculations inside the decoder within the timing specifications of the NMRA standards. This can potentially cause issues with some DCC system brands/models.
3) ESU and ZIMO both provide in-decoder workaround solutions for problem (1), and we have successfully used the ESU algorithm in Decoder Pro. (But ZIMO provided different solutions with different firmware, and as yet, no volunteer has found time to resolve this). Unfortunately, SoundTraxx has not provided a similar workaround for its decoders.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments