CVs Supported For V5.4 Back EMF Decoders


The newest line of Lenz advanced decoders with back emf control (Version 5.4) support a full range of features. These features are configured through setting the value in the decoder's Configuration Variables or CVs.  The following table lists the various CVs supported.

Please note that we have an excellent set of factory defaults so most users will not need to change anything other than the decoders address and perhaps its start voltage.  But for those users that want more special lighting effects, the decoder has a lot to offer by configuring additional CVs.

Please note: Some CVs (such as CV29) have specific meanings for each bit. The bit assignments in this table use a bit numbering scheme of 0-7 to correspond the NMRA convention for universal bit numbering. Many handhelds (such as the DIGITAL plus LH100 handheld) use a scheme of 1-8 to refer to the individual bits rather than 0-7. (Bit 0 in this table is displayed as a"1" on LH100 handheld, Bit 1 is identified as  "2".)  The bit numbers in () within these tables contain the LH100 bit numbers.

Note 2: {R} is used to designate Register number for those systems that only support Register Mode

**Note3: in the factory setting field the numbers in the [ ] are decimal.
CV

Description

Range Factory setting
1

{R1}

Locomotive address:

This is the number with which you select a locomotive in your NMRA DCC system.  It is also known as the locomotives short address as only values of 1 through 127 can be stored in this CV.  See also CVs 17 and 18 for the decoders long address.

Note: Setting the address from #1 to #3 using register mode will reset the decoder to utilize 14 speed step operation.
1-127 3
2

{R2}

Start voltage:

This is the voltage applied to the motor in speed step 1. Set this value so that the locomotive just starts moving in speed step 1. The higher the number the faster the decoder will move at the first speed step.

1-15 0
3

{R3}

Acceleration Momentum:

Determines the rate of change of speed upon acceleration. A higher value leads to a slower acceleration.

1-31 1
4

{R4}

Brake Momentum:

Determines the rate of change of speed upon braking. A higher value leads to longer brake distance.

1-31 1
5

Maximum speed:

Determines the maximum speed that the locomotive will move. This allows you to operate your locomotives in a prototypical speed range. (only active if back EMF is enabled)

1-10 10
 

{R6}

Page/Pointer Register:

Normally this CV is not modified directly by a user.  For correct operation, this CV should be set to have a value of 1 after any use.

0-127 1
7

{R7}

Version Number:

This location stores the version number of the decoder. This location is read only.

- 54
8

{R8}

Manufacturers Identification:

Contains the manufacturer ID of the decoder,  (Lenz =99).  Writing a value of 33 using Register mode resets all CVs to their factory condition

- 99
9

EMF Frequency:

Allows you to adjust the pulse rate frequency for finer motor control:  

Note the value in CV9 effects the entire performance of the decoder including the speed at speed step one.  Lower numbers will provide slower speeds but may also effect the smoothness of slow speed operation.  While the default value is great for most locomotives, some motors work better with a smaller value

0-15 10
17

Extended Address High Byte:

Two CVs (CV17 and CV18) are used together to set 4 digit addresses.  Most systems o this automatically for you.

192-231 0
18

Extended Address Low Byte: 

This is the second CV used to set 4 digit addresses,

0-255 0
19

Consist Address:

The advanced consist address if used is stored in CV19.  Our decoders support decoder assisted consisting as specified by the NMRA DCC specifications.  A value of 1-127 is a valid address for normal operation.  Addresses 128-255 are the same address but the locomotive operates in reverse to its operation under a normal address.

0-255 0
29

{R5}

Decoder Configuration, Byte 1:

Several decoder properties are set with this byte. Changes are best done in binary mode (see the information for the Hand Held LH100).   If your command station only supports decimal operations then you will need to add the values for the desired settings together. The detailed properties for CV29 are:

0-63 6
  bit 0

(1)

Locomotive direction:

Locomotive’s relative direction: This bit sets the direction the locomotive will move when told to move forward in digital mode.

0 = locomotive’s direction is normal

1 = locomotive’s direction is reversed

0,1 0

[1]

  bit 1

(2)

Headlight mode:

0 = Operation with 14 or 27 speed step systems. This setting is selected when the locomotive decoder is used with any Digital system that does not support 28 speed step mode. If the headlights turn on and off as the speed is increased, the command station is configured for 28 speed step mode, and the decoder is in 14 speed step mode.

1 = Operation with 28, 55 or 128 speed steps. If you use this setting, the Command Station must also be configured to use 28 speed step mode or 128 speed step mode for the decoder's address, otherwise the headlights can not be controlled.

0,1 1

[2]

  bit 2

(3)

Usage on conventional DC layouts:

0 = locomotive operates in digital mode only

1 = locomotive can operate on either conventional DC and on DCC

0,1 1

[4]

  bit 3

(4)

Enable RailCom:

RailCom is being designed to be fully compatible with the emerging NMRA standards for bi-directional communication. Due to changes in the specifications your decoder may require a factory update to take full advantage of these features once the NMRA completes its specifications

0,1 0 [8]
  bit 4

(5)

Speed Curve Selection:

0 = factory pre-set speed curve is used

1 = user defined speed curve is used. Please enter the appropriate values into CV 67 to 94 before setting this bit.

0,1 0

[16]

  bit 5

(6)

Enable Extended Addressing:

0= Normal addressing via CV1

1= Four digit extended addressing via 
CVs 17 and 18

0-1 0

[32]

  bits 6-7

(7-8)

always 0 0 0
50

Decoder Configuration, byte 2:

Similar to CV 29, but other properties are set with this byte:

0-7 1
 

bit 0

(1)

Enable Back EMF Control:

If set back emf control is active

0,1 1

[1]

  bit 1 not used    

bit 2

(3)

Brake momentum on DC operation:

Used to achieve prototypical braking at red signal indications if conventional DC control CV29.2 is disabled. (CV 29 bit 2 = 0)

0 = locomotive proceeds with track voltage dependent speed inside the conventional DC section.

1 = locomotive brakes in the conventional DC section with pre set brake momentum.

0,1 0

[4]

 

bits 4-8

not used    
51

Lighting Special Effects for Outputs A
see CV 57 for information about Output B

0-255 0
  bit 0

 

(1)

0 = the headlights (A&B) are directional.  If the light function is on the headlight in the direction of travel will be on

1 = the lights (A&B) are independent per Rule 17.  F0 controls the front headlight and F1 controls either the rear headlight or a separate function (such as a mars light)

0,1 0

 

[1]

  bit 1

(2)

Only active if bit 2 (3) is set to a value of 1

0 = output A is always dimmed per the value in CV52 whenever output A it is on.

1 = If directional lighting is enabled F1 is used for dimming output A , if independent lighting is used  F4 is used for dimming output A.   The value in CV52 is used for to specify the amount of dimming.

0,1 0

[2]

  bit 2

(3)

If set to a value if 1 
Output A can be dimmed

See bit 1 (2) to specify the type of dimming used

0,1 0 [4]
Bits 3-7 are only active for independent lighting.  
If more than one bit is set, only the higher bit is active.
  bit 3 (4) Not used 0,1 0 [8]
  bit 4 (5) Output A is a Gyrolight   0 [16]
  bit 5 (6) Output A is a Mars light   0 [32]
  bit 6 (7) Output A is a Single Strobe   0 [64]
  bit 7 (8) Output A is a Double Strobe   0 [128]
52

Dimming CV for Output A: 

Contains the value used for dimming for output A. 
0 is dark 255 is maximum brightness

0-255 64
53

Lighting Special Effects for Outputs C and D:

0-7 0
  bit 0 (1) 1 =  Output C blinks with the frequency set in CV56 0,1 0 [1]
  bit 1 (2) 1 =  Output D blinks with the frequency set in CV56 0,1 0 [2]
  bit 2

(3)

1=  Outputs C and D act as Ditch Lights.

You can have the ditch lights both be on or alternate blink through separate functions.

CV55 controls which function turns on both ditch lights and CV54 controls which function activates the alternating blinking feature.

0,1 0

[4]

54

Function assignment for Output C: 

You can specify which Function controls output C using this CV. Setting multiple bits will allow multiple functions to control the same output.

0-255 1
  bit 0 (1) 1 = Output C is controlled By F1 0,1 1 [1]
  bit 1 (2) 1 = Output C is controlled By F2 0,1 0 [2]
  bit 2 (3) 1 = Output C is controlled By F3 0,1 0 [4]
  bit 3 (4) 1 = Output C is controlled By F4 0,1 0 [8]
  bit 4 (5) 1 = Output C is controlled By F5 0,1 0 [16]
  bit 5 (6) 1 = Output C is controlled By F6 0,1 0 [32]
  bit 6 (7) 1 = Output C is controlled By F7 0,1 0 [64]
  bit 7 (8) 1 = Output C is controlled By F8 0,1 0 [128]
55

Function assignment for Output D:

You can specify which Function controls output C using this CV. Setting multiple bits will allow multiple functions to control the same output.

0-255 2
  bit 0 (1) 1 = Output D is controlled By F1 0,1 1 [1]
  bit 1 (2) 1 = Output D is controlled By F2 0,1 0 [2]
  bit 2 (3) 1 = Output D is controlled By F3 0,1 0 [4]
  bit 3 (4) 1 = Output D is controlled By F4 0,1 0 [8]
  bit 4 (5) 1 = Output D is controlled By F5 0,1 0 [16]
  bit 5 (6) 1 = Output D is controlled By F6 0,1 0 [32]
  bit 6 (7) 1 = Output D is controlled By F7 0,1 0 [64]
  bit 7 (8) 1 = Output D is controlled By F8 0,1 0 [128]
56

Blinking Rate for Outputs C and D: 

If you have blinking or ditch lights enabled then this CV sets the rate for the blinking. The higher the value the faster the blinking.

Frequency in Hz = 1/0.016*(1+CV56)

0-255 15
57

Lighting Special Effects for Outputs B:

0 0
  bit 0

(1)

Not Used: CV51 Bit 0 (1) applies to both output A and output B 0,1 0

[1]

  bit 1

(2)

Only active if bit 2 (3) is set to a value of 1

0 = output B is always dimmed per the value in CV52 whenever output B it is on.

1 = If directional lighting is enabled F1 is used for dimming output B , if independent lighting is used  F4 is used for dimming output B.   The value in CV52 is used for to specify the amount of dimming.

0,1 0

[2]

  bit 2

(3)

If set to a value if 1 
Output B can be dimmed

See bit 1 (2) to specify the type of dimming used.

0,1 0

[4]

Bits 3-7 are only active for independent lighting.  
If more than one bit is set, only the higher bit is active.
  bit 3 (4) Not used 0,1 0 [8]
  bit 4 (5) Output B is a Gyrolight   0 [16]
  bit 5

(6)

Output B is a Mars light   0 [32]
  bit 6 (7) Output B is a Single Strobe   0 [64]
  bit 7 (8) Output B is a Double Strobe   0 [128]
58

Dimming CV for Output B: 

Contains the value used for dimming output B.  
0 is dark 255 is max brightness

0-255 64
67 to 94

Values for user defined speed curve:

These CVs are used for a user defined speed curve.  The value in each CV determines the velocity of the locomotive for each assigned speed step.  The higher the number the faster the locomotive goes at that speed step.

For the 14 speed step mode only the odd CVs are used.

If you are using 128 speed step mode and you have activated the user defined speed table, the intermediate speed steps are calculated by the decoder.

1-127 Factory

Default

Speed

Curve

105 User Identification #1

This is one of two CVs allocated for the user to put unique information.  For example in a club the user identity is often used.  The decoder stores the value but does not do anything with it.

0-255 255
106 User Identification #2 0-255 255
128 Decoder Software Version – read only

We continuously make minor improvements in our decoders.  This CV specifies which software release is currently in the decoder.

  05

 



Copyright 2002  by Lenz Elektronik, GmbH. All Rights Reserved