Shine Plus Maxi Digi
User Manual
Version
0.0.9
Page 15 of 64
9.
Address programming
The on board function decoder of Shine Plus Maxi Digi can be used
either with short addresses (1-127) or long addresses (1-9999). The
factory default is short addressing (bit 5 of CV29 is 0), with the
address 3 (CV1=3).
The address can be changed by placing the decoder on the
Programming Track (PT), and changing the CV1 value, according to
the instructions of your Command Station.
If long addressing is needed, the addressing mode has to be changed
in the configuration CV of the decoder (bit 5 of CV29). Changing the
bit5 value of CV29 to 1 will activate the long addressing mode, and
the decoder will respond to the long address specified in CV17 and
CV18. Bit5 has a decimal value of 32, so changing bit5 to binary 1 is
equivalent with the adding of 32 to the decimal value of CV29
(CV29 has a factory default value of 6, activating bit 5 means, to add
32 to this value, 6+32 = 38, the new value for CV29 will be 38).
The long addresses will be calculated with the following algorithm
(in our example we will consider the long address 2000)
-divide the desired long address with 256 (in our example 2000/256=
7, remainder = 208)
-add 192 to the result and program it in CV17 (7+192=199, program
the value of 199 in CV17)
-program the value of the remainder of the division in CV18
(program the value of 208 in CV18)