<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2004, 2007 All rights reserved -->
<!-- $Revision: 17977 $ -->
<!--                                                                        -->
<!-- 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="peter.brandenburg@t-online.de" version="3" lastUpdated="20042912"/>
<!-- Based on the contribution of "sip@euronet.nl",Zimo_MX61_2000_11.xml-->
<!-- version 2 - add consist direction - jake -->
<!-- version 3 - added CT-programmer panes and tooltips- Peter -->
  <decoder>
    <family name="DCX Series (old)" mfg="CT Elektronik">
      <model model="DCX50" numOuts="7" numFns="5" maxMotorCurrent="1.2 Amp" maxTotalCurrent="1.2 Amp">
        <versionCV lowVersionID="3"/>
        <output name="1" label="White"/>
        <output name="2" label="Yellow"/>
        <output name="3" label="Brown"/>
        <output name="4" label="Brown"/>
        <output name="5" label="NC-Logic Level"/>
        <output name="6" label="NC-Logic Level"/>
        <output name="7" label="NC-Logic Level"/>
      </model>
      <model model="DCX70" numOuts="7" numFns="5" maxMotorCurrent="0.8 Amp" maxTotalCurrent="0.8 Amp">
        <versionCV lowVersionID="3"/>
        <output name="1" label="White"/>
        <output name="2" label="Yellow"/>
        <output name="3" label="Brown"/>
        <output name="4" label="Brown"/>
        <output name="5" label="NC-Logic Level"/>
        <output name="6" label="NC-Logic Level"/>
        <output name="7" label="NC-Logic Level"/>
      </model>
      <model model="DCX73" numOuts="2" numFns="2" maxMotorCurrent="0.8 Amp" maxTotalCurrent="0.8 Amp">
        <versionCV lowVersionID="3"/>
        <output name="1" label="White"/>
        <output name="2" label="Yellow"/>
      </model>
    </family>
    <programming direct="yes" paged="no" register="no" ops="yes"/>
    <variables>
      <variable label="Primary Address" CV="1" comment="Short address" item="Short Address" default="03">
        <shortAddressVal/>
        <label>Primary Address</label>
        <comment>Short address</comment>
      </variable>
      <variable label="Vstart" CV="2" default="2" comment="Range 0-252">
        <decVal max="252"/>
        <label>Vstart</label>
        <comment>Range 0-252</comment>
      </variable>
      <variable label="Acceleration" CV="3" default="1" item="Accel" comment="Range 0-255">
        <decVal max="255"/>
        <label>Acceleration</label>
        <comment>Range 0-255</comment>
      </variable>
      <variable label="Deceleration" CV="4" default="1" item="Decel" comment="Range 0-255">
        <decVal max="255"/>
        <label>Deceleration</label>
        <comment>Range 0-255</comment>
      </variable>
      <variable label="Vhigh" CV="5" default="252" comment="Range 0-252">
        <decVal max="252"/>
        <label>Vhigh</label>
        <comment>Range 0-252</comment>
      </variable>
      <variable label="Vmid" CV="6" default="75" comment="Range 0-252">
        <decVal max="252"/>
        <label>Vmid</label>
        <comment>Range 0-252</comment>
      </variable>
      <variable label="Decoder Version" CV="7" readOnly="yes" item="Decoder Version">
        <decVal/>
        <label>Decoder Version</label>
      </variable>
      <variable label="Manufacturer ID" CV="8" readOnly="yes" item="Manufacturer" default="117">
        <decVal/>
        <label>Manufacturer ID</label>
      </variable>
