Basics of programming, Programming methods – SoundTraxx SoundCar Users Guide User Manual
Page 11

bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
When bit is
set to 1, value = 128 64
32 16
8
4
2
1
Therefore:
0 + 0 + 0 + 16 + 0 + 0 + 2 + 0 = 18
Tsunami SoundCar User’s Guide
Page 7
We then look up the binary value determined above, 00010010, in Appendix A
Basics of Programming
and see that it corresponds to a decimal value of 18 (or hex value of 0x12).
Program the decimal value (18) into the CV to get the desired response.
If you don’t have the conversion chart available, or just feel compelled to
do some calculations in your free time, the CV value can be determined
by an alternate method. Reading from right to left in the figure below, there
is a decimal value associated with each bit, beginning with 1 and doubling
in value for each successive bit (i.e., bit 0 = 1, bit 1 = 2, bit 2 = 4, bit 3 = 8,
bit 4 = 16, bit 5 = 32, bit 6 = 64, and bit 7 = 128). The decimal value
associated with each bit is only counted when that bit is set to 1. As reflected
in the figure below, bit 1 has a value of 2 and bit 4 has a value of 16. Adding
these two numbers together gives the correct decimal value of 18.
Programming Methods
There are two methods for programming CVs in your SoundCar DSD.
Operations Mode Programming – Sometimes called “Ops Mode”
or “programming on the main,” this programming mode allows CVs to
be changed while the car is operating on the layout, even when other
locomotives and rolling stock are present. The ability to program during
operation greatly enhances your ability to re‑create prototypical scenarios; for
example, you can increase the momentum of a locomotive after it couples to
a train.
One disadvantage of Ops Mode programming is that CV data cannot be
read back to verify values. To confirm the value of a CV that is programmed
in Operations Mode, the SoundCar DSD will audibly verify that it is properly
responding to your programmer by producing a short cowbell sound effect
when a command is received.
Service Mode Programming – This programming mode usually requires
connecting the car to a dedicated programmer or placing it on a special
programming track. SoundTraxx offers an advanced line of DSDs that
support the following four types of Service Mode instructions:
• Address Mode – Only CV 1 (Primary Address) may be changed.
• Register Mode – Only CVs 1, 2, 3, 4, 7, 8, and 29 may be changed.
• Paged Mode – Uses a page register to indirectly modify any CV.
• Direct Mode – Allows you to directly change any CV.