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

From Train Control Systems Documentation
Jump to navigation Jump to search
Line 1: Line 1:
== NMRA CV 23 - Acceleration Adjustment ==
 
 
This Configuration Variable contains additional acceleration rate information that is to be added to or subtracted from the base value contained in Configuration Variable #3 using the formula (the contents of CV#23*.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 acceleration rate shall be used. In case of underflow no acceleration 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 C 23
+
|title = NMRA CV 23
|header1 = Acceleration Adjustment  
+
|header1 = Consist Acceleration Adjustment  
|label2 = 0-255
+
|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 23 - Consist Acceleration Adjustment ==
 +
This CV contains additional acceleration rate information that is to be added to or subtracted from the base value contained in Configuration Variable #3. 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#23] 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 (CV23 + CV3 > 255), the maximum acceleration rate shall be used (255). In case of underflow (CV3 + (-)CV23 < 0) no acceleration 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.

Revision as of 18:19, 2 October 2018

NMRA CV 23
Consist Acceleration Adjustment
Range of Values0-255
Default Value0

NMRA CV 23 - Consist Acceleration Adjustment

This CV contains additional acceleration rate information that is to be added to or subtracted from the base value contained in Configuration Variable #3. 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#23] 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 (CV23 + CV3 > 255), the maximum acceleration rate shall be used (255). In case of underflow (CV3 + (-)CV23 < 0) no acceleration 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.