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

From Train Control Systems Documentation
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== NMRA CV 24  (Deceleration Adjustment) ==
 
This Configuration Variable contains additional braking rate information that is to be added to or subtracted from the base value contained in Configuration Variable #4 using the formula (the contents of CV#24*.896)/(number of speed steps in use). This is a 7 bit value (bits 0-6) with bit 7 being reserved for a sign bit (0-add,1-subtract). In case of overflow the maximum deceleration rate shall be used. In case of underflow no deceleration shall be used. The expected use is for changing momentum to simulate differing train lengths/loads, most often when operating in a consist.
 
 
 
 
 
{{Infobox
 
{{Infobox
|title = NMRA CV24
+
|title = NMRA CV 24
|header1 = Deceleration Adjustment  
+
|header1 = Consist Deceleration Adjustment  
 
|label2 = Range of Values
 
|label2 = Range of Values
|data2 = RANGE OF VALUES HERE
+
|data2 = 0-255
 
|label3 = Default Value
 
|label3 = Default Value
|data3 = DEFAULT VALUE
+
|data3 = 0
 
}}
 
}}
 +
 +
== 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:
 +
<br><br/>
 +
([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.
 +
<br><br/>
 +
''' Related: '''
 +
* [[{{NAMESPACE}}:CV_19|Consist Address]]
 +
* [[{{NAMESPACE}}:CV_21|Consist Lighting (Part 1)]]
 +
* [[{{NAMESPACE}}:CV_22|Consist Lighting (Part 2)]]
 +
* [[{{NAMESPACE}}:CV_23|Consist Acceleration Adjustment]]
 +
* [[{{NAMESPACE}}:CV_156|Dual Prime Mover Delay]]

Latest revision as of 18:26, 2 October 2018

NMRA CV 24
Consist Deceleration Adjustment
Range of 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 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:

([the contents of CV#24] multiplied by [0.896]) divided by (number of speed steps in use)

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.

Related: