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

From Train Control Systems Documentation
Jump to navigation Jump to search
(updated to match flagship default - F1 through F4 are not controlled in consist)
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
|cv range=0-255
 
|cv range=0-255
 
|cv accepted=0-255
 
|cv accepted=0-255
|cv default=255
+
|cv default=240
 
}}
 
}}
  
== NMRA CV 21 - Consist Lighting Control for Function 1 Through Function 8 ==
+
==NMRA CV 21 - Consist Lighting Control for Function 1 Through Function 8==
This CV is used to configure what functions will respond to user input on the consist address. This particular CV affects F1-F8. For each Bit, a value of "1" indicates that the function will respond to instructions addressed to the consist address. A value of "0" indicates that the function will only respond to instructions addressed to the locomotive address. F1 is indicated by bit 0. F8 by bit 7.
+
This CV is used to configure what functions will respond to user input on the consist address. This particular CV affects F1-F8. For each Bit which is set, that the function will respond to instructions addressed to the consist address ONLY. Each bit which is cleared indicates that the function will only respond to instructions addressed to the locomotive's individual address. F1 is controlled by bit 0; F8 by bit 7.<br>  
<br><br/>
+
 
 
To determine which functions are active, use the table below and combine the values of the functions you would like to have active, and program the ''sum'' into CV21. By default, all functions are active on the consist address.  
 
To determine which functions are active, use the table below and combine the values of the functions you would like to have active, and program the ''sum'' into CV21. By default, all functions are active on the consist address.  
  
 
{| class="wikitable" style="text-align: center;"
 
{| class="wikitable" style="text-align: center;"
 
|-
 
|-
! scope="col"| Feature
+
!Bit
! scope="col"| Value
+
! scope="col" |Feature
 +
! scope="col" |Value
 +
!Default
 
|-
 
|-
! scope="row"| Function 1
+
!0
| 1
+
! scope="row" |Function 1
 +
|1
 +
|Control on Base Addr
 
|-
 
|-
 
|-
 
|-
! scope="row"| Function 2
+
!1
| 2
+
! scope="row" |Function 2
 +
|2
 +
|Control on Base Addr
 
|-
 
|-
 
|-
 
|-
! scope="row"| Function 3
+
!2
| 4
+
! scope="row" |Function 3
 +
|4
 +
|Control on Base Addr
 
|-
 
|-
 
|-
 
|-
! scope="row"| Function 4
+
!3
| 8
+
! scope="row" |Function 4
 +
|8
 +
|Control on Base Addr
 
|-
 
|-
 
|-
 
|-
! scope="row"| Function 5
+
!4
| 16
+
! scope="row" |Function 5
 +
|16
 +
|Control on Consist Addr
 
|-
 
|-
 
|-
 
|-
! scope="row"| Function 6
+
!5
| 32
+
! scope="row" |Function 6
 +
|32
 +
|Control on Consist Addr
 
|-
 
|-
 
|-
 
|-
! scope="row"| Function 7
+
!6
| 64
+
! scope="row" |Function 7
 +
|64
 +
|Control on Consist Addr
 
|-
 
|-
 
|-
 
|-
! scope="row"| Function 8
+
!7
| 128
+
! scope="row" |Function 8
 +
|128
 +
|Control on Consist Addr
 
|-
 
|-
 
|}
 
|}
  
 
''' Related: '''
 
''' Related: '''
* [[{{NAMESPACE}}:CV_19|Consist Address]]
+
 
* [[{{NAMESPACE}}:CV_22|Consist Lighting (Part 2)]]
+
*[[{{NAMESPACE}}:CV_19|Consist Address]]
* [[{{NAMESPACE}}:CV_23|Consist Acceleration Adjustment]]
+
*[[{{NAMESPACE}}:CV_22|Consist Lighting (Part 2)]]
* [[{{NAMESPACE}}:CV_24|Consist Deceleration Adjustment]]
+
*[[{{NAMESPACE}}:CV_23|Consist Acceleration Adjustment]]
* [[{{NAMESPACE}}:CV_156|Dual Prime Mover Delay]]
+
*[[{{NAMESPACE}}:CV_24|Consist Deceleration Adjustment]]
 +
*[[{{NAMESPACE}}:CV_156|Dual Prime Mover Delay]]
 +
 
 +
[[Category:Standard CV]][[Category:Bitwise CV]]

Latest revision as of 20:40, 28 October 2022

CV 21
Consist Light Control (F1-F8)
Range of Values0-255
Accepted Values0-255
Default Value240

NMRA CV 21 - Consist Lighting Control for Function 1 Through Function 8

This CV is used to configure what functions will respond to user input on the consist address. This particular CV affects F1-F8. For each Bit which is set, that the function will respond to instructions addressed to the consist address ONLY. Each bit which is cleared indicates that the function will only respond to instructions addressed to the locomotive's individual address. F1 is controlled by bit 0; F8 by bit 7.

To determine which functions are active, use the table below and combine the values of the functions you would like to have active, and program the sum into CV21. By default, all functions are active on the consist address.

Bit Feature Value Default
0 Function 1 1 Control on Base Addr
1 Function 2 2 Control on Base Addr
2 Function 3 4 Control on Base Addr
3 Function 4 8 Control on Base Addr
4 Function 5 16 Control on Consist Addr
5 Function 6 32 Control on Consist Addr
6 Function 7 64 Control on Consist Addr
7 Function 8 128 Control on Consist Addr

Related: