Difference between revisions of "Diesel Version 5:Quick Presets"

From Train Control Systems Documentation
Jump to navigation Jump to search
Line 2: Line 2:
 
Writing a value of 2 or 8 to cv8 will perform a factory reset<br>
 
Writing a value of 2 or 8 to cv8 will perform a factory reset<br>
 
the table below shows the available quick presets:
 
the table below shows the available quick presets:
@TODO create table showing user presets and other values
+
@TODO create table showing user presets and other values<br>
 +
      .EQU FACTORY_RESET,2
 +
      .EQU SOUND_BUTTON_MAPPINGS,3
 +
      .EQU RESET_NMRA_CVS,4
 +
      .EQU RESET_INDEXED_CVS,5
 +
      .EQU BEMF_TABLE,6
 +
      .EQU SOUNDTRAXX_RESET,8
 +
      .EQU FIRST_USER_PRESET,PRESET_1
 +
      .EQU PRESET_1,10
 +
      .EQU PRESET_2,11
 +
      .EQU PRESET_3,12
 +
      .EQU LAST_USER_PRESET,PRESET_3
 +
      .EQU DITCH_LIGHTS,15
 
{{{{NAMESPACE}}:Ditch_Light_Preset}}
 
{{{{NAMESPACE}}:Ditch_Light_Preset}}

Revision as of 14:35, 22 January 2019

A quick way to set up certain features using CV 8
Writing a value of 2 or 8 to cv8 will perform a factory reset
the table below shows the available quick presets: @TODO create table showing user presets and other values

     .EQU FACTORY_RESET,2
     .EQU SOUND_BUTTON_MAPPINGS,3
     .EQU RESET_NMRA_CVS,4
     .EQU RESET_INDEXED_CVS,5
     .EQU BEMF_TABLE,6
     .EQU SOUNDTRAXX_RESET,8
     .EQU FIRST_USER_PRESET,PRESET_1
     .EQU PRESET_1,10
     .EQU PRESET_2,11
     .EQU PRESET_3,12
     .EQU LAST_USER_PRESET,PRESET_3
     .EQU DITCH_LIGHTS,15

Ditch Light Preset:

Programming CV8 = 10 sets up blinking ditch lights. It puts the ditch lights on light output 1 and light output 2, turns the lights on and off with function 1, and causes them to blink along with blow the horn when function 2 is pressed.

CV's that get configured as part of the preset:

CV 35 = 1 Light output 1 turned on/off with button 1.
CV 36 = 1 Light output 2 turned on/off with button 1.
CV 51 = 42 Light output 1 set to Ditch Light, active while going forward and reverse.
CV 52 = 43 Light output 2 set to Ditch Light, active while going forward and reverse.
CV 124 = 8 Maps Ditch Light Blink to button 2. @TODO confirm this
CV 176 += 8 to make function 2 Dual Enabled