<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2005, 2006, 2007 All rights reserved -->
<!--                                                                        -->
<!-- JMRI is free software; you can redistribute it and/or modify it under  -->
<!-- the terms of version 2 of the GNU General Public License as published  -->
<!-- by the Free Software Foundation. See the "COPYING" file for a copy     -->
<!-- of this license.                                                       -->
<!--                                                                        -->
<!-- JMRI is distributed in the hope that it will be useful, but WITHOUT    -->
<!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or  -->
<!-- FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License  -->
<!-- for more details.                                                      -->
<decoder-config xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder.xsd">
  <version author="Marc Fournier" version="2" lastUpdated="20161218"/>
  <version author="Jeff Schmaltz 493rdafa@gmail.com" version="1" lastUpdated="20131011"/>
  <!-- Version 2 - Added missing lowVerssion 84 -->
  <!-- Version 1 - This file was based on the "retail version" Tsunami definitions for ALL steam
       locomotives, SoundTraxx_Tsu_Steam.xml, version 8, plus looking at the other
       Tsunami steam definition files

       So the real credit for this goes to the authors of those files, Jack Shall, Michael
       Mosher, Bob Jacobsen, and others.

       Any and all feedback on this file would be appreciated. -->
  <!-- Decoder Model information follows -->
  <decoder>
    <family name="OEM PIKO" mfg="SoundTraxx (Throttle-Up)" comment="These are the PIKO OEM G scale steam decoders">
      <model model="Mogul" numOuts="2" numFns="14" connector="other" productID="Mogul">
	  <versionCV lowVersionID="84"/>
        <output name="Whistle"/>
        <output name="Bell"/>
        <output name="(Not used)"/>
        <output name="Smoke Unit"/>
        <output name="Dynamo"/>
        <output name="Short Whistle"/>
        <output name="Steam Release"/>
        <output name="Inertia Override"/>
        <output name="Headlight Dimmer"/>
        <output name="Mute"/>
        <output name="Half Speed"/>
        <output name="Brake Squeal"/>
        <output name="(Not used 2)"/>
      </model>
      <functionlabels>
        <functionlabel num="0" lockable="true">Headlight</functionlabel>
        <functionlabel num="1" lockable="true">Bell</functionlabel>
        <functionlabel num="2" lockable="false">Whistle</functionlabel>
        <functionlabel num="3" lockable="true">Short Whistle</functionlabel>
        <functionlabel num="4" lockable="true">Steam Release</functionlabel>
        <functionlabel num="5" lockable="true">(Not used)</functionlabel>
        <functionlabel num="6" lockable="true">Smoke Unit</functionlabel>
        <functionlabel num="7" lockable="true">Headlight Dimmer</functionlabel>
        <functionlabel num="8" lockable="true">Mute</functionlabel>
        <functionlabel num="9" lockable="true">Inertia Override</functionlabel>
        <functionlabel num="10" lockable="true">Half Speed</functionlabel>
        <functionlabel num="11" lockable="true">Brake Squeal / Brake Release</functionlabel>
        <functionlabel num="12" lockable="true">(Not used)</functionlabel>
      </functionlabels>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <!-- Configuration Variable (CV) information follows -->
    <variables>
      <xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
      <variable CV="2" item="Vstart" default="0" comment="A value of 255 corresponds to full voltage available" tooltip="Sets the starting voltage at throttle speed step 1">
        <decVal/>
        <label>Start Voltage (0-255)</label>
        <label xml:lang="it">Volt Partenza</label>
        <label xml:lang="fr">V démarr.</label>
        <label xml:lang="de">Startspannung</label>
        <comment>A value of 255 corresponds to full voltage available</comment>
      </variable>
      <variable CV="3" item="Accel" default="6" tooltip="Sets the acceleration rate (delay).  Higher number = slower rate">
        <decVal/>
        <label>Acceleration Rate (0-255)</label>
        <label xml:lang="it">Accellerazione (0-255)</label>
        <label xml:lang="fr">Accelération (0-255)</label>
        <label xml:lang="de">Anfahrverzögerung (0-255)</label>
      </variable>
      <variable CV="4" item="Decel" default="6" tooltip="Sets the deceleration rate (delay).  Higher number = slower rate">
        <decVal/>
        <label>Braking Rate (0-255)</label>
        <label xml:lang="it">Decellerazione (1-255)</label>
        <label xml:lang="fr">Décélération (1-255)</label>
        <label xml:lang="de">Bremszeit (1-255)</label>
      </variable>
      <variable CV="5" default="1" item="Vhigh" tooltip="255 = Full Track Voltage">
        <decVal min="1" max="255"/>
        <label>Top Speed</label>
        <label xml:lang="it">Volt Massimi (0-255):</label>
        <label xml:lang="de">Höchstgeschwindigkeit</label>
      </variable>
      <variable CV="6" default="1" item="Vmid" tooltip="255 = Full Track Voltage">
        <decVal min="1" max="255"/>
        <label>Med-Speed</label>
        <label xml:lang="it">Volt Intermedi</label>
        <label xml:lang="fr">Vmoy</label>
        <label xml:lang="de">Mittengeschwindigkeit</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/mfgVersionId.xml"/>
      <variable CV="10" item="EMF Feedback Cutout" default="0" tooltip="&lt;html&gt;Up to 127, this sets the speed step above which the intensity of BEMF control will be reduced&lt;br&gt;      to zero.  Values over 127 cause the BEMF to decrease as a percentage (up to 50%).&lt;/html&gt;">
        <decVal/>
        <label>BEMF Cutout (0-127 or 128-255)</label>
      </variable>
      <variable CV="12" mask="XXXXXXXV" item="Analog Power Conversion" default="1" tooltip="&lt;html&gt;Defines the type of power source the decoder should&lt;br&gt;      switch to whenever a DCC signal is not present.&lt;br&gt;      (Tip: Alternate Power Source must be enabled)&lt;/html&gt;">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumPower.xml"/>
        <label>Power Source Conversion Type</label>
      </variable>
      <variable item="Analog Mode Function Status - F1" CV="13" mask="XXXXXXXV" default="0" tooltip="Check to enable function F1 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F1</label>
      </variable>
      <variable item="Analog Mode Function Status - F2" CV="13" mask="XXXXXXVX" default="0" tooltip="Check to enable function F2 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F2</label>
      </variable>
      <variable item="Analog Mode Function Status - F3" CV="13" mask="XXXXXVXX" default="0" tooltip="Check to enable function F3 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F3</label>
      </variable>
      <variable item="Analog Mode Function Status - F4" CV="13" mask="XXXXVXXX" default="0" tooltip="Check to enable function F4 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F4</label>
      </variable>
      <variable item="Analog Mode Function Status - F5" CV="13" mask="XXXVXXXX" default="0" tooltip="Check to enable function F5 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F5</label>
      </variable>
      <variable item="Analog Mode Function Status - F6" CV="13" mask="XXVXXXXX" default="1" tooltip="Check to enable function F6 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F6</label>
      </variable>
      <variable item="Analog Mode Function Status - F7" CV="13" mask="XVXXXXXX" default="0" tooltip="Check to enable function F7 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F7</label>
      </variable>
      <variable item="Analog Mode Function Status - F8" CV="13" mask="VXXXXXXX" default="0" tooltip="Check to enable function F8 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F8</label>
      </variable>
      <variable item="Analog Mode Function Status - F0(f)" CV="14" mask="XXXXXXXV" default="1" tooltip="Check to enable function F0(f) when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F0(f)</label>
      </variable>
      <variable item="Analog Mode Function Status - F0(r)" CV="14" mask="XXXXXXVX" default="1" tooltip="Check to enable function F0(r) when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F0(r)</label>
      </variable>
      <variable item="Analog Mode Function Status - F9" CV="14" mask="XXXXXVXX" default="0" tooltip="Check to enable function F9 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F9</label>
      </variable>
      <variable item="Analog Mode Function Status - F10" CV="14" mask="XXXXVXXX" default="0" tooltip="Check to enable function F10 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F10</label>
      </variable>
      <variable item="Analog Mode Function Status - F11" CV="14" mask="XXXVXXXX" default="0" tooltip="Check to enable function F11 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F11</label>
      </variable>
      <variable item="Analog Mode Function Status - F12" CV="14" mask="XXVXXXXX" default="0" tooltip="Check to enable function F12 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F12</label>
      </variable>
      <variable CV="15" mask="XXXXXVVV" item="Advanced Group 1 Option 1" default="0" tooltip="&lt;html&gt;Enter the Lock ID Code to unlock access to the decoder CVs.&lt;br&gt;      (Tip: Establish the unlock code with CV Lock ID Code)&lt;/html&gt;">
        <decVal/>
        <label>CV Unlock Register (0-7)</label>
      </variable>
      <variable CV="16" mask="XXXXXVVV" item="Advanced Group 1 Option 2" default="0" tooltip="Sets the unlock code that must be entered into the CV Unlock Register in order to access the decoder CVs">
        <decVal/>
        <label>CV Lock ID Code (0-7)</label>
      </variable>
      <!-- Consisting Information follows -->
      <xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
      <variable CV="21" mask="XXXXXXXV" item="Consist Address Active For F1" default="0" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F1</label>
      </variable>
      <variable CV="21" mask="XXXXXXVX" item="Consist Address Active For F2" default="0" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F2</label>
      </variable>
      <variable CV="21" mask="XXXXXVXX" item="Consist Address Active For F3" default="0" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F3</label>
      </variable>
      <variable CV="21" mask="XXXXVXXX" item="Consist Address Active For F4" default="0" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F4</label>
      </variable>
      <variable CV="21" mask="XXXVXXXX" item="Consist Address Active For F5" default="0" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F5</label>
      </variable>
      <variable CV="21" mask="XXVXXXXX" item="Consist Address Active For F6" default="0" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F6</label>
      </variable>
      <variable CV="21" mask="XVXXXXXX" item="Consist Address Active For F7" default="0" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F7</label>
      </variable>
      <variable CV="21" mask="VXXXXXXX" item="Consist Address Active For F8" default="0" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F8</label>
      </variable>
      <variable CV="22" mask="XXXXXXXV" item="Consist Address Active For FL in Forward" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F0(f) in Forward</label>
      </variable>
      <variable CV="22" mask="XXXXXXVX" item="Consist Address Active For FL in Reverse" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F0(r) in Reverse</label>
      </variable>
      <variable CV="22" mask="XXXXXVXX" item="Consist Address Active For F9" default="0" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F9</label>
      </variable>
      <variable CV="22" mask="XXXXVXXX" item="Consist Address Active For F10" default="0" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F10</label>
      </variable>
      <variable CV="22" mask="XXXVXXXX" item="Consist Address Active For F11" default="0" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F11</label>
      </variable>
      <variable CV="22" mask="XXVXXXXX" item="Consist Address Active For F12" default="0" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F12</label>
      </variable>
      <variable CV="23" mask="XVVVVVVV" item="Consist Acceleration Adjustment" default="0" comment="Additional consist acceleration (combined with CV3)" tooltip="When loco is in a consist, it's base acceleration rate is modified by this amount">
        <decVal max="127"/>
        <label>Consist Acceleration Rate (0-127)</label>
        <comment>Additional consist acceleration (combined with CV3)</comment>
      </variable>
      <variable CV="23" mask="VXXXXXXX" item="Consist Acceleration Adjustment Sign" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-AddSubtract.xml"/>
        <label>Consist Acceleration Sign</label>
      </variable>
      <variable CV="24" mask="XVVVVVVV" item="Consist Deceleration Adjustment" default="0" comment="Additional consist braking (combined with CV4)" tooltip="When loco is in a consist, it's baseline braking rate is modified by this amount">
        <decVal max="127"/>
        <label>Consist Braking Rate (0-127)</label>
        <comment>Additional consist braking (combined with CV4)</comment>
      </variable>
      <variable CV="24" mask="VXXXXXXX" item="Consist Deceleration Adjustment Sign" default="0" tooltip="Determines whether value is added to or subtracted from loco baseline braking rate">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-AddSubtract2.xml"/>
        <label>Consist Braking Sign</label>
      </variable>
      <variable item="Speed Table Selection" CV="25" mask="XXXVVVVV" default="0" tooltip="Select a manufacturers speed curve, or use a curve you define yourself">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumCurve.xml"/>
        <label>Speed Table Selection</label>
      </variable>
      <!-- CV=29 -->
     <xi:include href="http://jmri.org/xml/decoders/nmra/cv29direction.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29analog.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29table1-28.xml"/>
      <variable CV="30" mask="XXXXXXXV" item="Advanced Group 1 Option 3" default="0" tooltip="Enable locking of CVs when decoder is used in a multi-decoder installation">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumLock.xml"/>
        <label>CV Lock Enable</label>
      </variable>
      <!-- Function Mapping follows -->
      <variable CV="33" mask="XXXXXXXV" item="FL(f) controls output 1" minOut="1" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls Headlight</label>
      </variable>
      <variable CV="33" mask="XXXXXXVX" item="FL(f) controls output 2" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls Backup Light</label>
      </variable>
      <variable item="FL(f) controls output Whistle" CV="33" mask="XXXXXVXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output Whistle</label>
      </variable>
      <variable item="FL(f) controls output Bell" CV="33" mask="XXXXVXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output Bell</label>
      </variable>
      <variable item="FL(f) controls output (Not used)" CV="33" mask="XXXVXXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output (Not used)</label>
      </variable>
      <variable item="FL(f) controls output Smoke Unit" CV="33" mask="XXVXXXXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output Smoke Unit</label>
      </variable>
      <variable item="FL(f) controls output Dynamo" CV="33" mask="XVXXXXXX" minOut="1" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output Dynamo</label>
      </variable>
      <variable item="FL(f) controls output Short Whistle" CV="33" mask="VXXXXXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output Short Whistle</label>
      </variable>
      <variable CV="34" mask="XXXXXXXV" item="FL(r) controls output 1" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls Headlight</label>
      </variable>
      <variable CV="34" mask="XXXXXXVX" item="FL(r) controls output 2" minOut="2" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls Backup Light</label>
      </variable>
      <variable item="FL(r) controls output Whistle" CV="34" mask="XXXXXVXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output Whistle</label>
      </variable>
      <variable item="FL(r) controls output Bell" CV="34" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output Bell</label>
      </variable>
      <variable item="FL(r) controls output (Not used)" CV="34" mask="XXXVXXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output (Not used)</label>
      </variable>
      <variable item="FL(r) controls output Smoke Unit" CV="34" mask="XXVXXXXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output Smoke Unit</label>
      </variable>
      <variable item="FL(r) controls output Dynamo" CV="34" mask="XVXXXXXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output Dynamo</label>
      </variable>
      <variable item="FL(r) controls output Short Whistle" CV="34" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output Short Whistle</label>
      </variable>
      <variable CV="35" mask="XXXXXXXV" item="F1 controls output 1" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls Headlight</label>
      </variable>
      <variable CV="35" mask="XXXXXXVX" item="F1 controls output 2" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls Backup Light</label>
      </variable>
      <variable item="F1 controls output Whistle" CV="35" mask="XXXXXVXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output Whistle</label>
      </variable>
      <variable item="F1 controls output Bell" CV="35" mask="XXXXVXXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output Bell</label>
      </variable>
      <variable item="F1 controls output (Not used)" CV="35" mask="XXXVXXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output (Not used)</label>
      </variable>
      <variable item="F1 controls output Smoke Unit" CV="35" mask="XXVXXXXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output Smoke Unit</label>
      </variable>
      <variable item="F1 controls output Dynamo" CV="35" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output Dynamo</label>
      </variable>
      <variable item="F1 controls output Short Whistle" CV="35" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output Short Whistle</label>
      </variable>
      <variable CV="36" mask="XXXXXXXV" item="F2 controls output 1" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls Headlight</label>
      </variable>
      <variable CV="36" mask="XXXXXXVX" item="F2 controls output 2" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls Backup Light</label>
      </variable>
      <variable item="F2 controls output Whistle" CV="36" mask="XXXXXVXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output Whistle</label>
      </variable>
      <variable item="F2 controls output Bell" CV="36" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output Bell</label>
      </variable>
      <variable item="F2 controls output (Not used)" CV="36" mask="XXXVXXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output (Not used)</label>
      </variable>
      <variable item="F2 controls output Smoke Unit" CV="36" mask="XXVXXXXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output Smoke Unit</label>
      </variable>
      <variable item="F2 controls output Dynamo" CV="36" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output Dynamo</label>
      </variable>
      <variable item="F2 controls output Short Whistle" CV="36" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output Short Whistle</label>
      </variable>
      <variable item="F3 controls output Bell" CV="37" mask="XXXXXXXV" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output Bell</label>
      </variable>
      <variable item="F3 controls output (Not used)" CV="37" mask="XXXXXXVX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output (Not used)</label>
      </variable>
      <variable item="F3 controls output Smoke Unit" CV="37" mask="XXXXXVXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output Smoke Unit</label>
      </variable>
      <variable item="F3 controls output Dynamo" CV="37" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output Dynamo</label>
      </variable>
      <variable item="F3 controls output Short Whistle" CV="37" mask="XXXVXXXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output Short Whistle</label>
      </variable>
      <variable item="F3 controls output Steam Release" CV="37" mask="XXVXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output Steam Release</label>
      </variable>
      <variable item="F3 controls output Inertia Override" CV="37" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output Inertia Override</label>
      </variable>
      <variable item="F3 controls output Headlight Dimmer" CV="37" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output Headlight Dimmer</label>
      </variable>
      <variable item="F4 controls output Bell" CV="38" mask="XXXXXXXV" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output Bell</label>
      </variable>
      <variable item="F4 controls output (Not used)" CV="38" mask="XXXXXXVX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output (Not used)</label>
      </variable>
      <variable item="F4 controls output Smoke Unit" CV="38" mask="XXXXXVXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output Smoke Unit</label>
      </variable>
      <variable item="F4 controls output Dynamo" CV="38" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output Dynamo</label>
      </variable>
      <variable item="F4 controls output Short Whistle" CV="38" mask="XXXVXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output Short Whistle</label>
      </variable>
      <variable item="F4 controls output Steam Release" CV="38" mask="XXVXXXXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output Steam Release</label>
      </variable>
      <variable item="F4 controls output Inertia Override" CV="38" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output Inertia Override</label>
      </variable>
      <variable item="F4 controls output Headlight Dimmer" CV="38" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output Headlight Dimmer</label>
      </variable>
      <variable item="F5 controls output Bell" CV="39" mask="XXXXXXXV" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output Bell</label>
      </variable>
      <variable item="F5 controls output (Not used)" CV="39" mask="XXXXXXVX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output (Not used)</label>
      </variable>
      <variable item="F5 controls output Smoke Unit" CV="39" mask="XXXXXVXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output Smoke Unit</label>
      </variable>
      <variable item="F5 controls output Dynamo" CV="39" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output Dynamo</label>
      </variable>
      <variable item="F5 controls output Short Whistle" CV="39" mask="XXXVXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output Short Whistle</label>
      </variable>
      <variable item="F5 controls output Steam Release" CV="39" mask="XXVXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output Steam Release</label>
      </variable>
      <variable item="F5 controls output Inertia Override" CV="39" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output Inertia Override</label>
      </variable>
      <variable item="F5 controls output Headlight Dimmer" CV="39" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output Headlight Dimmer</label>
      </variable>
      <variable item="F6 controls output Bell" CV="40" mask="XXXXXXXV" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output Bell</label>
      </variable>
      <variable item="F6 controls output (Not used)" CV="40" mask="XXXXXXVX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output (Not used)</label>
      </variable>
      <variable item="F6 controls output Smoke Unit" CV="40" mask="XXXXXVXX" minOut="2" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output Smoke Unit</label>
      </variable>
      <variable item="F6 controls output Dynamo" CV="40" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output Dynamo</label>
      </variable>
      <variable item="F6 controls output Short Whistle" CV="40" mask="XXXVXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output Short Whistle</label>
      </variable>
      <variable item="F6 controls output Steam Release" CV="40" mask="XXVXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output Steam Release</label>
      </variable>
      <variable item="F6 controls output Inertia Override" CV="40" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output Inertia Override</label>
      </variable>
      <variable item="F6 controls output Headlight Dimmer" CV="40" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output Headlight Dimmer</label>
      </variable>
      <variable item="F7 controls output Dynamo" CV="41" mask="XXXXXXXV" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output Dynamo</label>
      </variable>
      <variable item="F7 controls output Short Whistle" CV="41" mask="XXXXXXVX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output Short Whistle</label>
      </variable>
      <variable item="F7 controls output Steam Release" CV="41" mask="XXXXXVXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output Steam Release</label>
      </variable>
      <variable item="F7 controls output Inertia Override" CV="41" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output Inertia Override</label>
      </variable>
      <variable item="F7 controls output Headlight Dimmer" CV="41" mask="XXXVXXXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output Headlight Dimmer</label>
      </variable>
      <variable item="F7 controls output Mute" CV="41" mask="XXVXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output Mute</label>
      </variable>
      <variable item="F7 controls output Half Speed" CV="41" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output Half Speed</label>
      </variable>
      <variable item="F7 controls output Brake Squeal" CV="41" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output Brake Squeal</label>
      </variable>
      <variable item="F8 controls output Dynamo" CV="42" mask="XXXXXXXV" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output Dynamo</label>
      </variable>
      <variable item="F8 controls output Short Whistle" CV="42" mask="XXXXXXVX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output Short Whistle</label>
      </variable>
      <variable item="F8 controls output Steam Release" CV="42" mask="XXXXXVXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output Steam Release</label>
      </variable>
      <variable item="F8 controls output Inertia Override" CV="42" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output Inertia Override</label>
      </variable>
      <variable item="F8 controls output Headlight Dimmer" CV="42" mask="XXXVXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output Headlight Dimmer</label>
      </variable>
      <variable item="F8 controls output Mute" CV="42" mask="XXVXXXXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output Mute</label>
      </variable>
      <variable item="F8 controls output Half Speed" CV="42" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output Half Speed</label>
      </variable>
      <variable item="F8 controls output Brake Squeal" CV="42" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output Brake Squeal</label>
      </variable>
      <variable item="F9 controls output Dynamo" CV="43" mask="XXXXXXXV" default="0" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output Dynamo</label>
      </variable>
      <variable item="F9 controls output Short Whistle" CV="43" mask="XXXXXXVX" default="0" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output Short Whistle</label>
      </variable>
      <variable item="F9 controls output Steam Release" CV="43" mask="XXXXXVXX" default="0" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output Steam Release</label>
      </variable>
      <variable item="F9 controls output Inertia Override" CV="43" mask="XXXXVXXX" default="1" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output Inertia Override</label>
      </variable>
      <variable item="F9 controls output Headlight Dimmer" CV="43" mask="XXXVXXXX" default="0" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output Headlight Dimmer</label>
      </variable>
      <variable item="F9 controls output Mute" CV="43" mask="XXVXXXXX" default="0" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output Mute</label>
      </variable>
      <variable item="F9 controls output Half Speed" CV="43" mask="XVXXXXXX" default="0" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output Half Speed</label>
      </variable>
      <variable item="F9 controls output Brake Squeal" CV="43" mask="VXXXXXXX" default="0" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output Brake Squeal</label>
      </variable>
      <variable item="F10 controls output Short Whistle" CV="44" mask="XXXXXXXV" default="0" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output Short Whistle</label>
      </variable>
      <variable item="F10 controls output Steam Release" CV="44" mask="XXXXXXVX" default="0" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output Steam Release</label>
      </variable>
      <variable item="F10 controls output Inertia Override" CV="44" mask="XXXXXVXX" default="0" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output Inertia Override</label>
      </variable>
      <variable item="F10 controls output Headlight Dimmer" CV="44" mask="XXXXVXXX" default="0" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output Headlight Dimmer</label>
      </variable>
      <variable item="F10 controls output Mute" CV="44" mask="XXXVXXXX" default="0" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output Mute</label>
      </variable>
      <variable item="F10 controls output Half Speed" CV="44" mask="XXVXXXXX" default="1" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output Half Speed</label>
      </variable>
      <variable item="F10 controls output Brake Squeal" CV="44" mask="XVXXXXXX" default="0" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output Brake Squeal</label>
      </variable>
      <variable item="F10 controls output (Not used 2)" CV="44" mask="VXXXXXXX" default="0" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output (Not used 2)</label>
      </variable>
      <variable item="F11 controls output Short Whistle" CV="45" mask="XXXXXXXV" default="0" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output Short Whistle</label>
      </variable>
      <variable item="F11 controls output Steam Release" CV="45" mask="XXXXXXVX" default="0" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output Steam Release</label>
      </variable>
      <variable item="F11 controls output Inertia Override" CV="45" mask="XXXXXVXX" default="0" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output Inertia Override</label>
      </variable>
      <variable item="F11 controls output Headlight Dimmer" CV="45" mask="XXXXVXXX" default="0" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output Headlight Dimmer</label>
      </variable>
      <variable item="F11 controls output Mute" CV="45" mask="XXXVXXXX" default="0" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output Mute</label>
      </variable>
      <variable item="F11 controls output Half Speed" CV="45" mask="XXVXXXXX" default="0" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output Half Speed</label>
      </variable>
      <variable item="F11 controls output Brake Squeal" CV="45" mask="XVXXXXXX" default="1" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output Brake Squeal</label>
      </variable>
      <variable item="F11 controls output (Not used 2)" CV="45" mask="VXXXXXXX" default="0" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output (Not used 2)</label>
      </variable>
      <variable item="F12 controls output Short Whistle" CV="46" mask="XXXXXXXV" default="0" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output Short Whistleueal</label>
      </variable>
      <variable item="F12 controls output Steam Release" CV="46" mask="XXXXXXVX" default="0" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output Steam Release</label>
      </variable>
      <variable item="F12 controls output Inertia Override" CV="46" mask="XXXXXVXX" default="0" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output Inertia Override</label>
      </variable>
      <variable item="F12 controls output Headlight Dimmer" CV="46" mask="XXXXVXXX" default="0" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output Headlight Dimmer</label>
      </variable>
      <variable item="F12 controls output Mute" CV="46" mask="XXXVXXXX" default="0" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output Mute</label>
      </variable>
      <variable item="F12 controls output Half Speed" CV="46" mask="XXVXXXXX" default="0" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output Half Speed</label>
      </variable>
      <variable item="F12 controls output Brake Squeal" CV="46" mask="XVXXXXXX" default="0" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output Brake Squeal</label>
      </variable>
      <variable item="F12 controls output (Not used 2)" CV="46" mask="VXXXXXXX" default="0" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output (Not used 2)</label>
      </variable>
      <variable CV="63" item="Radio Power Conversion" default="35" tooltip="Sets the voltage difference between when the decoder first powers up and when the locomotive starts to move">
        <decVal/>
        <label>Analog Mode Motor Start Voltage (0-255)</label>
      </variable>
      <variable CV="64" item="Zero-1 Power Conversion" default="255" tooltip="Sets the maximum average voltage applied to the motor when operating in analog mode">
        <decVal/>
        <label>Analog Mode Max Motor Voltage (0-255)</label>
      </variable>
      <variable CV="66" item="Forward Trim" default="255" tooltip="&lt;html&gt;Allows the decoders overall throttle response in the forward direction to be adjusted up or down.&lt;br&gt;      Values 1-127 will decrease motor voltage, 129-255 will increase it.  A value of zero will disable.&lt;br&gt;      Tip: this feature only active when speed tables are enabled.&lt;/html&gt;">
        <decVal/>
        <label>Forward Trim (0-255)</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
      <variable CV="95" item="Reverse Trim" default="128" tooltip="&lt;html&gt;Allows the decoders overall throttle response in the reverse direction to be adjusted up or down.&lt;br&gt;      Values 1-127 will decrease motor voltage, 129-255 will increase it.  A value of zero will disable.&lt;br&gt;      Tip: this feature only active when speed tables are enabled.&lt;/html&gt;">
        <decVal/>
        <label>Reverse Trim (0-255)</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
      <variable CV="112" mask="XXXXXXXV" item="Sound Option 1" default="0" tooltip="Choose whether the locomotive has one or two air pumps">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumAirPump.xml"/>
        <label>Air Pump 2 Enable</label>
      </variable>
      <variable CV="112" mask="XXVVXXXX" item="Sound Option 2" default="0" tooltip="&lt;html&gt;Control the variation or timing syncopation when articulated exhaust&lt;br&gt;      is enabled to simulate slipping drive wheels or a double-header&lt;/html&gt;">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumSlip.xml"/>
        <label>Slip Rate Control</label>
      </variable>
      <variable CV="112" mask="XVXXXXXX" item="Sound Option 3" default="0" tooltip="Alters the exhaust timing to sound like a simple articulated engine when Auto Exhaust is activated">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumExhaust.xml"/>
        <label>Articulated Exhaust Control</label>
      </variable>
      <variable CV="114" mask="XXXXVVVV" item="Sound Group 3 Option 4" default="4" tooltip="Controls the speed at which the bell rings (higher no. = slower rate">
        <decVal max="15"/>
        <label>Bell Ring Rate</label>
      </variable>
      <!-- Whistle Selection follows -->
      <variable CV="115" mask="XXXXXVVV" item="Sound Option 9" default="2" tooltip="Select the primary whistle to use (NOT SURE IF ORDER IS CORRECT!)">
        <enumVal>
          <enumChoice choice="Westside Lumber Co. Shay #14"/>
          <enumChoice choice="Colorado &amp; Southern #74"/>
          <enumChoice choice="Southern Pacific 6-Chime"/>
        </enumVal>
        <label>Whistle Select</label>
      </variable>
      <variable CV="116" item="Sound Group 3 Option 3" default="17" tooltip="&lt;html&gt;For Auto-Exhaust synchronization, the chuff rate will be generated in proportion to the&lt;br&gt;      throttle setting.  Higher values = higher chuff rates; use zero to disable exhaust sound.&lt;/html&gt;">
        <decVal max="255"/>
        <label>Engine Exhaust Control</label>
      </variable>
      <!-- Volume Controls follow -->
      <variable CV="128" mask="VVVVVVVV" item="Sound Setting 1" default="225" tooltip="Sets the overall volume of all sound channels">
        <decVal/>
        <label>Master Volume Control</label>
      </variable>
      <variable CV="129" mask="VVVVVVVV" item="Sound Setting 5" default="225" tooltip="Sets the volume of the whistle">
        <decVal/>
        <label>Whistle Volume</label>
      </variable>
      <variable CV="130" mask="VVVVVVVV" item="Sound Setting 6" default="100" tooltip="Sets the volume of the bell">
        <decVal/>
        <label>Bell Volume</label>
      </variable>
      <variable CV="131" mask="VVVVVVVV" item="Sound Setting 7" default="96" tooltip="Sets the volume of the engine exhaust">
        <decVal/>
        <label>Exhaust Volume</label>
      </variable>
      <variable CV="132" mask="VVVVVVVV" item="Sound Setting 9" default="40" tooltip="Sets the volume of the air pump">
        <decVal/>
        <label>Air Pump Volume</label>
      </variable>
      <variable CV="133" mask="VVVVVVVV" item="Sound Setting 10" default="20" tooltip="Sets the volume of the dynamo (electric power generator)">
        <decVal/>
        <label>Dynamo Volume</label>
      </variable>
      <variable CV="134" mask="VVVVVVVV" item="Sound Setting 14" default="16" tooltip="Sets the volume of the blower">
        <decVal/>
        <label>Blower Volume</label>
      </variable>
      <variable CV="136" mask="VVVVVVVV" item="Sound Setting 23" default="96" tooltip="Sets the volume of the steam release">
        <decVal/>
        <label>Steam Release Volume</label>
      </variable>
      <variable CV="139" mask="VVVVVVVV" item="Sound Setting 16" default="80" tooltip="Sets the volume of the brakes squealing">
        <decVal/>
        <label>Brake Squeal Volume</label>
      </variable>
      <variable CV="140" mask="VVVVVVVV" item="Sound Setting 17" default="64" tooltip="Sets the volume of the brakes releasing">
        <decVal/>
        <label>Brake Release Volume</label>
      </variable>
      <variable CV="148" mask="VVVVVVVV" item="Sound Setting 26" default="64" tooltip="Sets the volume of the fireman shoveling. Set to 0 fro oil-fired locos.">
        <decVal/>
        <label>Fireman Shovel Volume</label>
      </variable>
      <!-- Automatic Sound Controls (ASC) follow -->
      <variable item="Bell-On Set Point" CV="193" mask="XVVVVVVV" default="5" tooltip="Specifies the throttle speed step where the automatic bell will first turn on">
        <decVal max="127"/>
        <label>Bell-On Set Point</label>
      </variable>
      <variable item="Bell-Off Set Point" CV="194" mask="XVVVVVVV" default="12" tooltip="Specifies the throttle speed step where the automatic bell will turn off">
        <decVal max="127"/>
        <label>Bell-Off Set Point</label>
      </variable>
      <variable item="Grade Crossing Whistle Sensitivity" CV="195" mask="VVVVVVVV" default="4" tooltip="Specifies the positive rate of throttle change needed to activate the automatic grade crossing whistle">
        <decVal/>
        <label>Grade Crossing Whistle Sensitivity</label>
      </variable>
      <variable item="Brake Squeal Sensitivity" CV="196" mask="VVVVVVVV" default="3" tooltip="Specifies the negative rate of throttle change needed to activate the automatic brake squeal">
        <decVal/>
        <label>Brake Squeal Sensitivity</label>
      </variable>
      <variable item="Automatic Grade Crossing Whistle Enable (Analog Mode)" CV="197" mask="XXXXXXXV" default="0" tooltip="Enables the Automatic Grade Crossing Whistle in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Grade Crossing Whistle Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Whistle Signal Enable (Analog Mode)" CV="197" mask="XXXXXXVX" default="1" tooltip="Enables the Automatic Whistle Signal in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Whistle Signal Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Bell Enable (Analog Mode)" CV="197" mask="XXXXXVXX" default="1" tooltip="Enables the Automatic Bell in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Bell Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Brake Squeal Enable (Analog Mode)" CV="197" mask="XXXXVXXX" default="1" tooltip="Enables the Automatic Brake Squeal in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Brake Squeal Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Steam Blow Down Enable (Analog Mode)" CV="197" mask="XXXVXXXX" default="1" tooltip="Enables the Automatic Steam Blow Down in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Steam Blow Down Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Grade Crossing Whistle Enable" CV="198" mask="XXXXXXXV" default="0" tooltip="Enables the Automatic Grade Crossing Whistle in Digital Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Grade Crossing Whistle Enable</label>
      </variable>
      <variable item="Automatic Whistle Signal Enable" CV="198" mask="XXXXXXVX" default="0" tooltip="Enables the Automatic Whistle Signal in Digital Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Whistle Signal Enable</label>
      </variable>
      <variable item="Automatic Bell Enable" CV="198" mask="XXXXXVXX" default="0" tooltip="Enables the Automatic Bell in Digital Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Bell Enable</label>
      </variable>
      <variable item="Automatic Brake Squeal Enable" CV="198" mask="XXXXVXXX" default="0" tooltip="Enables the Automatic Brake Squeal in Digital Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Brake Squeal Enable</label>
      </variable>
      <variable item="Automatic Steam Blow Down Enable" CV="198" mask="XXXVXXXX" default="0" tooltip="Enables the Automatic Steam Blow Down in Digital Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Steam Blow Down Enable</label>
      </variable>
      <!-- Event Probability Controls follow -->
      <variable item="Probability Fireman Shovels Coal" CV="201" mask="VVVVVVVV" default="64" tooltip="Sets the probability that the fireman will shovel some coal. Set to 0 fro oil-fired locos.">
        <decVal max="255"/>
        <label>Probability Fireman Shovels Coal</label>
      </variable>
      <!-- End of variables for file-specific panes -->
      <!-- Advanced Motor Control Features follow -->
      <variable CV="209" mask="VVVVVVVV" item="Advanced Group 2 Option 1" default="60" tooltip="Specifies a gain factor for the proportional part of the PID motor control equation">
        <decVal/>
        <label>Motor Kp Coefficient (0-255)</label>
      </variable>
      <variable CV="210" mask="VVVVVVVV" item="Advanced Group 2 Option 2" default="15" tooltip="Specifies a gain factor for the integral part of the PID motor control equation">
        <decVal/>
        <label>Motor Ki Coefficient (0-255)</label>
      </variable>
      <variable CV="212" mask="VVVVVVVV" item="Advanced Group 2 Option 3" default="120" tooltip="The CV value is interpreted as n/32 that is fed back from the control loop">
        <decVal/>
        <label>Motor Control Intensity (0-255)</label>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset all CVs to factory defaults" CV="8" default="8"/>
    </resets>
  </decoder>
  <!-- References to external Pane format definitions below -->
  <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUPaneASCsteam.xml"/>
</decoder-config>
