Configuration Variables used by V3.8 Decoders
CV1 Short decoder address; 1-127 valid
CV2 Vlow, Start Voltage (useful range 0-100)
CV3 Acceleration rate (each unit = 7mS between speed steps) 255 max. CV23 is added to this value on power up
CV4 Deceleration rate (each unit = 7mS between speed steps) 255 max. CV24 is added to this value on power up
CV5 Vmax, speed at highest speed step. 0=use factory default of 255
CV6 Vmid, speed (on a scale of 1-255) at speed step 7,14,or 63. 0=use default of 127
CV7 Decoder version number. This decoder is 38 which means version 3.8
CV8 Manufacturer ID. NCE = 11 (0B hex)
CV11 Brake on DC- Packet timeout value (in ½ second increments) Time the decoder will wait before braking to a
stop after running into a section of track with DC power. Dual Mode in CV29 must be on. Value 0= off
CV15 Decoder programming lock “KEY”. This CV is always programmable even when “locked”
CV16 Decoder programming lock ID. When CV15=CV16, programming is unlocked and the
decoder will respond to programming commands. If CV15 is not equal to CV16 then
decoder programming is locked and it will not program (except CV15) or read.
CV17 High byte of long (4 digit) address
- bit 6,7 always= 1
- bits 0-5 are upper 6 bits of address
CV18 Low byte of long (4 digit) address
CV19 Consist address. (0 or 128 = no consist active)
- bits 0-6 short consist address (1-127 valid)
- bit 7 0= direction is normal, 1= direction is reversed
CV21 Functions active in consist mode. Bit 0 controls F1,bit 1=F2, bit 2=F3, etc.
- bit 0 - 1=function can be controlled at consist address, 0 = no consist control
CV22 Functions active in consist mode. Bits 0,1 control F0F and F0R respectively
each bit 1=function can be controlled at consist address, 0 = no consist control
CV23 acceleration adjust momentum control
CV24 deceleration adjust momentum control
CV29 - bit 0 1= direction of operation is reversed, 0= direction is normal
- bit 1 1=28 speed mode (always enabled)
- bit 2 1= analog operation mode enabled, 0 = disabled
- bit 4 1= alternate speed table active, 0= use table defined by CV2,5,6
- bit 5 1= use long address in CV17/18, 0= use short address CV1
- bits 3,6,7 are ignored by the decoder
CV30 Set this CV to 2 on the programming track and the decoder will reset to factory settings.
CV33 F0F default value is 1 output 1 / white / pin 6
CV34 F0R default value is 2 output 2 / yellow / pin 2
CV35 F1 default value is 4 output 3 / green / pin 3
CV36 F2 default value is 8 output 4 / violet
CV37 F3 default value is 16 output 5 / brown or solder pad
CV38 F4 default value is 4 output 6
CV39 F5 default value is 8 output 7
CV40 F6 default value is 16 output 8
CV41 F7 default value is 32 output 9
CV42 F8 default value is 64 output 10
CV43 F9 default value is 16 output 11
CV44 F10 default value is 32 output 12
CV45 F11 default value is 64 output 13
CV46 F12 default value is 128 output 14
CV67-CV94 Uploadable speed table steps 1-28 (128 speed mode calculates intermediate steps)
CV95 Reverse trim, values 1-127 add to reverse speed, values 129-255 add to forward speed
CV116 Torque kick rate (default is 4)- number of 16ms periods in a row that motor is ‘kicked’ with voltage pulse
CV117 Torque kick strength - how much voltage is used to kick the motor at slow speeds. Reduces
to 0 as speed is increased.
CV118 Ditch light hold time (in ¼ second increments) after F2 goes off.
CV120 EFX for F0F output 1 / white / pin 6 default value is 1 directional active in Forward
CV121 EFX for F0R output 2 / yellow / pin 2 default value is 2 directional active in Reverse
CV122 EFX for F1 output 3 / green / pin 3 default value is 0 - standard on / off
CV123 EFX for F2 output 4 / violet default value is 0 - standard on / off
CV124 EFX for F3 output 5 / brown default value is 0 - standard on / off
CV125 EFX for F4 output 6 default value is 0 - standard on / off
CV126 EFX for F5 default value is 0 - standard on / off
CV127 EFX for F6 default value is 0 - standard on / off
CV NOTES: All CV numbers not listed above may be programmed but not used by the decoder. This
decoder supports all DCC programming methods.
Formula for computing the long address if using a Lenz SET01 or SET02:
If using a Lenz SET01, SET02, SET90, SET100 or other entry level system, use paged programming
mode and see below for programming long addresses.
CV17 = 192 + (the whole number portion of the long address divided by 256)
CV18 = the remainder after the long address is divided by 256
CV29 = 34 if analog mode disabled, 38 if analog mode enabled
Ditch lights are non-dimmable and non-directional. This is per prototype practice or as close as we can get it.
This cannot be modified in any way. This might be something modified in the future but we have no plans for it.
All of our decoders "remember" the last state of a function output after losing power.