This isn’t exacly in context, since it is cut and pasted from what I wrote on thread on another forum, but I think you’ll get the idea:
I’ll go a bit more techie, just to describe why 0-7 is proper, and whoever dreamed up 1-8 was not an engineer (in my opinion). When you start the numbers at zero, the value of each bit set to a one is 2 raised to that power. So, if bit 2 is set, the value is 4. That makes it quick and easy to figure out the values, especially as you get to 16 bit words and such.
That said, as has been mentioned, DCC systems are getting farther away from this every day, and that’s a good thing. I think the user interface is still the weak link in DCC, and because the actual functions of bits and CVs in decoders is not (and probably should not) be totally standardized, it is going to be a tough nut to crack. Hence being at least a tiny bit (oops!) binary competent is a good thing.
OK, here we go…
This link http://www.nmra.org/standards/DCC/standards_rps/rp922.html is the NMRA’s ‘Recommended Practice’ for CV’s and what they mean. (I’m not sure how it is just recommended, since anyone who didn’t follow it is just asking to be incompatible, but that’s a different discussion.
There is a table a little way down listing all of the available CVs and what they contain. Some are madatory, some optional, some reserved for manufacturers (to put in unique stuff), etc. Following that is a text description of what each controls, and through which bits. So, looking at CV 29, bit 4 (the fifth bit), which has a value of 16 (2 to the fourth power), determines whether the speed table is set by CVs 2,5,and 6, or by CV 25. This is also in Soundtraxx’s Tsumnami Technical Reference, it is easier to read there, I think. So, if you want to use CV 25 to select the speed table you make sure that CV 29 bit 4 is set. Now is the tricky bit, depending on how your DCC syst