Difference between revisions of "CV 24"

From Train Control Systems Documentation
Jump to navigation Jump to search
m (1 revision imported)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
+
{{Infobox CV
|title = NMRA CV 24
+
|cv name=Consist Deceleration
|header1 = Consist Deceleration Adjustment
+
|cv range=0-255
|label2 = Range of Values
+
|cv accepted=0-255
|data2 = 0-255
+
|cv default=0
|label3 = Default Value
 
|data3 = 0
 
 
}}
 
}}
  
== NMRA CV 24 - Consist Deceleration Adjustment ==
+
==NMRA CV 24 - Consist Deceleration Adjustment==
This CV contains additional deceleration rate information that is to be added to or subtracted from the base value contained in Configuration Variable #4. This CV will only affect the momentum when CV19 is a non-0 value, meaning the decoder is configured for advanced consisting. The total momentum value can be calculated using the following formula:
+
This CV contains additional deceleration rate information that is to be added to or subtracted from the base value contained in Configuration Variable #4. This CV will only affect the momentum when the decoder is operating in a [[CV 19 Consisting|CV 19 Consist]]. This CV is a 7 bit value (bits 0-6) with the 8th bit (bit 7) being reserved for signing. (0 = add, 1 = subtract); therefore, the range of values is 0 to +/-127 where a value of 255 = (-)127.
<br><br/>
+
 
([the contents of CV#24] multiplied by [0.896]) divided by (number of speed steps in use)
+
The total momentum value to be added can be calculated using the following formula: ([the contents of CV#24] multiplied by [0.896]) divided by (number of speed steps in use)
<br><br/>
+
 
This is a 7 bit value (bits 0-6) with bit 7 being reserved for a sign bit (0-add, 1-subtract). The product of this formula is added to the value in CV 3. In case of overflow (CV24 + CV4 > 255), the maximum deceleration rate shall be used (255). In case of underflow (CV4 + (-)CV24 < 0) no deceleration shall be used (0). The expected use of this configuration is for changing momentum to simulate differing train lengths/loads. Consisted/MU's tend to pull/push more cars, and therefore can have simulated higher loads by using this configuration.
+
The product of this formula is '''added''' to the value in [[CV 4]]. In case of overflow (CV24 + CV4 > 255), the maximum deceleration rate is used (255). In case of underflow (CV4 + (-)CV24 < 0) no deceleration momentum shall be used (0). The expected use of this configuration is for changing momentum to simulate differing train lengths/loads. Consisted/MU's tend to pull/push more cars, and therefore can have simulated higher loads by using this configuration.
<br><br/>
+
 
 +
It is important to note that the use of this CV only affects operation when changing speed using only the throttle. Adjustments to this CV will NOT affect the deceleration rate when using Brakes.
 +
 
 
''' Related: '''
 
''' Related: '''
* [[{{NAMESPACE}}:CV_19|Consist Address]]
+
 
* [[{{NAMESPACE}}:CV_21|Consist Lighting (Part 1)]]
+
*[[CV 23]]
* [[{{NAMESPACE}}:CV_22|Consist Lighting (Part 2)]]
+
*[[{{NAMESPACE}}:CV_19|Consist Address]]
* [[{{NAMESPACE}}:CV_23|Consist Acceleration Adjustment]]
+
*[[{{NAMESPACE}}:CV_21|Consist Lighting (Part 1)]]
* [[{{NAMESPACE}}:CV_156|Dual Prime Mover Delay]]
+
*[[{{NAMESPACE}}:CV_22|Consist Lighting (Part 2)]]
 +
*[[{{NAMESPACE}}:CV_23|Consist Acceleration Adjustment]]
 +
*[[{{NAMESPACE}}:CV_156|Dual Prime Mover Delay]]
  
 
[[Category:Standard CV]]
 
[[Category:Standard CV]]

Latest revision as of 17:52, 4 November 2022

CV 24
Consist Deceleration
Range of Values0-255
Accepted Values0-255
Default Value0

NMRA CV 24 - Consist Deceleration Adjustment

This CV contains additional deceleration rate information that is to be added to or subtracted from the base value contained in Configuration Variable #4. This CV will only affect the momentum when the decoder is operating in a CV 19 Consist. This CV is a 7 bit value (bits 0-6) with the 8th bit (bit 7) being reserved for signing. (0 = add, 1 = subtract); therefore, the range of values is 0 to +/-127 where a value of 255 = (-)127.

The total momentum value to be added can be calculated using the following formula: ([the contents of CV#24] multiplied by [0.896]) divided by (number of speed steps in use)

The product of this formula is added to the value in CV 4. In case of overflow (CV24 + CV4 > 255), the maximum deceleration rate is used (255). In case of underflow (CV4 + (-)CV24 < 0) no deceleration momentum shall be used (0). The expected use of this configuration is for changing momentum to simulate differing train lengths/loads. Consisted/MU's tend to pull/push more cars, and therefore can have simulated higher loads by using this configuration.

It is important to note that the use of this CV only affects operation when changing speed using only the throttle. Adjustments to this CV will NOT affect the deceleration rate when using Brakes.

Related: