CVs Supported For Version 4.1 Decoders


The new line of Lenz advanced decoders version 4.1 support a full range of features. The following table lists the various CVs supported.

Please note that the bit assignments in this table use a bit numbering scheme of 1-8 to correspond to the 1-8 display on DIGITAL plus systems. Many other systems use a scheme of 0-7. Some CVs (such as CV29) have specify specific meanings for each bit. If you are using such a system you should subtract one from all bit numbers described in these CVs.

 

CV Reg Description Range Factory setting
1 1 Locomotive address:

This is the number with which you select a locomotive in the DIGITAL plus system.

1-127 3
2 2 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.

1-15 4
3 3 Acceleration Momentum:

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

1-31 1
4 4 Brake Momentum:

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

1-31 1
- 5 Contains CV29 (see CV29 below) 0-55 6
- 6 Page 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 7 Version Number:

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

- 44
8 8 Manufacturers Identification:

This value is the manufacturer ID of the decoder, (Lenz =99). This location is read only.

- 99
17 - Extended Address High Byte 192-231 0
18 - Extended Address Low Byte

The two byte address if used is contained in CV17+18

0-255 0
19 - Consist Address

The advanced consist address if used is stored in CV19

0-255 0
23 - Acceleration Trim This Configuration Variable contains additional acceleration rate information that is to be added to or subtracted from the base value contained in CV3 0-255 0
24 - Deceleration Trim This Configuration Variable contains additional braking rate information that is to be added to or subtracted from the base value contained in CV4 0-255 0
29 Decoder Configuration, Byte 1:

Several decoder properties are set with this byte. Changes are easiest if done in binary mode, but can also be done by adding the decimal () for all the features desired together and writing the total into CV29. The detailed properties are:

0-55 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 inverted

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 always 0 0 0
  bit 4

(5)

speed curve:

0 = factory pre-set speed curve is used

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

0,1 0

(16)

  bit 5

(6)

Extended Addressing

0= Normal addressing

1=Two Byte extended addressing

0-1 0

(32)

  bit 6

bit 7

always 0 0 0
50 Decoder Configuration, byte 2:

Similar to CV 29, but used to set other properties

  0
  bit 0 not used    
  bit 1

[2]

0 = CV23 and CV24 are not active

1 = CV23/CV24 are active and contain the acceleration and deceleration trim values that are added to CV3 or CV4.

0,1 0

(2)

  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 3-7 not used    
51 Lighting Special Effects   0
  bit 0

 

(1)

0 = the headlights are directional.

1 = the lights are independent per Rule 17. F0 controls the front headlight and F1 the rear headlight or a separate function.

0,1 0

 

(1)

  bit 1

(2)

0 = function dimming disabled

1 = the value in CV52 is used for headlight/function dimming. If CV51.0 = 0 then F1 dims the headlight if on.

0,1 0

(2)

  bit 2

(3)

1= if CV51.0 and CV51.2 both =1 (dimming and Rule17 are both active), F4 dims F0 0,1 0

(4)

  bit 3

(4)

1= if CV51.0 and CV51.2 both =1 (dimming and Rule 17 are both active), F4 dims F1 0,1 0

(8)

  bits 4-7 Not used    
52 Dimming CV - contains the value used for dimming. 0 is dark 255 is max brightness 0-255 0
67 to 94` Values for user defined speed curve:

These registers are used for a user defined speed curve. The factory setting for these registers is 0. If you are trying to use this speed curve unmodified, your locomotive will not move!

The value in each register determines the velocity of the locomotive for each assigned speed step:

For the 14 speed step mode 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.

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

**Note: in the factory setting field the numbers in the () are decimal.

Creating a Speed Curve

One common feature is to set a specific operating speed curve for your locomotives. This is usually done to have dissimilar locomotives have the same performance characteristics or to have the locomotives perform more prototypically. Start by writing down how you want to assign the internal speed settings to the speed steps, for example by making up a table as shown below.

In the following description, we will assume the decoder is properly installed and tested. We also assume you are familiar with the general process of programming for your system.

Speed step in 14/27 mode

Speed step in 28 mode

Internal speed setting

CV / register

1

1

1

67

 

2

6

68

2

3

12

69

 

4

16

70

3

5

20

71

 

6

24

72

4

7

28

73

 

8

32

74

5

9

36

75

 

10

42

76

6

11

48

77

 

12

54

78

7

13

60

79

 

14

69

80

8

15

78

81

 

16

85

82

9

17

92

83

 

18

105

84

10

19

118

85

 

20

127

86

11

21

136

87

 

22

152

88

12

23

168

89

 

24

188

90

13

25

208

91

 

26

219

92

14

27

240

93

-

28

255

94

In 128 speed step mode the decoder internally averages the speed table to obtain the correct speed step value.



Copyright 2001  by Lenz Elektronik, GmbH. All Rights Reserved
This page was designed by Debbie Ames, owner tttrains