<!--	<variable label="Manufacturer ID - Reset" CV="8">
			<decVal/>
			</variable>	-->
      <variable label="Total PWM Period" CV="9" default="150" tooltip="13-63=30-150Hz, 141-191=16kHz" comment="Range 13-63/141-191">
        <decVal/>
        <label>Total PWM Period</label>
        <comment>Range 13-63/141-191</comment>
      </variable>
      <variable label="Long Address" CV="17" item="Extended Address" comment="4 digit address (Range 128-10240)">
        <longAddressVal/>
        <label>Long Address</label>
        <comment>4 digit address (Range 128-10240)</comment>
      </variable>
      <variable label="Consist Address" CV="19" mask="XVVVVVVV" item="Consist Address">
        <decVal/>
        <label>Consist Address</label>
      </variable>
      <variable label="Consist Direction" CV="19" mask="VXXXXXXX">
        <enumVal>
          <enumChoice choice="Normal">
            <choice>Normal</choice>
          </enumChoice>
          <enumChoice choice="Reversed">
            <choice>Reversed</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Direction</label>
      </variable>
      <variable label="Normal direction of motion" CV="29" mask="XXXXXXXV" item="Locomotive Direction">
        <enumVal>
          <enumChoice choice="Forward">
            <choice>Forward</choice>
          </enumChoice>
          <enumChoice choice="Reverse">
            <choice>Reverse</choice>
          </enumChoice>
        </enumVal>
        <label>Normal direction of motion</label>
      </variable>
      <variable label="Speed Steps" CV="29" mask="XXXXXXVX" item="Speed Step Mode" default="1">
        <enumVal>
          <enumChoice choice="14">
            <choice>14</choice>
          </enumChoice>
          <enumChoice choice="28/128 (recommended)">
            <choice>28/128 (recommended)</choice>
          </enumChoice>
        </enumVal>
        <label>Speed Steps</label>
      </variable>
      <variable label="Analog conversion mode" CV="29" mask="XXXXXVXX" default="0" item="Analog (DC) Operation">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Analog conversion mode</label>
      </variable>
      <variable label="Use Speed Table" CV="29" mask="XXXVXXXX" item="Speed Table Definition">
        <enumVal>
          <enumChoice choice="Use Vstart, Vmid, Vhigh (CV29, bit 4)">
            <choice>Use Vstart, Vmid, Vhigh (CV29, bit 4)</choice>
          </enumChoice>
          <enumChoice choice="Use Table (CV's 67-94)">
            <choice>Use Table (CV's 67-94)</choice>
          </enumChoice>
        </enumVal>
        <label>Use Speed Table</label>
      </variable>
      <variable label="Addressing Mode" CV="29" mask="XXVXXXXX" item="Address Format">
        <enumVal>
          <enumChoice choice="2 digit addressing">
            <choice>2 digit addressing</choice>
          </enumChoice>
          <enumChoice choice="4 digit addressing">
            <choice>4 digit addressing</choice>
          </enumChoice>
        </enumVal>
        <label>Addressing Mode</label>
      </variable>
      <variable label="FL(f) controls output 1" CV="33" default="1" mask="XXXXXXXV" minOut="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output 1</label>
      </variable>
      <variable label="FL(f) controls output 2" CV="33" mask="XXXXXXVX" minOut="2">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output 2</label>
      </variable>
      <variable label="FL(f) controls output 3" CV="33" mask="XXXXXVXX" minOut="3">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output 3</label>
      </variable>
      <variable label="FL(f) controls output 4" CV="33" mask="XXXXVXXX" minOut="4">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output 4</label>
      </variable>
      <variable label="FL(f) controls output 5" CV="33" mask="XXXVXXXX" minOut="5">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output 5</label>
      </variable>
      <variable label="FL(f) controls output 6" CV="33" mask="XXVXXXXX" minOut="6">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output 6</label>
      </variable>
      <variable label="FL(f) controls output 7" CV="33" mask="XVXXXXXX" minOut="7">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output 7</label>
      </variable>
      <variable label="FL(r) controls output 1" CV="34" mask="XXXXXXXV" minOut="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output 1</label>
      </variable>
      <variable label="FL(r) controls output 2" CV="34" default="1" mask="XXXXXXVX" minOut="2">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output 2</label>
      </variable>
      <variable label="FL(r) controls output 3" CV="34" mask="XXXXXVXX" minOut="3">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output 3</label>
      </variable>
      <variable label="FL(r) controls output 4" CV="34" mask="XXXXVXXX" minOut="4">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output 4</label>
      </variable>
      <variable label="FL(r) controls output 5" CV="34" mask="XXXVXXXX" minOut="5">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output 5</label>
      </variable>
      <variable label="FL(r) controls output 6" CV="34" mask="XXVXXXXX" minOut="6">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output 6</label>
      </variable>
      <variable label="FL(r) controls output 7" CV="34" mask="XVXXXXXX" minOut="7">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output 7</label>
      </variable>
      <variable label="F1 controls output 1" CV="35" mask="XXXXXXXV" minOut="1" minFn="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output 1</label>
      </variable>
      <variable label="F1 controls output 2" CV="35" mask="XXXXXXVX" minOut="2" minFn="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output 2</label>
      </variable>
      <variable label="F1 controls output 3" CV="35" default="1" mask="XXXXXVXX" minOut="3" minFn="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output 3</label>
      </variable>
      <variable label="F1 controls output 4" CV="35" mask="XXXXVXXX" minOut="4" minFn="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output 4</label>
      </variable>
      <variable label="F1 controls output 5" CV="35" mask="XXXVXXXX" minOut="5" minFn="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output 5</label>
      </variable>
      <variable label="F1 controls output 6" CV="35" mask="XXVXXXXX" minOut="6" minFn="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output 6</label>
      </variable>
      <variable label="F1 controls output 7" CV="35" mask="XVXXXXXX" minOut="7" minFn="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output 7</label>
      </variable>
      <variable label="F2 controls output 1" CV="36" mask="XXXXXXXV" minOut="1" minFn="2">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output 1</label>
      </variable>
      <variable label="F2 controls output 2" CV="36" mask="XXXXXXVX" minOut="2" minFn="2">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output 2</label>
      </variable>
      <variable label="F2 controls output 3" CV="36" mask="XXXXXVXX" minOut="3" minFn="2">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output 3</label>
      </variable>
      <variable label="F2 controls output 4" CV="36" default="1" mask="XXXXVXXX" minOut="4" minFn="2">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output 4</label>
      </variable>
      <variable label="F2 controls output 5" CV="36" mask="XXXVXXXX" minOut="5" minFn="2">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output 5</label>
      </variable>
      <variable label="F2 controls output 6" CV="36" mask="XXVXXXXX" minOut="6" minFn="2">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output 6</label>
      </variable>
      <variable label="F2 controls output 7" CV="36" mask="XVXXXXXX" minOut="7" minFn="2">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output 7</label>
      </variable>
      <variable label="F3 controls output 3" CV="37" mask="XXXXXVXX" minOut="3" minFn="3">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output 3</label>
      </variable>
      <variable label="F3 controls output 4" CV="37" mask="XXXXVXXX" minOut="4" minFn="3">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output 4</label>
      </variable>
      <variable label="F3 controls output 5" CV="37" default="1" mask="XXXVXXXX" minOut="5" minFn="3">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output 5</label>
      </variable>
      <variable label="F3 controls output 6" CV="37" mask="XXVXXXXX" minOut="6" minFn="3">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output 6</label>
      </variable>
      <variable label="F3 controls output 7" CV="37" mask="XVXXXXXX" minOut="7" minFn="3">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output 7</label>
      </variable>
      <variable label="F4 controls output 3" CV="38" mask="XXXXXXXV" minOut="3" minFn="4">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output 3</label>
      </variable>
      <variable label="F4 controls output 4" CV="38" mask="XXXXXXVX" minOut="4" minFn="4">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output 4</label>
      </variable>
      <variable label="F4 controls output 5" CV="38" mask="XXXXXVXX" minOut="5" minFn="4">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output 5</label>
      </variable>
      <variable label="F4 controls output 6" CV="38" default="1" mask="XXXXVXXX" minOut="6" minFn="4">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output 6</label>
      </variable>
      <variable label="F4 controls output 7" CV="38" mask="XXXVXXXX" minOut="7" minFn="4">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output 7</label>
      </variable>
      <variable label="F5 controls output 3" CV="39" mask="XXXXXXXV" minOut="3" minFn="5">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output 3</label>
      </variable>
      <variable label="F5 controls output 4" CV="39" mask="XXXXXXVX" minOut="4" minFn="5">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output 4</label>
      </variable>
      <variable label="F5 controls output 5" CV="39" mask="XXXXXVXX" minOut="5" minFn="5">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output 5</label>
      </variable>
      <variable label="F5 controls output 6" CV="39" mask="XXXXVXXX" minOut="6" minFn="5">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output 6</label>
      </variable>
      <variable label="F5 controls output 7" CV="39" default="1" mask="XXXVXXXX" minOut="7" minFn="5">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output 7</label>
      </variable>
      <variable label="F6 controls output 3" CV="40" mask="XXXXXXXV" minOut="3" minFn="6">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output 3</label>
      </variable>
      <variable label="F6 controls output 4" CV="40" mask="XXXXXXVX" minOut="4" minFn="6">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output 4</label>
      </variable>
      <variable label="F6 controls output 5" CV="40" mask="XXXXXVXX" minOut="5" minFn="6">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output 5</label>
      </variable>
      <variable label="F6 controls output 6" CV="40" mask="XXXXVXXX" minOut="6" minFn="6">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output 6</label>
      </variable>
      <variable label="F6 controls output 7" CV="40" mask="XXXVXXXX" minOut="7" minFn="6">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output 7</label>
      </variable>
      <variable label="Signal Dependent Acceleration" CV="61" default="0" comment="Range 0-255">
        <decVal max="255"/>
        <label>Signal Dependent Acceleration</label>
        <comment>Range 0-255</comment>
      </variable>
      <variable label="Signal Dependent Deceleration" CV="53" default="3" comment="Range 0-255">
        <decVal max="255"/>
        <label>Signal Dependent Deceleration</label>
        <comment>Range 0-255</comment>
      </variable>
      <variable label="-U-" CV="60" default="40" comment="Range 0-252">
        <decVal max="252"/>
        <label>-U-</label>
        <comment>Range 0-252</comment>
      </variable>
      <variable label="-L-" CV="59" default="110" comment="Range 0-252">
        <decVal max="252"/>
        <label>-L-</label>
        <comment>Range 0-252</comment>
      </variable>
      <variable label="P adjustment" CV="51" default="80" item="EMF Static Config" tooltip="P adjustment, 0-255" comment="Range 0-255">
        <decVal max="255"/>
        <label>P adjustment</label>
        <comment>Range 0-255</comment>
      </variable>
      <variable label="I adjustment" CV="52" default="35" item="EMF Dynamic Config" tooltip="I adjustment, 0-255" comment="Range 0-255">
        <decVal max="255"/>
        <label>I adjustment</label>
        <comment>Range 0-255</comment>
      </variable>
      <variable label="Track Voltage reference" CV="49" default="160" item="EMF Droop Config" tooltip="160 = 16V track voltage" comment="Range 0-255">
        <decVal max="255"/>
        <label>Track Voltage reference</label>
        <comment>Range 0-255</comment>
      </variable>
      <variable label="BEMF Pull" CV="50" default="255" item="EMF Feedback Cutout" tooltip="BEMF Pull" comment="Controls how much BEMF (0-no BEMF to 255-max)">
        <decVal min="0" max="255"/>
        <label>BEMF Pull</label>
        <comment>Controls how much BEMF (0-no BEMF to 255-max)</comment>
      </variable>
      <variable label="Output Reduction" CV="54" default="100" comment="Controls function output voltage">
        <decVal min="0" max="100"/>
        <label>Output Reduction</label>
        <comment>Controls function output voltage</comment>
      </variable>
      <variable label="Speed Table" CV="67">
        <speedTableVal/>
        <label>Speed Table</label>
      </variable>
      <variable label="User Private ID #1" CV="105" item="User Id #1">
        <decVal/>
        <label>User Private ID #1</label>
      </variable>
      <variable label="User Private ID #2" CV="106" item="User Id #2">
        <decVal/>
        <label>User Private ID #2</label>
      </variable>
      <variable label="Address Pulse" CV="29" mask="XXXXVXXX" default="1">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Address Pulse</label>
      </variable>
      <variable label="NMRA" CV="29" mask="XVXXXXXX" default="1">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>NMRA</label>
      </variable>
      <variable label="PWM period low/high" CV="29" item="Dither frequency" tooltip="PWM low=30-150Hz, high=16kHz" mask="VXXXXXXX" default="1">
        <enumVal>
          <enumChoice choice="30-150Hz">
            <choice>30-150Hz</choice>
          </enumChoice>
          <enumChoice choice="16kHz">
            <choice>16kHz</choice>
          </enumChoice>
        </enumVal>
        <label>PWM period low/high</label>
      </variable>
      <variable label="Dim Output 1" CV="57" mask="XXXXXXXV" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Dim Output 1</label>
      </variable>
      <variable label="Dim Output 2" CV="57" mask="XXXXXXVX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Dim Output 2</label>
      </variable>
      <variable label="Dim Output 3" CV="57" mask="XXXXXVXX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Dim Output 3</label>
      </variable>
      <variable label="Dim Output 4" CV="57" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Dim Output 4</label>
      </variable>
      <variable label="Dim Output 5" CV="57" mask="XXXVXXXX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Dim Output 5</label>
      </variable>
      <variable label="Dim Output 6" CV="57" mask="XXVXXXXX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Dim Output 6</label>
      </variable>
      <variable label="Dim Output 7" CV="57" mask="XVXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Dim Output 7</label>
      </variable>
      <variable label="Coupler Control reduced voltage" CV="55" default="32" comment="Controls Voltage to hold-     0=0%/100=100% Voltage">
        <decVal min="0" max="100"/>
        <label>Coupler Control reduced voltage</label>
        <comment>Controls Voltage to hold-     0=0%/100=100% Voltage</comment>
      </variable>
      <variable label="Coupler Control time full voltage" CV="56" default="60" comment="Controls Time with full voltage applied-     1/20 sec/0=0sec/60=3sec/255=12,5sec">
        <decVal min="0" max="255"/>
        <label>Coupler Control time full voltage</label>
        <comment>Controls Time with full voltage applied-     1/20 sec/0=0sec/60=3sec/255=12,5sec</comment>
      </variable>
      <variable label="Coupler Output 1" CV="58" mask="XXXXXXXV" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Coupler Output 1</label>
      </variable>
      <variable label="Coupler Output 2" CV="58" mask="XXXXXXVX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Coupler Output 2</label>
      </variable>
      <variable label="Coupler Output 3" CV="58" mask="XXXXXVXX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Coupler Output 3</label>
      </variable>
      <variable label="Coupler Output 4" CV="58" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Coupler Output 4</label>
      </variable>
      <variable label="Coupler Output 5" CV="58" mask="XXXVXXXX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Coupler Output 5</label>
      </variable>
      <variable label="Coupler Output 6" CV="58" mask="XXVXXXXX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Coupler Output 6</label>
      </variable>
      <variable label="Coupler Output 7" CV="58" mask="XVXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Coupler Output 7</label>
      </variable>
    </variables>
  </decoder>
<!--		
<pane name="Motor">
		<column>
			<display item="Acceleration" tooltip="CV 3"/>
			<display item="Deceleration" tooltip="CV 4"/>
			<label label=" "/>
			<display item="Forward Trim" tooltip="CV 66"/>
			<display item="Reverse Trim" tooltip="CV 95"/>
			<label label=" "/>
			<display item="Total PWM Period" tooltip="CV 9, read manual"/>
			<separator/>
			<display item="PWM period low/high" tooltip="CV 29, bit 7, read manual"/>
		</column>
		
		<column>
			<display item="Exponential Acceleration" tooltip="CV 121"/>
			<display item="Exponential Deceleration" tooltip="CV 122"/>
			<display item="Adapts Acceleration and Deceleration" tooltip="CV 123"/>
		</column>

		<column>
			<display item="EMF Feedback Cutoff" tooltip="CV 10"/>
			<display item="Volume EMF Feedback Cutoff" tooltip="CV 113"/>
			<display item="BEMF Pull" tooltip="CV 50"/>
			<label label=" "/>
			<display item="P adjustment" tooltip="CV 51"/>
			<display item="I adjustment" tooltip="CV 52"/>
			<display item="Adjust EMK Voltage" tooltip="CV 49"/>
		</column>
	</pane>
-->
  <pane name="Output Handling">
    <column>
      <display item="Output Reduction" layout="below" format="vslider" label="" tooltip="CV 54">
        <label/>
      </display>
      <display item="Output Reduction" layout="below" tooltip="CV 54, 50=50% output reduction"/>
    </column>
    <column>
      <label label="Dim Outputs (CV 57)">
        <label>Dim Outputs (CV 57)</label>
      </label>
      <separator/>
      <display item="Dim Output 1" format="radiobuttons" label="Output 1" tooltip="CV 57, bit 0">
        <label>Output 1</label>
      </display>
      <display item="Dim Output 2" format="radiobuttons" label="Output 2" tooltip="CV 57, bit 1">
        <label>Output 2</label>
      </display>
      <display item="Dim Output 3" format="radiobuttons" label="Output 3" tooltip="CV 57, bit 2">
        <label>Output 3</label>
      </display>
      <display item="Dim Output 4" format="radiobuttons" label="Output 4" tooltip="CV 57, bit 3">
        <label>Output 4</label>
      </display>
      <display item="Dim Output 5" format="radiobuttons" label="Output 5" tooltip="CV 57, bit 4">
        <label>Output 5</label>
      </display>
      <display item="Dim Output 6" format="radiobuttons" label="Output 6" tooltip="CV 57, bit 5">
        <label>Output 6</label>
      </display>
    </column>
    <column>
      <label label="F-6 Key Dims Outputs">
        <label>F-6 Key Dims Outputs</label>
      </label>
      <separator/>
      <display item="F6 key dims Output 1" format="checkbox" label="Output 1" tooltip="CV 119, bit 0">
        <label>Output 1</label>
      </display>
      <display item="F6 key dims Output 2" format="checkbox" label="Output 2" tooltip="CV 119, bit 1">
        <label>Output 2</label>
      </display>
      <display item="F6 key dims Output 3" format="checkbox" label="Output 3" tooltip="CV 119, bit 2">
        <label>Output 3</label>
      </display>
      <display item="F6 key dims Output 4" format="checkbox" label="Output 4" tooltip="CV 119, bit 3">
        <label>Output 4</label>
      </display>
      <display item="F6 key dims Output 5" format="checkbox" label="Output 5" tooltip="CV 119, bit 4">
        <label>Output 5</label>
      </display>
      <display item="F6 key dims Output 6" format="checkbox" label="Output 6" tooltip="CV 119, bit 5">
        <label>Output 6</label>
      </display>
      <display item="F6 key inverted" format="checkbox" label="F-6 Key inverted" tooltip="CV 119, bit 7">
        <label>F-6 Key inverted</label>
      </display>
      <label label=" ">
        <label> </label>
      </label>
      <label label="F-7 Key Dims Outputs">
        <label>F-7 Key Dims Outputs</label>
      </label>
      <separator/>
      <display item="F7 key dims Output 1" format="checkbox" label="Output 1" tooltip="CV 120, bit 0">
        <label>Output 1</label>
      </display>
      <display item="F7 key dims Output 2" format="checkbox" label="Output 2" tooltip="CV 120, bit 1">
        <label>Output 2</label>
      </display>
      <display item="F7 key dims Output 3" format="checkbox" label="Output 3" tooltip="CV 120, bit 2">
        <label>Output 3</label>
      </display>
      <display item="F7 key dims Output 4" format="checkbox" label="Output 4" tooltip="CV 120, bit 3">
        <label>Output 4</label>
      </display>
      <display item="F7 key dims Output 5" format="checkbox" label="Output 5" tooltip="CV 120, bit 4">
        <label>Output 5</label>
      </display>
      <display item="F7 key dims Output 6" format="checkbox" label="Output 6" tooltip="CV 120, bit 5">
        <label>Output 6</label>
      </display>
      <display item="F7 key inverted" format="checkbox" label="F-7 Key inverted" tooltip="CV 120, bit 7">
        <label>F-7 Key inverted</label>
      </display>
    </column>
    <name>Output Handling</name>
  </pane>
  <pane name="Advanced">
    <column>
      <display item="Shunting Usage" tooltip="CV 124, bit 0-1"/>
      <display item="Shunt Function Key" tooltip="CV 124, bit 2"/>
      <display item="Half Speed" tooltip="CV 124, bit 3"/>
      <label label=" ">
        <label> </label>
      </label>
      <display item="Special Function Usage" tooltip="CV 61"/>
    </column>
    <column>
      <display item="Coupler Control reduced voltage" tooltip="CV 55"/>
      <display item="Coupler Control time full voltage" tooltip="CV 56"/>
      <label label="      Coupler Outputs">
        <label>      Coupler Outputs</label>
      </label>
      <separator/>
      <display item="Coupler Output 1" format="checkbox" label="Output 1" tooltip="CV 58, bit 0">
        <label>Output 1</label>
      </display>
      <display item="Coupler Output 2" format="checkbox" label="Output 2" tooltip="CV 58, bit 1">
        <label>Output 2</label>
      </display>
      <display item="Coupler Output 3" format="checkbox" label="Output 3" tooltip="CV 58, bit 2">
        <label>Output 3</label>
      </display>
      <display item="Coupler Output 4" format="checkbox" label="Output 4" tooltip="CV 58, bit 3">
        <label>Output 4</label>
      </display>
      <display item="Coupler Output 5" format="checkbox" label="Output 5" tooltip="CV 58, bit 4">
        <label>Output 5</label>
      </display>
      <display item="Coupler Output 6" format="checkbox" label="Output 6" tooltip="CV 58, bit 5">
        <label>Output 6</label>
      </display>
    </column>
    <column>
      <label label="Analog Mode Functions">
        <label>Analog Mode Functions</label>
      </label>
      <separator/>
      <display item="Analog Mode Function Status - F1" format="checkbox" label="F-1" tooltip="CV 13, bit 0">
        <label>F-1</label>
      </display>
      <display item="Analog Mode Function Status - F2" format="checkbox" label="F-2" tooltip="CV 13, bit 1">
        <label>F-2</label>
      </display>
      <display item="Analog Mode Function Status - F3" format="checkbox" label="F-3" tooltip="CV 13, bit 2">
        <label>F-3</label>
      </display>
      <display item="Analog Mode Function Status - F4" format="checkbox" label="F-4" tooltip="CV 13, bit 3">
        <label>F-4</label>
      </display>
      <display item="Analog Mode Function Status - F5" format="checkbox" label="F-5" tooltip="CV 13, bit 4">
        <label>F-5</label>
      </display>
      <display item="Analog Mode Function Status - F6" format="checkbox" label="F-6" tooltip="CV 13, bit 5">
        <label>F-6</label>
      </display>
      <display item="Analog Mode Function Status - F7" format="checkbox" label="F-7" tooltip="CV 13, bit 6">
        <label>F-7</label>
      </display>
      <display item="Analog Mode Function Status - F8" format="checkbox" label="F-8" tooltip="CV 13, bit 7">
        <label>F-8</label>
      </display>
    </column>
    <name>Advanced</name>
  </pane>
  <pane name="Zimo">
    <column>
      <display item="Signal Dependent Acceleration" tooltip="CV 61"/>
      <display item="Signal Dependent Deceleration" tooltip="CV 53"/>
    </column>
    <column>
      <display item="Address Pulse" tooltip="CV 29 bit 3"/>
      <display item="NMRA" tooltip="CV 29 bit 6"/>
    </column>
    <column>
      <label label="Signal Dependent Speed Limits">
        <label>Signal Dependent Speed Limits</label>
      </label>
      <separator/>
      <label label=" ">
        <label> </label>
      </label>
      <display item="-U-" tooltip="60"/>
      <display item="-L-" tooltip="59"/>
    </column>
    <name>Zimo</name>
  </pane>
</decoder-config>

