Difference between revisions of "Diesel Version 5:WOWDiesel Indexed CV's"
(adding indexed CV's in use as tables - in progress work) |
m (note about indexed cv endpoint) |
||
Line 10: | Line 10: | ||
{{{{NAMESPACE}}:CV_16_0_258}} | {{{{NAMESPACE}}:CV_16_0_258}} | ||
− | == List of Indexed CV's in Use == | + | ==List of Indexed CV's in Use== |
''Specific Indexed CV numbers omitted from these tables can be assumed to be unused. To view details about the indexed CV, click on the indexed CV number to the left of the description.'' | ''Specific Indexed CV numbers omitted from these tables can be assumed to be unused. To view details about the indexed CV, click on the indexed CV number to the left of the description.'' | ||
{| class="wikitable mw-collapsible" | {| class="wikitable mw-collapsible" | ||
Line 147: | Line 147: | ||
|Lighting Module 4 - Step 2 - Start Brightness | |Lighting Module 4 - Step 2 - Start Brightness | ||
|} | |} | ||
+ | ...Note.... As of 2-22-21, indexed CV's stop at 16.13.504 - Lighting Preset 16 - Step 9 - End Brightness |
Revision as of 23:39, 22 February 2021
Contents
Overview
Indexed CV's use a Paging System to allow for the ability to program thousands of CV's. There are two index CV's used to select an indexed page, CV31 and CV32. CV31 controls the high byte of the index and CV32 controls the low byte. Once the indexed page has been selected then program the CV just like any other CV.
An analogy for the paging system is to think of a clock, CV31 controls the hour, CV32 controls the minute, and then the actual CV is the "second".
Indexed CV High Byte | |
---|---|
Range of Values | 16-255 |
Default Value | 16 |
NMRA CV 31 - Indexed CV High Byte
The Indexed Address is the address of the indexed CV page when the decoder is set up for indexed CV operation. CV#31 contains the most significant bits of the two byte address and may have any value between 16 and 255 inclusive. Values of 0 thru 15 are reserved by the NMRA for future use. CV32 contains the least significant bits of the index address and may contain any value.
This gives a total 61,440 indexed pages each with 256 CV's in each page for a total of 15,728,640 indexed CV's!
(High byte 240 * Low Byte 256 * bytes per page 256) = total number of available CV's
See Indexed CV's for more info on using this CV
Indexed CV Low Byte | |
---|---|
Range of Values | 0-255 |
Default Value | 0 |
NMRA CV 32 - Indexed CV Low Byte
The Indexed Address is the address of the indexed CV page when the decoder is set up for indexed CV operation. CV31 contains the most significant bits of the two byte address and may have any value between 16 and 255 inclusive. Values of 0 thru 15 are reserved by the NMRA for future use. CV32 contains the least significant bits of the index address and may contain any value.
This gives a total 61,440 indexed pages each with 256 CV's in each page for a total of 15,728,640 indexed CV's!
(High byte 240 * Low Byte 256 * bytes per page 256) = total number of available CV's
See Indexed CV's for more info on using this CV
Example
If you want to change the speed of the locomotive at speed step 1 you can program the Speed table in the indexed CV's (this table is more detailed than the "28 speed step User Loadable Speed table" as it gives access to the speed at every speed step 0-128).
The CV for Speed step 1 has two parts, indexed CV 16.2.258 and indexed CV 16.2.257
So set CV31=16, then set CV32=2, then you can read or write CV258 and CV257 just as you would any other CV. In this scenario CV258 is the coarse adjustment and will have a larger effect on the speed that CV257 which is the fine adjustment.
Startup Delay Timer | |
---|---|
Range of Values | 0-65535 |
Default Value | 1000 |
CV 16.0.258 - Startup Delay Timer
Two byte CV (257:258) - defines the maximum delay time (in milliseconds) the decoder will wait and look for a non zero DCC speed packet when powering up. During this delay no sound will be played.
If the decoder sees a non zero speed packet during this time it will skip the startup sound and go right to playing the engine sound
This is useful in cases where the engine was moving along and hits dirty track and resets.
If the delay time is large and the startup sound still plays consider adjusting the command stations stack so that speed refresh packets are sent more often.
See Indexed CV's for more info on using this CV
List of Indexed CV's in Use
Specific Indexed CV numbers omitted from these tables can be assumed to be unused. To view details about the indexed CV, click on the indexed CV number to the left of the description.
Indexed CV | Description |
---|---|
16.0.258 | Startup Delay Timer |
16.0.260 | DC Mode Bell Cutout Voltage - Regulated Supply Mode |
16.0.262 | DC Mode Quill Delta - Regulated Supply Mode |
16.0.264 | DC Mode Start Voltage - Regulated Supply Mode |
16.0.266 | DC Mode Motor Hysteresis - Regulated Supply Mode |
16.0.268 | DC Mode Max ADC Value - Regulated Supply Mode |
16.0.274 | DC Mode Bell Cutout Voltage - Unregulated Supply Mode |
16.0.276 | DC Mode Quill Delta - Unregulated Supply Mode |
16.0.278 | DC Mode Start Voltage - Unregulated Supply Mode |
16.0.280 | DC Mode Motor Hysteresis - Unregulated Supply Mode |
16.0.282 | DC Mode Max ADC Value - Unregulated Supply Mode |
Indexed CV | Description |
---|---|
16.2.258 | BEMF Target - Speed Step 0/128 |
16.2.260 | BEMF Target - Speed Step 1/128 |
... | ... |
16.2.512 | BEMF Target - Speed Step 127/128 |
Indexed CV | Description |
---|---|
16.4.258 | Sound Mapping - Button 0 |
... | ... |
16.4.314 | Sound Mapping - Button 28 |
16.4.316 | Sound Mapping - Random Sound #1 |
16.4.318 | Sound Mapping - Random Sound #2 |
16.4.320 | Sound Mapping - Random Sound #3 |
16.4.322 | Sound Mapping - Random Sound #4 |
16.4.324 | Sound Mapping - Auxiliary Input |
16.4.326 | Sound Mapping - Reserved |
Indexed CV | Description |
---|---|
16.6.258 | Lighting Module 0 - Step 0 - Fade Rade |
16.6.260 | Lighting Module 0 - Step 0 - Start Brightness |
16.6.262 | Lighting Module 0 - Step 0 - End Brightness |
... | ... |
16.6.316 | Lighting Module 0 - Step 9 - End Brightness |
16.6.318 | Lighting Module 1 - Step 0 - Fade Rade |
16.6.320 | Lighting Module 1 - Step 0 - Start Brightness |
16.6.322 | Lighting Module 1 - Step 0 - End Brightness |
... | ... |
16.6.376 | Lighting Module 1 - Step 9 - End Brightness |
16.6.378 | Lighting Module 2 - Step 0 - Fade Rate |
.. | ... |
16.6.512 | Lighting Module 4 - Step 2 - Start Brightness |
...Note.... As of 2-22-21, indexed CV's stop at 16.13.504 - Lighting Preset 16 - Step 9 - End Brightness