

Decoder Configuration
collector_left
Locomotive addresses |
Both locomotive and function decoder have a fundamentally different address scheme compared to accessory decoder. They have an individual address, which is unique on the model installation. An exception are carriage decoder of a train for example, which are set to the same address. There are two pays of setting the address in the DCC protocol.
In CV 29 is stored which address method is used for the decoder. Each decoder is addressed with an address in the Märklin/Motorola format. For decoder that support both protocols, the first DCC locomotive address is used.The composite addressEspecially older systems use the so-called composite, in which various decoder are combined with an additional address. This is especially useful when using multiple motor vehicles in one train. It allows to control all together, instead of each one separately. Modern controller offer different possibilities for the common control of decoder. Nevertheless the composite control is still justified. The standard only provides a short address, which is set in CV 19. In addition, CV 19 contains information whether the locomotive changes direction or not. The effects are explained in direction of travel. Locomotive address of QdecoderQdecoder of the all-in-one class offer up to four locomotive addresses to support the evaluation of Qfunctions. The composite address is not evaluated by the Qfunctions. The addresses are stored in the configuration variables 288/289 (second address), 290/291 and 292/293. The function outputs of the Qdecoder can also be switched directly via the function keys of the locomotive control Qdecoder support the full address range of DDC-locomotive addresses and Märklin/Motorola locomotive addresses in the usual range between 1 and 80. Construction of the long locomotive address and the configuration variablesCV 29 contains a number of basic settings. Bit 6 is used to distinguish between short and long address. If it is set, long addresses will be used, if not, then the short address is valid. The distribution of long addresses in CVs 17 and 18 is fairly crude. For that reason, modern controller do the programming automatically and manage the bit in CV 29 at the same time. The CV 18 contain the least significant part of the address, CV 17 the most significant one. To complicate things further, the most significant part of the long address contains an offset of 192.CV 17 = decoder address / 256 + 192For addresses less than 256, CV 17 always contains the value '192'; for addresses between 256 and 511 always '193', and so on. CV 18 = remainder of the division decoder address / 256. For addresses less than 256, CV 18 has the value of the address; for addresses between 256 and 511 the address - 256 and so on. By default, all decoders of all manufacturers are pre programmed to the short address 3. It is therefore required for all new decoder to change the decoder address. The CVs for the addressing are:
For accessory decoder the standard assigns CV address 29 for other purposes. Please use address 59 instead of address 29. |
