Most Roco engines are fitted with a Zimo decoder. Those decoders are not supported by the ESU LokProgrammer software and it is therefore not very intuitive on how to change the address of a Roco engine. Here's how I do it.
I want to set engine BB 22332 - Roco 73878 to address 2232.
CV 17 & 18
The long address is 4-digit long and stored in CV 17 and CV 18. I used the following calculator to compute the value for each CV: https://www.digitrax.com/support/cv/calculators/
For a long address of 2232, the values are:
- CV 17 = 200
- CV 18 = 184
CV 29
In addition, bit 5 of CV 29 needs to be set to 1, so that the command station knows to use the long address instead of the short address stored in CV 1. CV 29 actually holds multiple settings, including the RailCom protocol. I used the following calculator: http://www.2mm.org.uk/articles/cv29%20calculator.htm
- CV 29 = 46 (previous value was 14)