Difference between revisions of "Diesel Version 5:CV 16"

From Train Control Systems Documentation
Jump to navigation Jump to search
m (1 revision imported)
Line 1: Line 1:
== NMRA CV 16 - Decoder Lock (Door) ==
+
{{Infobox CV
The Decoder Lock is used to change CVs in only one of several decoders with the same short address (CV1) or long address (CV17 and CV18) that are installed in the same locomotive. Assign a number to CV16 in each decoder (i.e. 1 to motor decoder, 2 to sound decoder, 3 or higher to other decoders) before the decoders are installed in the locomotive. To change a value in another CV of one of the installed decoders, first write the number 1 (motor), 2 (sound), or 3 or higher (other) into CV15, then send the new value to the CV to be changed. The decoders will compare CV15 to CV16 and, if the values are equal, the CV to be changed will be
+
|cv name=Decoder Lock (Lock)
changed. If the values in CV15 and CV16 are different, the update will be ignored.  
+
|cv range=0-7
 +
|cv accepted=0-7
 +
|cv default=2
 +
}}
 +
 
 +
== NMRA CV 16 - Decoder Lock (Lock) ==
 +
The Decoder Lock feature is used to change CVs in only one of several decoders with the same short address (CV1) or long address (CV17 and CV18). Typically this becomes a concern only when multiple decoders are installed in the same locomotive.  
 +
 
 +
To use Decoder Lock:
 +
Program a number between 1 and 6 into CV16 in each decoder (see the chart below for the standard values) '''before''' the decoders are installed in the locomotive. To change a value in another CV of one of the installed decoders, first write the corresponding number into CV15, then send the new value to the CV to be changed. The decoders will compare CV15 to CV16 and, if the values are equal, the CV to be changed will be changed.  
  
{{Infobox
+
By default, a DCC decoder will be unlocked, but may or may not have a value set in CV16.
|title = NMRA CV 16
+
 
|header1 = Decoder Lock
+
If the values in CV15 and CV16 are different, the decoder is considered locked, and programming request will be ignored.
|label2 = 0-255
+
 
|data2 = RANGE OF VALUES HERE
+
{| class="wikitable" style="text-align: center;"
|label3 = Default Value
+
|-
|data3 = DEFAULT VALUE
+
! scope="col"| Decoder Type
}}
+
! scope="col"| Lock #
 +
|-
 +
! scope="row"| Lock Disabled
 +
| 0
 +
|-
 +
|-
 +
! scope="row"| Non-Sound Decoder
 +
| 1
 +
|-
 +
|-
 +
! scope="row"| Sound Decoder
 +
| 2
 +
|-
 +
|-
 +
! scope="row"| Lights-Only Decoder
 +
| 3
 +
|-
 +
|-
 +
! scope="row"| User Defined #1
 +
| 4
 +
|-
 +
|-
 +
! scope="row"| User Defined #2
 +
| 5
 +
|-
 +
|-
 +
! scope="row"| User Defined #3
 +
| 6
 +
|-
 +
|-
 +
! scope="row"| All Locked
 +
| 7
 +
|-
 +
|}
 +
 
 +
[[Category:Standard CV]]
 +
[[Category:Bitwise CV]]

Revision as of 23:19, 2 April 2021

CV 16
Decoder Lock (Lock)
Range of Values0-7
Accepted Values0-7
Default Value2

NMRA CV 16 - Decoder Lock (Lock)

The Decoder Lock feature is used to change CVs in only one of several decoders with the same short address (CV1) or long address (CV17 and CV18). Typically this becomes a concern only when multiple decoders are installed in the same locomotive.

To use Decoder Lock: Program a number between 1 and 6 into CV16 in each decoder (see the chart below for the standard values) before the decoders are installed in the locomotive. To change a value in another CV of one of the installed decoders, first write the corresponding number into CV15, then send the new value to the CV to be changed. The decoders will compare CV15 to CV16 and, if the values are equal, the CV to be changed will be changed.

By default, a DCC decoder will be unlocked, but may or may not have a value set in CV16.

If the values in CV15 and CV16 are different, the decoder is considered locked, and programming request will be ignored.

Decoder Type Lock #
Lock Disabled 0
Non-Sound Decoder 1
Sound Decoder 2
Lights-Only Decoder 3
User Defined #1 4
User Defined #2 5
User Defined #3 6
All Locked 7