<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2003, 2004 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="Michael Mosher" version="15" lastUpdated="20200617"/>
  <version author="Michael Mosher" version="14" lastUpdated="20190315"/>
  <version author="Michael Mosher" version="13" lastUpdated="20171103"/>
  <version author="Marc N Fournier" version="12" lastUpdated="20171031"/>
  <version author="Alain Le Marchand" version="11" lastUpdated="20140628"/>
  <version author="Michael Mosher" version="10" lastUpdated="20120425"/>
  <version author="Michael Mosher" version="9" lastUpdated="20080331"/>
  <version author="Michael Mosher" version="8" lastUpdated="20080319"/>
  <version author="Michael Mosher" version="7" lastUpdated="20070813"/>
  <version author="Michael Mosher" version="6" lastUpdated="20060918"/>
  <version author="Michael Mosher" version="5" lastUpdated="20060912"/>
  <!-- version 1 created by modifing NCE_SR.xml ver 7 removed CV9, 23, 24, 65, 119 
				and added CV 16, 95, 116, 117 -->
  <!-- Version 2 - added version comment (Jack Shall) -->
  <!-- Version 3 - removed CV29 bit-3, added CV11, minor formatting changes,
				added D15SRP and ATLS4 decoders,	added some tooltips and comments (Jack Shall) -->
  <!-- Version 4 - added D12IP, D18SR, B18SR-PSC, N14SR, N14SRP, N14IP, Z14SR, Z14SRP 
      			plus D15SR now has 6 functions (Michael Mosher) -->
  <!-- Version 5 - added ATL-O, BachDsl, N12A2, NAVO, NMP 
      			plus D13SR & D13SRP now have 4 functions (Michael Mosher) -->
  <!-- Version 6 - use factory reset feature -->
  <!-- Version 7 - high Ver ID 36 -->
  <!-- Version 8 - added D408SR V3.6 which has different function mapping then V3.5 -->
  <!-- Version 9 - added Factory Direct Trains Trackmobile -->
  <!-- Version 10 - added BLI Hi-Rail pickup and track inspection sedan -->
  <!-- Version 11 - added N12K0a and N12K0b plus a few comments/tooltips -->  
  <!-- Version 12 - added D13NHJ and D13NHP , high Ver ID 38 (2014) -->  
  <!-- Version 13 - add new models -->
  <!-- Version 14 - change D16MTC to 8 function (despite the name) and add CV115 for it alone -->
  <!-- Version 13 - add new models -->
    <decoder>
    <family name="Silent Running w/ Torque Compensation" mfg="North Coast Engineering" lowVersionID="35" highVersionID="38" comment="These are the version 3.5 decoders released after September 2003, 3.6 released July 2007">
      <model model="D12IP" numOuts="2" numFns="5" connector="NMRAmedium" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="White" connection="plug" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="plug" maxcurrent="40 mA"/>
      </model>
      <model model="D13J" numOuts="4" numFns="8" maxMotorCurrent="0.75A (peak=1.2A)" formFactor="HO">
        <output name="1" label="White" connection="wire" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="40 mA"/>
        <output name="3" label="Green" connection="wire" maxcurrent="40 mA"/>
        <output name="4" label="Violet" connection="wire" maxcurrent="40 mA"/>
        <size length="1.03" width="0.63" height="0.185" units="inches"/>
      </model>
      <model model="D13NHJ" numOuts="4" numFns="8" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="White" connection="wire" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="40 mA"/>
        <output name="3" label="Green" connection="wire" maxcurrent="40 mA"/>
      </model>
      <model model="D13NHP" numOuts="4" numFns="8" connector="NMRAmedium" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="White" connection="plug" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="plug" maxcurrent="40 mA"/>
        <output name="3" label="Green" connection="wire" maxcurrent="40 mA"/>
        <output name="4" label="Violet" connection="wire" maxcurrent="40 mA"/>
      </model>
      <model model="D13SR" numOuts="4" numFns="8" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="White" connection="wire" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="40 mA"/>
        <output name="3" label="Green" connection="wire" maxcurrent="40 mA"/>
        <size length="1.65" width="0.63" height="0.12" units="inches"/>
      </model>
      <model model="D13SRP" numOuts="4" numFns="8" connector="NMRAmedium" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="White" connection="plug" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="plug" maxcurrent="40 mA"/>
        <output name="3" label="Green" connection="wire" maxcurrent="40 mA"/>
        <output name="4" label="Violet" connection="wire" maxcurrent="40 mA"/>
        <size length="1.65" width="0.63" height="0.12" units="inches"/>
      </model>
      <model model="D13SRJ" numOuts="4" numFns="8" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="White" connection="wire" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="40 mA"/>
        <output name="3" label="Green" connection="wire" maxcurrent="40 mA"/>
        <output name="4" label="Violet" connection="wire" maxcurrent="40 mA"/>
        <size length="1.65" width="0.63" height="0.12" units="inches"/>
      </model>
      <model model="D13W" numOuts="4" numFns="8" maxMotorCurrent="0.75A (peak=1.2A)" formFactor="HO">
        <output name="1" label="White" connection="wire" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="40 mA"/>
        <output name="3" label="Green" connection="wire" maxcurrent="40 mA"/>
        <output name="4" label="Violet" connection="wire" maxcurrent="40 mA"/>
        <size length="1.03" width="0.63" height="0.185" units="inches"/>
      </model>
      <model model="D13WP" numOuts="4" numFns="8" connector="NMRAmedium" maxMotorCurrent="0.75A (peak=1.2A)" formFactor="HO">
        <output name="1" label="White" connection="wire" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="40 mA"/>
        <output name="3" label="Green" connection="wire" maxcurrent="40 mA"/>
        <output name="4" label="Violet" connection="wire" maxcurrent="40 mA"/>
        <size length="1.06" width="0.63" height="0.185" units="inches"/>
      </model>
      <model model="D14SR" numOuts="6" numFns="8" connector="NMRAmedium" maxMotorCurrent="1A (peak=1.5A)" formFactor="HO">
        <output name="1" label="White" connection="plug" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="plug" maxcurrent="40 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="40 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="40 mA"/>
        <output name="5" label="Pad 5" connection="solder" maxcurrent="40 mA"/>
        <output name="6" label="Pad 6" connection="solder" maxcurrent="40 mA"/>
        <size length="0.82" width="0.63" height="0.275" units="inches"/>
      </model>
      <model model="D14SRP" numOuts="6" numFns="8" connector="NMRAmedium" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="White" connection="plug" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="plug" maxcurrent="40 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="40 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="40 mA"/>
        <output name="5" label="Pad 5" connection="solder" maxcurrent="40 mA"/>
        <output name="6" label="Pad 6" connection="solder" maxcurrent="40 mA"/>
        <size length="1.08" width="0.65" height="?" units="inches"/>
      </model>
      <model model="D15SR" numOuts="6" numFns="8" connector="9pin" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="White" connection="wire" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="40 mA"/>
        <output name="3" label="Green" connection="wire" maxcurrent="40 mA"/>
        <output name="4" label="Violet" connection="wire" maxcurrent="40 mA"/>
        <output name="5" label="Pad" connection="solder" maxcurrent="40 mA"/>
        <output name="6" label="Pad" connection="solder" maxcurrent="40 mA"/>
        <size length="1.08" width="0.63" height="0.275" units="inches"/>
      </model>
      <model model="D15SRP" numOuts="6" numFns="8" connector="NMRAmedium" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="White" connection="wire" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="40 mA"/>
        <output name="3" label="Green" connection="wire" maxcurrent="40 mA"/>
        <output name="4" label="Violet" connection="wire" maxcurrent="40 mA"/>
        <output name="5" label="Pad" connection="solder" maxcurrent="40 mA"/>
        <output name="6" label="Pad" connection="solder" maxcurrent="40 mA"/>
        <size length="1.08" width="0.63" height="0.275" units="inches"/>
      </model>
      <model model="D16MTC" numOuts="8" numFns="8" connector="21MTC" maxMotorCurrent="0.75A (peak=1.2A)" formFactor="HO">
        <output name="1" label="Pin"/>
        <output name="2" label="Pin"/>
        <output name="3" label="Pin"/>
        <output name="4" label="Pin"/>
        <output name="5" label="Pin"/>
        <output name="6" label="Pin"/>
      </model>
      <model model="D18SR" numOuts="8" numFns="14" connector="NMRAmedium" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="White" connection="plug" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="plug" maxcurrent="40 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="40 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="40 mA"/>
        <output name="5" label="Pad 5" connection="solder" maxcurrent="40 mA"/>
        <output name="6" label="Pad 6" connection="solder" maxcurrent="40 mA"/>
        <output name="7" label="Pad 7" connection="solder" maxcurrent="40 mA"/>
        <output name="8" label="Pad 8" connection="solder" maxcurrent="40 mA"/>
      </model>
      <model model="D18SR-PSC" numOuts="5" numFns="8" connector="NMRAmedium" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="White" connection="plug" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="plug" maxcurrent="40 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="40 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="40 mA"/>
        <output name="5" label="Pad 5" connection="solder" maxcurrent="40 mA"/>
      </model>
      <model model="ATLS4" numOuts="2" numFns="5" maxMotorCurrent="1A (peak=1.25A)" formFactor="HO">
        <output name="1" label="Pad" connection="solder" maxcurrent="40 mA"/>
        <output name="2" label="Pad" connection="solder" maxcurrent="40 mA"/>
      </model>
      <model model="BACH-DSL" numOuts="4" numFns="8" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="Pad 1" connection="solder" maxcurrent="40 mA"/>
        <output name="2" label="pad 2" connection="solder" maxcurrent="40 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="40 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="40 mA"/>
      </model>
      <model model="DA-SR" numOuts="5" numFns="8" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="Tab 1" connection="solder" maxcurrent="40 mA"/>
        <output name="2" label="Tab 2" connection="solder" maxcurrent="40 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="40 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="40 mA"/>
        <output name="5" label="Pad 5" connection="solder" maxcurrent="40 mA"/>
        <size length="2.85" width="0.66" height="0.12" units="inches"/>
      </model>
      <model model="KRS-SR" numOuts="4" numFns="8" connector="NMRAmedium" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="Pin 6" connection="plug" maxcurrent="40 mA"/>
        <output name="2" label="Pin 2" connection="plug" maxcurrent="40 mA"/>
        <output name="3" label="Pad A" connection="solder" maxcurrent="40 mA"/>
        <output name="4" label="Pad B" connection="solder" maxcurrent="40 mA"/>
        <size length="1.9" width="0.65" height="0.125" units="inches"/>
      </model>
      <model model="P2K-SR" numOuts="5" numFns="8" connector="NMRAmedium" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="Pin 6" connection="plug" maxcurrent="40 mA"/>
        <output name="2" label="Pin 2" connection="plug" maxcurrent="40 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="40 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="40 mA"/>
        <output name="5" label="Pad 5" connection="solder" maxcurrent="40 mA"/>
        <size length="1.92" width="0.63" height="0.12" units="inches"/>
      </model>
      <model model="SW9-SR" numOuts="3" numFns="5" maxMotorCurrent="1.3A (peak=2A)" formFactor="HO">
        <output name="1" label="Pad" connection="solder" maxcurrent="40 mA"/>
        <output name="2" label="Pad F0" connection="solder" maxcurrent="40 mA"/>
        <output name="3" label="Pad F1" connection="solder" maxcurrent="40 mA"/>
        <size length="1.95" width="0.83" height="0.12" units="inches"/>
      </model>
      <model model="D408SR" numOuts="9" numFns="14" connector="9pin" maxMotorCurrent="4A (peak=10A)" formFactor="O/G">
        <output name="1" label="White" connection="wire" maxcurrent="80 mA"/>
        <output name="2" label="Green" connection="wire" maxcurrent="80 mA"/>
        <output name="3" label="Violet" connection="wire" maxcurrent="80 mA"/>
        <output name="4" label="Brown" connection="wire" maxcurrent="80 mA"/>
        <output name="5" label="Wht/Yel" connection="wire" maxcurrent="80 mA"/>
        <output name="6" label="Wht/Grn" connection="wire" maxcurrent="80 mA"/>
        <output name="7" label="Yellow" connection="wire" maxcurrent="80 mA"/>
        <output name="8" label="Pad 8" connection="solder" maxcurrent="500 mA"/>
        <output name="9" label="Pad 9" connection="solder" maxcurrent="500 mA"/>
        <size length="2.3" width="1.2" height="0.375" units="inches"/>
      </model>
      <model model="D408SR V3.6" numOuts="8" numFns="14" connector="9pin" maxMotorCurrent="4A (peak=10A)" formFactor="O/G">
        <output name="1" label="Wht" connection="wire" maxcurrent="1000 mA"/>
        <output name="2" label="Yel" connection="wire" maxcurrent="500 mA"/>
        <output name="3" label="Grn" connection="wire" maxcurrent="500 mA"/>
        <output name="4" label="Vlt" connection="wire" maxcurrent="500 mA"/>
        <output name="5" label="brn" connection="wire" maxcurrent="500 mA"/>
        <output name="6" label="Wht/yel" connection="wire" maxcurrent="500 mA"/>
        <output name="7" label="Wht/grn" connection="wire" maxcurrent="500 mA"/>
        <output name="8" label="Pad 8" connection="solder" maxcurrent="1000 mA"/>
        <size length="2.3" width="1.2" height="0.375" units="inches"/>
      </model>
      <model model="D808SR" numOuts="8" numFns="14" maxMotorCurrent="8A (peak=30A)" formFactor="O/G">
        <output name="1" label="Screw" connection="other"/>
        <output name="2" label="Screw" connection="other"/>
        <output name="3" label="Screw" connection="other"/>
        <output name="4" label="Screw" connection="other"/>
        <output name="5" label="Screw" connection="other"/>
        <output name="6" label="Screw" connection="other"/>
        <output name="7" label="Screw" connection="other"/>
        <output name="8" label="Screw" connection="other"/>
        <size length="3.75" width="1.45" height="0.625" units="inches"/>
      </model>
      <model model="ATL-O" numOuts="6" numFns="8" maxMotorCurrent="4A (peak=10A)" formFactor="O/G">
        <output name="1" label="Pin 1" connection="wire"/>
        <output name="2" label="Pin 2" connection="wire"/>
        <output name="3" label="Pin 3" connection="wire"/>
        <output name="4" label="Pin 4" connection="wire"/>
        <output name="5" label="Pad 5" connection="wire"/>
        <output name="6" label="Pad 6" connection="wire"/>
        <size length="2.406" width="0.937" height="0.375" units="inches"/>
      </model>
      <model model="N12-NEM" numOuts="4" numFns="8" maxMotorCurrent="1.3A (peak=2A)" formFactor="N">
        <output name="1" label="Pin 5" connection="wire"/>
        <output name="2" label="Pin 6" connection="wire"/>
        <output name="3" label="Pad 3" connection="wire"/>
        <output name="4" label="Pad 4" connection="wire"/>
        <size length="19.41" width="8.77" height="2.65" units="mm"/>
      </model>
      <model model="N12SR" numOuts="2" numFns="5" maxMotorCurrent="1A (peak=1.25A)" formFactor="N">
        <output name="1" label="White" connection="wire" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="40 mA"/>
        <size length="0.70" width="0.34" height="0.12" units="inches"/>
      </model>
      <model model="N12SR 4 function" numOuts="4" numFns="8" maxMotorCurrent="1.3A (peak=2A)" formFactor="N">
        <output name="1" label="White" connection="wire" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="40 mA"/>
        <output name="3" label="Pad 3" connection="wire" maxcurrent="40 mA"/>
        <output name="4" label="Pad 4" connection="wire" maxcurrent="40 mA"/>
        <size length="0.60" width="0.34" height="0.11" units="inches"/>
      </model>
      <model model="N12SRP" numOuts="2" numFns="5" connector="NMRAmedium" maxMotorCurrent="1A (peak=1.25A)" formFactor="N">
        <output name="1" label="White" connection="plug" maxcurrent="40 mA"/>
        <output name="2" label="Yellow" connection="plug" maxcurrent="40 mA"/>
        <size length="0.70" width="0.34" height="0.12" units="inches"/>
      </model>
      <model model="N14SR" numOuts="4" numFns="8" maxMotorCurrent="1A (peak=1.25A)" formFactor="N">
        <output name="1" label="White" connection="wire" maxcurrent="50 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="50 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="50 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="50 mA"/>
        <size length="1.15" width="0.34" height="0.12" units="inches"/>
      </model>
      <model model="N14SRP" numOuts="4" numFns="8" maxMotorCurrent="1A (peak=1.25A)" formFactor="NMRAmedium">
        <output name="1" label="White" connection="plug" maxcurrent="50 mA"/>
        <output name="2" label="Yellow" connection="plug" maxcurrent="50 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="50 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="50 mA"/>
        <size length="1.15" width="0.34" height="0.12" units="inches"/>
      </model>
      <model model="N14IP" numOuts="4" numFns="8" maxMotorCurrent="1A (peak=1.25A)" formFactor="NMRAmedium">
        <output name="1" label="White" connection="plug" maxcurrent="50 mA"/>
        <output name="2" label="Yellow" connection="plug" maxcurrent="50 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="50 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="50 mA"/>
        <size length="1.15" width="0.34" height="0.12" units="inches"/>
      </model>
      <model model="Next18" numOuts="4" numFns="8" maxMotorCurrent=".75A (peak=1.2A)" formFactor="Next18">
        <output name="1" label="Pin 8" connection="plug"/>
        <output name="2" label="Pin 17" connection="plug"/>
        <output name="3" label="Pin 3" connection="plug"/>
        <output name="4" label="Pin 12" connection="plug"/>
        <size length=".595" width="0.390" units="inches"/>
      </model>
      <model model="N12A0" numOuts="2" numFns="5" maxMotorCurrent="1.0A (peak=1.25A)" formFactor="N" connector="DropIn" comment="for Atlas N-Scale GP40-2, U25B, U23B, B23-7, 30-7, 36-7, GP38, SD25, Trainmaster &amp; many others">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
        <size length="2.65" width="0.37" height="0.12" units="inches"/>
      </model>
      <model model="N12A0e" numOuts="2" numFns="5" maxMotorCurrent="1.0A (peak=1.25A)" formFactor="N" connector="DropIn" comment="for Intermountain N-Scale Tunnel Motor">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
        <size length="2.65" width="0.37" height="0.12" units="inches"/>
      </model>
      <model model="N12A1" numOuts="2" numFns="5" maxMotorCurrent="1.0A (peak=1.25A)" formFactor="N" connector="DropIn" comment="for Atlas N-Scale SD50, SD60M, SD60">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
        <size length="3.475" width="0.37" height="0.12" units="inches"/>        
      </model>
      <model model="N12A2" numOuts="2" numFns="5" maxMotorCurrent="1.0A (peak=1.25A)" formFactor="N" connector="DropIn" comment="for Atlas N-Scale GP30, GP35, GP7, GP9">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
      </model>
      <model model="N12K0a" numOuts="2" numFns="5" maxMotorCurrent="1.0A (peak=1.25A)" formFactor="N" connector="DropIn" comment="for Kato N-Scale PA1, E8, Genesis P42, etc.">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
        <size length="2.65" width="0.37" height="0.12" units="inches"/>        
      </model>
      <model model="N12K0b" numOuts="2" numFns="5" maxMotorCurrent="1.0A (peak=1.25A)" lowVersionID="36" formFactor="N" connector="DropIn" comment="for Kato N-Scale F3 A&amp;B, F7 A&amp;B and others">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
        <size length="2.65" width="0.37" height="0.12" units="inches"/>        
      </model>            
      <model model="N14A0" numOuts="4" numFns="8" formFactor="N" connector="DropIn" comment="for Atlas GP40-2, CW40-8, U25B, U23B, B23-7, 30-7, 36-7, GP38, SD25, TRAINMASTER">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
        <output name="3" label="Pad 3" connection="solder"/>
        <output name="4" label="Pad 4" connection="solder"/>
      </model>            
      <model model="N14A3" numOuts="4" numFns="8" formFactor="N" connector="DropIn" comment="for Atlas GP39-2, Intermountain SD40-2">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
        <output name="3" label="Pad 3" connection="solder"/>
        <output name="4" label="Pad 4" connection="solder"/>
      </model>            
      <model model="N14K1" numOuts="4" numFns="8" formFactor="N" connector="DropIn" comment="for Ath F45,FP45,kato ES44,AC4400,C30-7,SD40-2,SD40,SD45,SD70MAC">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
        <output name="3" label="Pad 3" connection="solder"/>
        <output name="4" label="Pad 4" connection="solder"/>
      </model>            
      <model model="N14K2" numOuts="4" numFns="8" formFactor="N" connector="DropIn" comment="for Kato RS2,RSC2,SD80MAC,SD90MAC, LL RS2, Wal GP18,RS2">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
        <output name="3" label="Pad 3" connection="solder"/>
        <output name="4" label="Pad 4" connection="solder"/>
      </model>            
      <model model="NAVO" numOuts="2" numFns="5" maxMotorCurrent="1.0A (peak=1.25A)" formFactor="N" connector="DropIn" comment="for Atlas N-Scale VO-1000">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
      </model>
      <model model="NH15-44" numOuts="6" numFns="8" formFactor="N" connector="DropIn" comment="for Atlas H15-44,H16-44">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
        <output name="3" label="Pad 3" connection="solder"/>
        <output name="4" label="Pad 4" connection="solder"/>
        <output name="5" label="Pad 5" connection="solder"/>
        <output name="6" label="Pad 6" connection="solder"/>
      </model>            
      <model model="NIMF3" numOuts="2" numFns="5" maxMotorCurrent="1A (peak=1.25A)" formFactor="N" connector="DropIn" comment="for Intermountain N-Scale F3">
        <output name="1" label="Pad 1" connection="solder"/>
        <output name="2" label="Pad 2" connection="solder"/>
      </model>
      <model model="NIMFT-A" numOuts="2" numFns="5" maxMotorCurrent="1A (peak=1.25A)" formFactor="N" connector="DropIn" comment="for Intermountain N-Scale FT-A">
        <output name="1" label="Pad 1" connection="solder"/>
        <output name="2" label="Pad 2" connection="solder"/>
      </model>
      <model model="NIMFT-B" numOuts="2" numFns="5" maxMotorCurrent="1A (peak=1.25A)" formFactor="N" connector="DropIn" comment="for Intermountain N-Scale FT-B">
        <output name="1" label="Pad 1" connection="solder"/>
        <output name="2" label="Pad 2" connection="solder"/>
      </model>
      <model model="NMP" numOuts="2" numFns="5" maxMotorCurrent="1.0A (peak=1.25A)" formFactor="N" connector="DropIn" comment="for Atlas N-Scale MP15DC">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
      </model>
      <model model="NMP15" numOuts="2" numFns="5" maxMotorCurrent="1.0A (peak=1.25A)" formFactor="N" connector="DropIn">
        <output name="1" label="LED 1" connection="solder"/>
        <output name="2" label="LED 2" connection="solder"/>
      </model>
      <model model="Z14SR" numOuts="4" numFns="8" maxMotorCurrent="1A (peak=1.25A)" formFactor="Z">
        <output name="1" label="White" connection="wire" maxcurrent="50 mA"/>
        <output name="2" label="Yellow" connection="wire" maxcurrent="50 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="50 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="50 mA"/>
        <size length="0.57" width="0.34" height="0.13" units="inches"/>
      </model>
      <model model="Z14SRP" numOuts="4" numFns="8" maxMotorCurrent="1A (peak=1.25A)" formFactor="NMRAmedium">
        <output name="1" label="White" connection="plug" maxcurrent="50 mA"/>
        <output name="2" label="Yellow" connection="plug" maxcurrent="50 mA"/>
        <output name="3" label="Pad 3" connection="solder" maxcurrent="50 mA"/>
        <output name="4" label="Pad 4" connection="solder" maxcurrent="50 mA"/>
        <size length="0.57" width="0.34" height="0.13" units="inches"/>
      </model>
      <model model="BLI Hi-Rail Pick-up" numOuts="0" numFns="0">
		</model>
      <model model="BLI Track Inspection Sedan" numOuts="0" numFns="0">
		</model>
      <model model="FDT Trackmobile" numOuts="0" numFns="0">
		</model>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <variables>
      <xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/vStartHighMid.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/accelDecel_255.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/mfgVersionId.xml"/>
      <variable CV="11" item="Packet Time-out Value" tooltip="Time the decoder will wait before braking to a stop after running into a section of track with DC power">
        <decVal/>
        <label>Packet Time-out Value (0=Don't Brake)</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/decoderLockId16.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
      <variable item="Consist Address Active For F1" CV="21" mask="XXXXXXXV" minFn="1" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Active For F1</label>
      </variable>
      <variable item="Consist Address Active For F2" CV="21" mask="XXXXXXVX" minFn="2" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Active For F2</label>
      </variable>
      <variable item="Consist Address Active For F3" CV="21" mask="XXXXXVXX" minFn="3" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Active For F3</label>
      </variable>
      <variable item="Consist Address Active For F4" CV="21" mask="XXXXVXXX" minFn="4" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Active For F4</label>
      </variable>
      <variable item="Consist Address Active For F5" CV="21" mask="XXXVXXXX" minFn="5" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Active For F5</label>
      </variable>
      <variable item="Consist Address Active For F6" CV="21" mask="XXVXXXXX" minFn="6" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Active For F6</label>
      </variable>
      <variable item="Consist Address Active For F7" CV="21" mask="XVXXXXXX" minFn="7" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Active For F7</label>
      </variable>
      <variable item="Consist Address Active For F8" CV="21" mask="VXXXXXXX" minFn="8" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Active For F8</label>
      </variable>
      <variable item="Consist Address Active For FL in Forward" CV="22" mask="XXXXXXXV" minFn="1" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Active For FL in Forward</label>
      </variable>
      <variable item="Consist Address Active For FL in Reverse" CV="22" mask="XXXXXXVX" minFn="1" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Active For FL in Reverse</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29direction.xml"/>
      <variable CV="29" mask="XXXXXXVX" item="Speed Step Mode" default="1" tooltip="14 Speed Step Mode not supported in this decoder">
        <enumVal>
          <enumChoice choice="14 speed step not supported">
            <choice>14 speed step not supported</choice>
            <choice xml:lang="it">Formato 14 step non supportato</choice>
          </enumChoice>
          <enumChoice choice="28 speed step format">
            <choice>28/128 speed step format</choice>
            <choice xml:lang="it">Formato 28 o 128 step</choice>
          </enumChoice>
        </enumVal>
        <label>Speed Step</label>
        <label xml:lang="fr">Pas de vitesse</label>
        <label xml:lang="de">Fahrstufen</label>
        <label xml:lang="it">Step Velocità</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29analog.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29table3-28.xml"/>
      <variable item="FL(f) controls output 1" CV="33" mask="XXXXXXXV" minOut="1" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 1</label>
      </variable>
      <variable item="FL(f) controls output 2" CV="33" mask="XXXXXXVX" minOut="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 2</label>
      </variable>
      <variable item="FL(f) controls output 3" CV="33" mask="XXXXXVXX" minOut="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 3</label>
      </variable>
      <variable item="FL(f) controls output 4" CV="33" mask="XXXXVXXX" minOut="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 4</label>
      </variable>
      <variable item="FL(f) controls output 5" CV="33" mask="XXXVXXXX" minOut="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 5</label>
      </variable>
      <variable item="FL(f) controls output 6" CV="33" mask="XXVXXXXX" minOut="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 6</label>
      </variable>
      <variable item="FL(f) controls output 7" CV="33" mask="XVXXXXXX" minOut="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 7</label>
      </variable>
      <variable item="FL(f) controls output 8" CV="33" mask="VXXXXXXX" minOut="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 8</label>
      </variable>
      <variable item="FL(r) controls output 1" CV="34" mask="XXXXXXXV" minOut="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 1</label>
      </variable>
      <variable item="FL(r) controls output 2" CV="34" mask="XXXXXXVX" minOut="2" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 2</label>
      </variable>
      <variable item="FL(r) controls output 3" CV="34" mask="XXXXXVXX" minOut="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 3</label>
      </variable>
      <variable item="FL(r) controls output 4" CV="34" mask="XXXXVXXX" minOut="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 4</label>
      </variable>
      <variable item="FL(r) controls output 5" CV="34" mask="XXXVXXXX" minOut="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 5</label>
      </variable>
      <variable item="FL(r) controls output 6" CV="34" mask="XXVXXXXX" minOut="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 6</label>
      </variable>
      <variable item="FL(r) controls output 7" CV="34" mask="XVXXXXXX" minOut="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 7</label>
      </variable>
      <variable item="FL(r) controls output 8" CV="34" mask="VXXXXXXX" minOut="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 8</label>
      </variable>
      <variable item="F1 controls output 1" CV="35" mask="XXXXXXXV" minOut="1" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 1</label>
      </variable>
      <variable item="F1 controls output 2" CV="35" mask="XXXXXXVX" minOut="2" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 2</label>
      </variable>
      <variable item="F1 controls output 3" CV="35" mask="XXXXXVXX" minOut="3" minFn="1" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 3</label>
      </variable>
      <variable item="F1 controls output 4" CV="35" mask="XXXXVXXX" minOut="4" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 4</label>
      </variable>
      <variable item="F1 controls output 5" CV="35" mask="XXXVXXXX" minOut="5" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 5</label>
      </variable>
      <variable item="F1 controls output 6" CV="35" mask="XXVXXXXX" minOut="6" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 6</label>
      </variable>
      <variable item="F1 controls output 7" CV="35" mask="XVXXXXXX" minOut="7" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 7</label>
      </variable>
      <variable item="F1 controls output 8" CV="35" mask="VXXXXXXX" minOut="8" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 8</label>
      </variable>
      <variable item="F2 controls output 1" CV="36" mask="XXXXXXXV" minOut="1" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 1</label>
      </variable>
      <variable item="F2 controls output 2" CV="36" mask="XXXXXXVX" minOut="2" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 2</label>
      </variable>
      <variable item="F2 controls output 3" CV="36" mask="XXXXXVXX" minOut="3" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 3</label>
      </variable>
      <variable item="F2 controls output 4" CV="36" mask="XXXXVXXX" minOut="4" minFn="2" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 4</label>
      </variable>
      <variable item="F2 controls output 5" CV="36" mask="XXXVXXXX" minOut="5" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 5</label>
      </variable>
      <variable item="F2 controls output 6" CV="36" mask="XXVXXXXX" minOut="6" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 6</label>
      </variable>
      <variable item="F2 controls output 7" CV="36" mask="XVXXXXXX" minOut="7" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 7</label>
      </variable>
      <variable item="F2 controls output 8" CV="36" mask="VXXXXXXX" minOut="8" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 8</label>
      </variable>
      <variable item="F3 controls output 1" CV="37" mask="XXXXXXXV" minOut="1" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 1</label>
      </variable>
      <variable item="F3 controls output 2" CV="37" mask="XXXXXXVX" minOut="2" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 2</label>
      </variable>
      <variable item="F3 controls output 3" CV="37" mask="XXXXXVXX" minOut="3" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 3</label>
      </variable>
      <variable item="F3 controls output 4" CV="37" mask="XXXXVXXX" minOut="4" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 4</label>
      </variable>
      <variable item="F3 controls output 5" CV="37" mask="XXXVXXXX" minOut="5" minFn="3" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 5</label>
      </variable>
      <variable item="F3 controls output 6" CV="37" mask="XXVXXXXX" minOut="6" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 6</label>
      </variable>
      <variable item="F3 controls output 7" CV="37" mask="XVXXXXXX" minOut="7" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 7</label>
      </variable>
      <variable item="F3 controls output 8" CV="37" mask="VXXXXXXX" minOut="8" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 8</label>
      </variable>
      <!-- this group is like NMRA, except we only go to output 8 for now -->
      <variable item="F4 controls output 4" CV="38" mask="XXXXXXXV" minOut="4" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output 4</label>
      </variable>
      <variable item="F4 controls output 5" CV="38" mask="XXXXXXVX" minOut="5" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output 5</label>
      </variable>
      <variable item="F4 controls output 6" CV="38" mask="XXXXXVXX" minOut="6" minFn="4" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output 6</label>
      </variable>
      <variable item="F4 controls output 7" CV="38" mask="XXXXVXXX" minOut="7" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output 7</label>
      </variable>
      <variable item="F4 controls output 8" CV="38" mask="XXXVXXXX" minOut="8" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output 8</label>
      </variable>
      <variable item="F4 controls output 9" CV="38" mask="XXVXXXXX" minOut="9" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output 9</label>
      </variable>
      <variable item="F5 controls output 4" CV="39" mask="XXXXXXXV" minOut="4" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output 4</label>
      </variable>
      <variable item="F5 controls output 5" CV="39" mask="XXXXXXVX" minOut="5" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output 5</label>
      </variable>
      <variable item="F5 controls output 6" CV="39" mask="XXXXXVXX" minOut="6" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output 6</label>
      </variable>
      <variable item="F5 controls output 7" CV="39" mask="XXXXVXXX" minOut="7" minFn="5" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output 7</label>
      </variable>
      <variable item="F5 controls output 8" CV="39" mask="XXXVXXXX" minOut="8" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output 8</label>
      </variable>
      <variable item="F5 controls output 9" CV="39" mask="XXVXXXXX" minOut="9" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output 9</label>
      </variable>
      <variable item="F6 controls output 4" CV="40" mask="XXXXXXXV" minOut="4" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output 4</label>
      </variable>
      <variable item="F6 controls output 5" CV="40" mask="XXXXXXVX" minOut="5" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output 5</label>
      </variable>
      <variable item="F6 controls output 6" CV="40" mask="XXXXXVXX" minOut="6" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output 6</label>
      </variable>
      <variable item="F6 controls output 7" CV="40" mask="XXXXVXXX" minOut="7" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output 7</label>
      </variable>
      <variable item="F6 controls output 8" CV="40" mask="XXXVXXXX" minOut="8" minFn="6" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output 8</label>
      </variable>
      <variable item="F6 controls output 9" CV="40" mask="XXVXXXXX" minOut="9" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output 9</label>
      </variable>
      <variable item="F7 controls output 7" CV="41" mask="XXXXXXXV" minOut="7" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output 7</label>
      </variable>
      <variable item="F7 controls output 8" CV="41" mask="XXXXXXVX" minOut="8" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output 8</label>
      </variable>
      <variable item="F7 controls output 9" CV="41" mask="XXXXXVXX" minOut="9" minFn="7" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output 9</label>
      </variable>
      <variable item="F8 controls output 7" CV="42" mask="XXXXXXXV" minOut="7" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output 7</label>
      </variable>
      <variable item="F8 controls output 8" CV="42" mask="XXXXXXVX" minOut="8" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output 8</label>
      </variable>
      <variable item="F8 controls output 9" CV="42" mask="XXXXXVXX" minOut="9" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output 9</label>
      </variable>
      <variable item="F9 controls output 7" CV="43" mask="XXXXXXXV" minOut="7" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output 7</label>
      </variable>
      <variable item="F9 controls output 8" CV="43" mask="XXXXXXVX" minOut="8" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output 8</label>
      </variable>
      <variable item="F9 controls output 9" CV="43" mask="XXXXXVXX" minOut="9" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output 9</label>
      </variable>
      <variable item="F10 controls output 7" CV="44" mask="XXXXXXXV" minOut="7" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output 7</label>
      </variable>
      <variable item="F10 controls output 8" CV="44" mask="XXXXXXVX" minOut="8" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output 8</label>
      </variable>
      <variable item="F10 controls output 9" CV="44" mask="XXXXXVXX" minOut="9" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output 9</label>
      </variable>
      <variable item="F11 controls output 7" CV="45" mask="XXXXXXXV" minOut="7" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output 7</label>
      </variable>
      <variable item="F11 controls output 8" CV="45" mask="XXXXXXVX" minOut="8" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output 8</label>
      </variable>
      <variable item="F11 controls output 9" CV="45" mask="XXXXXVXX" minOut="9" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output 9</label>
      </variable>
      <variable item="F12 controls output 7" CV="46" mask="XXXXXXXV" minOut="7" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output 7</label>
      </variable>
      <variable item="F12 controls output 8" CV="46" mask="XXXXXXVX" minOut="8" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output 8</label>
      </variable>
      <variable item="F12 controls output 9" CV="46" mask="XXXXXVXX" minOut="9" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output 9</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
      <variable CV="95" mask="XVVVVVVV" item="Forward Trim" tooltip="Adjustment amount used to equalize the speed in each direction">
        <decVal max="127"/>
        <label>Reverse Trim Adjustment</label>
      </variable>
      <variable CV="95" mask="VXXXXXXX" item="Reverse Trim" tooltip="Determines whether to add the adjustment amount to the forward or reverse direction">
        <enumVal>
          <enumChoice choice="Added to reverse direction">
            <choice>Added to reverse direction</choice>
          </enumChoice>
          <enumChoice choice="Added to forward direction">
            <choice>Added to forward direction</choice>
          </enumChoice>
        </enumVal>
        <label>Reverse Trim Sign</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
      <!-- NCE-specific variables -->
      <variable CV="115" item="Global lighting option 5"  mask="XXXXXXXV" default="0" include="D16MTC">
        <enumVal>
          <enumChoice value="0">
            <choice>Full Power</choice>
          </enumChoice>
          <enumChoice value="1">
            <choice>Logic Level</choice>
          </enumChoice>
        </enumVal>
        <label>Full Power/Logic Level Compatibility Outputs 5,6,7,8</label>
        <tooltip>Compatibility with either Logic Level or Full Power for outputs 5, 6, 7, 8</tooltip>
      </variable>
      <variable CV="116" mask="VVVVVVVV" item="Dither frequency" tooltip="How frequently the motor is kicked with voltage pulses">
        <decVal/>
        <label>Torque Kick Rate</label>
      </variable>
      <variable CV="117" mask="VVVVVVVV" item="Dither option" tooltip="How much voltage is used to kick the motor at low speeds">
        <decVal/>
        <label>Torque Kick Strength</label>
      </variable>
      <variable CV="118" mask="VVVVVVVV" item="Global lighting option 1" default="20" minFn="1" tooltip="Value in 1/4 second increments after F2 goes off">
        <decVal/>
        <label>Ditch light hold time</label>
      </variable>
      <variable item="Output 1 effect generated" CV="120" mask="XXVVVVXX" minOut="1">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputEffectV35.xml"/>
        <label>Output 1 effect generated</label>
      </variable>
      <variable CV="120" mask="XXXXXXVV" minOut="1" item="Output 1 behavior" default="1">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputActive.xml"/>
        <label>Output 1 active</label>
      </variable>
      <variable CV="120" mask="VXXXXXXX" minOut="1" item="Output 1 options">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputType.xml"/>
        <label>Output 1 connected to</label>
      </variable>
      <variable item="Output 2 effect generated" CV="121" mask="XXVVVVXX" minOut="2">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputEffectV35.xml"/>
        <label>Output 2 effect generated</label>
      </variable>
      <variable CV="121" mask="XXXXXXVV" minOut="2" item="Output 2 behavior" default="2">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputActive.xml"/>
        <label>Output 2 active</label>
      </variable>
      <variable CV="121" mask="VXXXXXXX" minOut="2" item="Output 2 options">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputType.xml"/>
        <label>Output 2 connected to</label>
      </variable>
      <variable item="Output 3 effect generated" CV="122" mask="XXVVVVXX" minOut="3">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputEffectV35.xml"/>
        <label>Output 3 effect generated</label>
      </variable>
      <variable CV="122" mask="XXXXXXVV" minOut="3" item="Output 3 behavior">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputActive.xml"/>
        <label>Output 3 active</label>
      </variable>
      <variable CV="122" mask="VXXXXXXX" minOut="3" item="Output 3 options">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputType.xml"/>
        <label>Output 3 connected to</label>
      </variable>
      <variable CV="123" mask="VXXXXXXX" minOut="4" item="Output 4 options">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputType.xml"/>
        <label>Output 4 connected to</label>
      </variable>
      <variable item="Output 4 effect generated" CV="123" mask="XXVVVVXX" minOut="4">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputEffectV35.xml"/>
        <label>Output 4 effect generated</label>
      </variable>
      <variable CV="123" mask="XXXXXXVV" minOut="4" item="Output 4 behavior">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputActive.xml"/>
        <label>Output 4 active</label>
      </variable>
      <variable CV="124" mask="VXXXXXXX" minOut="5" item="Output 5 options">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputType.xml"/>
        <label>Output 5 connected to</label>
      </variable>
      <variable item="Output 5 effect generated" CV="124" mask="XXVVVVXX" minOut="5">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputEffectV35.xml"/>
        <label>Output 5 effect generated</label>
      </variable>
      <variable CV="124" mask="XXXXXXVV" minOut="5" item="Output 5 behavior">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputActive.xml"/>
        <label>Output 5 active</label>
      </variable>
      <variable item="Output 6 effect generated" CV="125" mask="XXVVVVXX" minOut="6">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputEffectV35.xml"/>
        <label>Output 6 effect generated</label>
      </variable>
      <variable CV="125" mask="XXXXXXVV" minOut="6" item="Output 6 behavior">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputActive.xml"/>
        <label>Output 6 active</label>
      </variable>
      <variable CV="125" mask="VXXXXXXX" minOut="6" item="Output 6 options">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputType.xml"/>
        <label>Output 6 connected to</label>
      </variable>
      <variable item="Output 7 effect generated" CV="126" mask="XXVVVVXX" minOut="7">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputEffectV35.xml"/>
        <label>Output 7 effect generated</label>
      </variable>
      <variable CV="126" mask="XXXXXXVV" minOut="7" item="Output 7 behavior">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputActive.xml"/>
        <label>Output 7 active</label>
      </variable>
      <variable CV="126" mask="VXXXXXXX" minOut="7" item="Output 7 options">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputType.xml"/>
        <label>Output 7 connected to</label>
      </variable>
      <variable item="Output 8 effect generated" CV="127" mask="XXVVVVXX" minOut="8">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputEffectV35.xml"/>
        <label>Output 8 effect generated</label>
      </variable>
      <variable CV="127" mask="XXXXXXVV" minOut="8" item="Output 8 behavior">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputActive.xml"/>
        <label>Output 8 active</label>
      </variable>
      <variable CV="127" mask="VXXXXXXX" minOut="8" item="Output 8 options">
        <xi:include href="http://jmri.org/xml/decoders/nce/enum-outputType.xml"/>
        <label>Output 8 connected to</label>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset All CVs(Programing Track Only)" CV="30" default="2"/>
    </resets>
  </decoder>
  <pane>
    <column>
      <display item="Decoder Lock ID number"/>
      <label>
        <text>Tip: you must set CV15 equal to this number to unlock the decoder for programming</text>
      </label>
      <label>
        <text>Multi-decoder control in the tools menu will set CV15 as needed.</text>
      </label>
    </column>
    <name>NCE</name>
  </pane>
</decoder-config>
