<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2006 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" showEmptyPanes="no" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder.xsd">
  <version author="Bob Jacobsen" version="2" lastUpdated="20190727"/> <!-- xinclude for CV19 -->
  <version version="1" author="PB, pierre.bln@me.com" lastUpdated="20140102"/>
  <!-- 1 2013/07/24 Creation 
		This is the first decoder template for the FD-LED from Tams Elektronik.
		File is different from other FD decoders definition because of many
		differences in functionality for the same CVs.
  -->
  <decoder>
    <family name="Function decoders (FD)" mfg="Tams Elektronik GmbH">
      <model model="FD-LED" numOuts="3" numFns="30" productID="FD-LED">
        <output name="1" label="AUX 1" maxcurrent="300mA"/>
        <output name="2" label="AUX 2" maxcurrent="300mA"/>
        <output name="3" label="AUX 3 (max. 2 LEDs)" maxcurrent="10mA"/>
        <size length="21.5" width="11.5" height="4.5" units="mm"/>
        <protocols>
          <protocol>dcc</protocol>
          <protocol>motorola</protocol>
        </protocols>
      </model>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <variables>
      <!-- Calls to std NMRA templates     -->
      <xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29speedSteps.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/mfgVersionId.xml"/>
      <!-- Consist address (consist direction bit 7 not supported) -->

      <xi:include href="http://jmri.org/xml/decoders/nmra/consistAddr.xml"/>

      <!-- Function tables for outputs 1-8  -->
      <!-- Code bits from http://jmri.org/xml/nmra/functionmap.xml , added full range off functions for Tams Decoders-->
      <variable item="FL(f) controls output 1" CV="33" mask="XXXXXXXV" minOut="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" default="1">
        <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">
        <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" default="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">
       <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" default="1">
        <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">
        <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">
        <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>
      <variable item="F4 controls output 1" CV="38" mask="XXXXXXXV" minOut="1" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output 1</label>
      </variable>
      <variable item="F4 controls output 2" CV="38" mask="XXXXXXVX" minOut="2" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output 2</label>
      </variable>
      <variable item="F4 controls output 3" CV="38" mask="XXXXXVXX" minOut="3" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output 3</label>
      </variable>
      <variable item="F4 controls output 4" CV="38" mask="XXXXVXXX" 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="XXXVXXXX" 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="XXVXXXXX" minOut="6" minFn="4">
        <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="XVXXXXXX" 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="VXXXXXXX" 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="F5 controls output 1" CV="39" mask="XXXXXXXV" minOut="1" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output 1</label>
      </variable>
      <variable item="F5 controls output 2" CV="39" mask="XXXXXXVX" minOut="2" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output 2</label>
      </variable>
      <variable item="F5 controls output 3" CV="39" mask="XXXXXVXX" minOut="3" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output 3</label>
      </variable>
      <variable item="F5 controls output 4" CV="39" mask="XXXXVXXX" 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="XXXVXXXX" 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="XXVXXXXX" 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="XVXXXXXX" minOut="7" minFn="5">
        <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="VXXXXXXX" 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="F6 controls output 1" CV="40" mask="XXXXXXXV" minOut="1" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output 1</label>
      </variable>
      <variable item="F6 controls output 2" CV="40" mask="XXXXXXVX" minOut="2" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output 2</label>
      </variable>
      <variable item="F6 controls output 3" CV="40" mask="XXXXXVXX" minOut="3" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output 3</label>
      </variable>
      <variable item="F6 controls output 4" CV="40" mask="XXXXVXXX" 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="XXXVXXXX" 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="XXVXXXXX" 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="XVXXXXXX" 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="VXXXXXXX" minOut="8" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output 8</label>
      </variable>
      <variable item="F7 controls output 1" CV="41" mask="XXXXXXXV" minOut="1" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output 1</label>
      </variable>
      <variable item="F7 controls output 2" CV="41" mask="XXXXXXVX" minOut="2" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output 2</label>
      </variable>
      <variable item="F7 controls output 3" CV="41" mask="XXXXXVXX" minOut="3" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output 3</label>
      </variable>
      <variable item="F7 controls output 4" CV="41" mask="XXXXVXXX" minOut="4" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output 4</label>
      </variable>
      <variable item="F7 controls output 5" CV="41" mask="XXXVXXXX" minOut="5" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output 5</label>
      </variable>
      <variable item="F7 controls output 6" CV="41" mask="XXVXXXXX" minOut="6" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output 6</label>
      </variable>
      <variable item="F7 controls output 7" CV="41" mask="XVXXXXXX" 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="VXXXXXXX" 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="F8 controls output 1" CV="42" mask="XXXXXXXV" minOut="1" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output 1</label>
      </variable>
      <variable item="F8 controls output 2" CV="42" mask="XXXXXXVX" minOut="2" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output 2</label>
      </variable>
      <variable item="F8 controls output 3" CV="42" mask="XXXXXVXX" minOut="3" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output 3</label>
      </variable>
      <variable item="F8 controls output 4" CV="42" mask="XXXXVXXX" minOut="4" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output 4</label>
      </variable>
      <variable item="F8 controls output 5" CV="42" mask="XXXVXXXX" minOut="5" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output 5</label>
      </variable>
      <variable item="F8 controls output 6" CV="42" mask="XXVXXXXX" minOut="6" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output 6</label>
      </variable>
      <variable item="F8 controls output 7" CV="42" mask="XVXXXXXX" 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="VXXXXXXX" 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="F9 controls output 1" CV="43" mask="XXXXXXXV" minOut="1" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output 1</label>
      </variable>
      <variable item="F9 controls output 2" CV="43" mask="XXXXXXVX" minOut="2" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output 2</label>
      </variable>
      <variable item="F9 controls output 3" CV="43" mask="XXXXXVXX" minOut="3" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output 3</label>
      </variable>
      <variable item="F9 controls output 4" CV="43" mask="XXXXVXXX" minOut="4" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output 4</label>
      </variable>
      <variable item="F9 controls output 5" CV="43" mask="XXXVXXXX" minOut="5" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output 5</label>
      </variable>
      <variable item="F9 controls output 6" CV="43" mask="XXVXXXXX" minOut="6" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output 6</label>
      </variable>
      <variable item="F9 controls output 7" CV="43" mask="XVXXXXXX" 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="VXXXXXXX" 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="F10 controls output 1" CV="44" mask="XXXXXXXV" minOut="1" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output 1</label>
      </variable>
      <variable item="F10 controls output 2" CV="44" mask="XXXXXXVX" minOut="2" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output 2</label>
      </variable>
      <variable item="F10 controls output 3" CV="44" mask="XXXXXVXX" minOut="3" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output 3</label>
      </variable>
      <variable item="F10 controls output 4" CV="44" mask="XXXXVXXX" minOut="4" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output 4</label>
      </variable>
      <variable item="F10 controls output 5" CV="44" mask="XXXVXXXX" minOut="5" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output 5</label>
      </variable>
      <variable item="F10 controls output 6" CV="44" mask="XXVXXXXX" minOut="6" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output 6</label>
      </variable>
      <variable item="F10 controls output 7" CV="44" mask="XVXXXXXX" 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="VXXXXXXX" 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="F11 controls output 1" CV="45" mask="XXXXXXXV" minOut="1" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output 1</label>
      </variable>
      <variable item="F11 controls output 2" CV="45" mask="XXXXXXVX" minOut="2" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output 2</label>
      </variable>
      <variable item="F11 controls output 3" CV="45" mask="XXXXXVXX" minOut="3" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output 3</label>
      </variable>
      <variable item="F11 controls output 4" CV="45" mask="XXXXVXXX" minOut="4" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output 4</label>
      </variable>
      <variable item="F11 controls output 5" CV="45" mask="XXXVXXXX" minOut="5" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output 5</label>
      </variable>
      <variable item="F11 controls output 6" CV="45" mask="XXVXXXXX" minOut="6" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output 6</label>
      </variable>
      <variable item="F11 controls output 7" CV="45" mask="XVXXXXXX" 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="VXXXXXXX" 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="F12 controls output 1" CV="46" mask="XXXXXXXV" minOut="1" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output 1</label>
      </variable>
      <variable item="F12 controls output 2" CV="46" mask="XXXXXXVX" minOut="2" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output 2</label>
      </variable>
      <variable item="F12 controls output 3" CV="46" mask="XXXXXVXX" minOut="3" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output 3</label>
      </variable>
      <variable item="F12 controls output 4" CV="46" mask="XXXXVXXX" minOut="4" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output 4</label>
      </variable>
      <variable item="F12 controls output 5" CV="46" mask="XXXVXXXX" minOut="5" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output 5</label>
      </variable>
      <variable item="F12 controls output 6" CV="46" mask="XXVXXXXX" minOut="6" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output 6</label>
      </variable>
      <variable item="F12 controls output 7" CV="46" mask="XVXXXXXX" 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="VXXXXXXX" minOut="8" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output 8</label>
      </variable>
      <!-- Function tables for F13 to F28 (max 8 outputs) -->
      <!-- Code bits from http://jmri.org/xml/nmra/functionmap.xml , added full range of functions for Tams Decoders-->
      <variable item="F13 controls output 1" CV="47" mask="XXXXXXXV" minOut="1" minFn="13">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F13 controls output 1</label>
      </variable>
      <variable item="F13 controls output 2" CV="47" mask="XXXXXXVX" minOut="2" minFn="13">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F13 controls output 2</label>
      </variable>
      <variable item="F13 controls output 3" CV="47" mask="XXXXXVXX" minOut="3" minFn="13">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F13 controls output 3</label>
      </variable>
      <variable item="F13 controls output 4" CV="47" mask="XXXXVXXX" minOut="4" minFn="13">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F13 controls output 4</label>
      </variable>
      <variable item="F13 controls output 5" CV="47" mask="XXXVXXXX" minOut="5" minFn="13">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F13 controls output 5</label>
      </variable>
      <variable item="F13 controls output 6" CV="47" mask="XXVXXXXX" minOut="6" minFn="13">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F13 controls output 6</label>
      </variable>
      <variable item="F13 controls output 7" CV="47" mask="XVXXXXXX" minOut="7" minFn="13">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F13 controls output 7</label>
      </variable>
      <variable item="F13 controls output 8" CV="47" mask="VXXXXXXX" minOut="8" minFn="13">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F13 controls output 8</label>
      </variable>
      <variable item="F14 controls output 1" CV="48" mask="XXXXXXXV" minOut="1" minFn="14">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F14 controls output 1</label>
      </variable>
      <variable item="F14 controls output 2" CV="48" mask="XXXXXXVX" minOut="2" minFn="14">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F14 controls output 2</label>
      </variable>
      <variable item="F14 controls output 3" CV="48" mask="XXXXXVXX" minOut="3" minFn="14">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F14 controls output 3</label>
      </variable>
      <variable item="F14 controls output 4" CV="48" mask="XXXXVXXX" minOut="4" minFn="14">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F14 controls output 4</label>
      </variable>
      <variable item="F14 controls output 5" CV="48" mask="XXXVXXXX" minOut="5" minFn="14">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F14 controls output 5</label>
      </variable>
      <variable item="F14 controls output 6" CV="48" mask="XXVXXXXX" minOut="6" minFn="14">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F14 controls output 6</label>
      </variable>
      <variable item="F14 controls output 7" CV="48" mask="XVXXXXXX" minOut="7" minFn="14">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F14 controls output 7</label>
      </variable>
      <variable item="F14 controls output 8" CV="48" mask="VXXXXXXX" minOut="8" minFn="14">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F14 controls output 8</label>
      </variable>
      <variable item="F15 controls output 1" CV="49" mask="XXXXXXXV" minOut="1" minFn="15">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F15 controls output 1</label>
      </variable>
      <variable item="F15 controls output 2" CV="49" mask="XXXXXXVX" minOut="2" minFn="15">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F15 controls output 2</label>
      </variable>
      <variable item="F15 controls output 3" CV="49" mask="XXXXXVXX" minOut="3" minFn="15">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F15 controls output 3</label>
      </variable>
      <variable item="F15 controls output 4" CV="49" mask="XXXXVXXX" minOut="4" minFn="15">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F15 controls output 4</label>
      </variable>
      <variable item="F15 controls output 5" CV="49" mask="XXXVXXXX" minOut="5" minFn="15">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F15 controls output 5</label>
      </variable>
      <variable item="F15 controls output 6" CV="49" mask="XXVXXXXX" minOut="6" minFn="15">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F15 controls output 6</label>
      </variable>
      <variable item="F15 controls output 7" CV="49" mask="XVXXXXXX" minOut="7" minFn="15">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F15 controls output 7</label>
      </variable>
      <variable item="F15 controls output 8" CV="49" mask="VXXXXXXX" minOut="8" minFn="15">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F15 controls output 8</label>
      </variable>
      <variable item="F16 controls output 1" CV="50" mask="XXXXXXXV" minOut="1" minFn="16">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F16 controls output 1</label>
      </variable>
      <variable item="F16 controls output 2" CV="50" mask="XXXXXXVX" minOut="2" minFn="16">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F16 controls output 2</label>
      </variable>
      <variable item="F16 controls output 3" CV="50" mask="XXXXXVXX" minOut="3" minFn="16">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F16 controls output 3</label>
      </variable>
      <variable item="F16 controls output 4" CV="50" mask="XXXXVXXX" minOut="4" minFn="16">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F16 controls output 4</label>
      </variable>
      <variable item="F16 controls output 5" CV="50" mask="XXXVXXXX" minOut="5" minFn="16">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F16 controls output 5</label>
      </variable>
      <variable item="F16 controls output 6" CV="50" mask="XXVXXXXX" minOut="6" minFn="16">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F16 controls output 6</label>
      </variable>
      <variable item="F16 controls output 7" CV="50" mask="XVXXXXXX" minOut="7" minFn="16">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F16 controls output 7</label>
      </variable>
      <variable item="F16 controls output 8" CV="50" mask="VXXXXXXX" minOut="8" minFn="16">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F16 controls output 8</label>
      </variable>
      <variable item="F17 controls output 1" CV="51" mask="XXXXXXXV" minOut="1" minFn="17">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F17 controls output 1</label>
      </variable>
      <variable item="F17 controls output 2" CV="51" mask="XXXXXXVX" minOut="2" minFn="17">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F17 controls output 2</label>
      </variable>
      <variable item="F17 controls output 3" CV="51" mask="XXXXXVXX" minOut="3" minFn="17">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F17 controls output 3</label>
      </variable>
      <variable item="F17 controls output 4" CV="51" mask="XXXXVXXX" minOut="4" minFn="17">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F17 controls output 4</label>
      </variable>
      <variable item="F17 controls output 5" CV="51" mask="XXXVXXXX" minOut="5" minFn="17">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F17 controls output 5</label>
      </variable>
      <variable item="F17 controls output 6" CV="51" mask="XXVXXXXX" minOut="6" minFn="17">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F17 controls output 6</label>
      </variable>
      <variable item="F17 controls output 7" CV="51" mask="XVXXXXXX" minOut="7" minFn="17">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F17 controls output 7</label>
      </variable>
      <variable item="F17 controls output 8" CV="51" mask="VXXXXXXX" minOut="8" minFn="17">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F17 controls output 8</label>
      </variable>
      <variable item="F18 controls output 1" CV="52" mask="XXXXXXXV" minOut="1" minFn="18">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F18 controls output 1</label>
      </variable>
      <variable item="F18 controls output 2" CV="52" mask="XXXXXXVX" minOut="2" minFn="18">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F18 controls output 2</label>
      </variable>
      <variable item="F18 controls output 3" CV="52" mask="XXXXXVXX" minOut="3" minFn="18">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F18 controls output 3</label>
      </variable>
      <variable item="F18 controls output 4" CV="52" mask="XXXXVXXX" minOut="4" minFn="18">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F18 controls output 4</label>
      </variable>
      <variable item="F18 controls output 5" CV="52" mask="XXXVXXXX" minOut="5" minFn="18">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F18 controls output 5</label>
      </variable>
      <variable item="F18 controls output 6" CV="52" mask="XXVXXXXX" minOut="6" minFn="18">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F18 controls output 6</label>
      </variable>
      <variable item="F18 controls output 7" CV="52" mask="XVXXXXXX" minOut="7" minFn="18">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F18 controls output 7</label>
      </variable>
      <variable item="F18 controls output 8" CV="52" mask="VXXXXXXX" minOut="8" minFn="18">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F18 controls output 8</label>
      </variable>
      <variable item="F19 controls output 1" CV="53" mask="XXXXXXXV" minOut="1" minFn="19">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F19 controls output 1</label>
      </variable>
      <variable item="F19 controls output 2" CV="53" mask="XXXXXXVX" minOut="2" minFn="19">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F19 controls output 2</label>
      </variable>
      <variable item="F19 controls output 3" CV="53" mask="XXXXXVXX" minOut="3" minFn="19">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F19 controls output 3</label>
      </variable>
      <variable item="F19 controls output 4" CV="53" mask="XXXXVXXX" minOut="4" minFn="19">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F19 controls output 4</label>
      </variable>
      <variable item="F19 controls output 5" CV="53" mask="XXXVXXXX" minOut="5" minFn="19">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F19 controls output 5</label>
      </variable>
      <variable item="F19 controls output 6" CV="53" mask="XXVXXXXX" minOut="6" minFn="19">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F19 controls output 6</label>
      </variable>
      <variable item="F19 controls output 7" CV="53" mask="XVXXXXXX" minOut="7" minFn="19">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F19 controls output 7</label>
      </variable>
      <variable item="F19 controls output 8" CV="53" mask="VXXXXXXX" minOut="8" minFn="19">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F19 controls output 8</label>
      </variable>
      <variable item="F20 controls output 1" CV="54" mask="XXXXXXXV" minOut="1" minFn="20">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F20 controls output 1</label>
      </variable>
      <variable item="F20 controls output 2" CV="54" mask="XXXXXXVX" minOut="2" minFn="20">
       <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F20 controls output 2</label>
      </variable>
      <variable item="F20 controls output 3" CV="54" mask="XXXXXVXX" minOut="3" minFn="20">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F20 controls output 3</label>
      </variable>
      <variable item="F20 controls output 4" CV="54" mask="XXXXVXXX" minOut="4" minFn="20">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F20 controls output 4</label>
      </variable>
      <variable item="F20 controls output 5" CV="54" mask="XXXVXXXX" minOut="5" minFn="20">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F20 controls output 5</label>
      </variable>
      <variable item="F20 controls output 6" CV="54" mask="XXVXXXXX" minOut="6" minFn="20">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F20 controls output 6</label>
      </variable>
      <variable item="F20 controls output 7" CV="54" mask="XVXXXXXX" minOut="7" minFn="20">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F20 controls output 7</label>
      </variable>
      <variable item="F20 controls output 8" CV="54" mask="VXXXXXXX" minOut="8" minFn="20">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F20 controls output 8</label>
      </variable>
      <variable item="F21 controls output 1" CV="55" mask="XXXXXXXV" minOut="1" minFn="21">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F21 controls output 1</label>
      </variable>
      <variable item="F21 controls output 2" CV="55" mask="XXXXXXVX" minOut="2" minFn="21">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F21 controls output 2</label>
      </variable>
      <variable item="F21 controls output 3" CV="55" mask="XXXXXVXX" minOut="3" minFn="21">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F21 controls output 3</label>
      </variable>
      <variable item="F21 controls output 4" CV="55" mask="XXXXVXXX" minOut="4" minFn="21">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F21 controls output 4</label>
      </variable>
      <variable item="F21 controls output 5" CV="55" mask="XXXVXXXX" minOut="5" minFn="21">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F21 controls output 5</label>
      </variable>
      <variable item="F21 controls output 6" CV="55" mask="XXVXXXXX" minOut="6" minFn="21">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F21 controls output 6</label>
      </variable>
      <variable item="F21 controls output 7" CV="55" mask="XVXXXXXX" minOut="7" minFn="21">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F21 controls output 7</label>
      </variable>
      <variable item="F21 controls output 8" CV="55" mask="VXXXXXXX" minOut="8" minFn="21">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F21 controls output 8</label>
      </variable>
      <variable item="F22 controls output 1" CV="56" mask="XXXXXXXV" minOut="1" minFn="22">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F22 controls output 1</label>
      </variable>
      <variable item="F22 controls output 2" CV="56" mask="XXXXXXVX" minOut="2" minFn="22">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F22 controls output 2</label>
      </variable>
      <variable item="F22 controls output 3" CV="56" mask="XXXXXVXX" minOut="3" minFn="22">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F22 controls output 3</label>
      </variable>
      <variable item="F22 controls output 4" CV="56" mask="XXXXVXXX" minOut="4" minFn="22">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F22 controls output 4</label>
      </variable>
      <variable item="F22 controls output 5" CV="56" mask="XXXVXXXX" minOut="5" minFn="22">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F22 controls output 5</label>
      </variable>
      <variable item="F22 controls output 6" CV="56" mask="XXVXXXXX" minOut="6" minFn="22">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F22 controls output 6</label>
      </variable>
      <variable item="F22 controls output 7" CV="56" mask="XVXXXXXX" minOut="7" minFn="22">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F22 controls output 7</label>
      </variable>
      <variable item="F22 controls output 8" CV="56" mask="VXXXXXXX" minOut="8" minFn="22">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F22 controls output 8</label>
      </variable>
      <variable item="F23 controls output 1" CV="57" mask="XXXXXXXV" minOut="1" minFn="23">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F23 controls output 1</label>
      </variable>
      <variable item="F23 controls output 2" CV="57" mask="XXXXXXVX" minOut="2" minFn="23">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F23 controls output 2</label>
      </variable>
      <variable item="F23 controls output 3" CV="57" mask="XXXXXVXX" minOut="3" minFn="23">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F23 controls output 3</label>
      </variable>
      <variable item="F23 controls output 4" CV="57" mask="XXXXVXXX" minOut="4" minFn="23">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F23 controls output 4</label>
      </variable>
      <variable item="F23 controls output 5" CV="57" mask="XXXVXXXX" minOut="5" minFn="23">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F23 controls output 5</label>
      </variable>
      <variable item="F23 controls output 6" CV="57" mask="XXVXXXXX" minOut="6" minFn="23">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F23 controls output 6</label>
      </variable>
      <variable item="F23 controls output 7" CV="57" mask="XVXXXXXX" minOut="7" minFn="23">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F23 controls output 7</label>
      </variable>
      <variable item="F23 controls output 8" CV="57" mask="VXXXXXXX" minOut="8" minFn="23">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F23 controls output 8</label>
      </variable>
      <variable item="F24 controls output 1" CV="58" mask="XXXXXXXV" minOut="1" minFn="24">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F24 controls output 1</label>
      </variable>
      <variable item="F24 controls output 2" CV="58" mask="XXXXXXVX" minOut="2" minFn="24">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F24 controls output 2</label>
      </variable>
      <variable item="F24 controls output 3" CV="58" mask="XXXXXVXX" minOut="3" minFn="24">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F24 controls output 3</label>
      </variable>
      <variable item="F24 controls output 4" CV="58" mask="XXXXVXXX" minOut="4" minFn="24">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F24 controls output 4</label>
      </variable>
      <variable item="F24 controls output 5" CV="58" mask="XXXVXXXX" minOut="5" minFn="24">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F24 controls output 5</label>
      </variable>
      <variable item="F24 controls output 6" CV="58" mask="XXVXXXXX" minOut="6" minFn="24">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F24 controls output 6</label>
      </variable>
      <variable item="F24 controls output 7" CV="58" mask="XVXXXXXX" minOut="7" minFn="24">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F24 controls output 7</label>
      </variable>
      <variable item="F24 controls output 8" CV="58" mask="VXXXXXXX" minOut="8" minFn="24">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F24 controls output 8</label>
      </variable>
      <variable item="F25 controls output 1" CV="59" mask="XXXXXXXV" minOut="1" minFn="25">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F25 controls output 1</label>
      </variable>
      <variable item="F25 controls output 2" CV="59" mask="XXXXXXVX" minOut="2" minFn="25">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F25 controls output 2</label>
      </variable>
      <variable item="F25 controls output 3" CV="59" mask="XXXXXVXX" minOut="3" minFn="25">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F25 controls output 3</label>
      </variable>
      <variable item="F25 controls output 4" CV="59" mask="XXXXVXXX" minOut="4" minFn="25">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F25 controls output 4</label>
      </variable>
      <variable item="F25 controls output 5" CV="59" mask="XXXVXXXX" minOut="5" minFn="25">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F25 controls output 5</label>
      </variable>
      <variable item="F25 controls output 6" CV="59" mask="XXVXXXXX" minOut="6" minFn="25">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F25 controls output 6</label>
      </variable>
      <variable item="F25 controls output 7" CV="59" mask="XVXXXXXX" minOut="7" minFn="25">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F25 controls output 7</label>
      </variable>
      <variable item="F25 controls output 8" CV="59" mask="VXXXXXXX" minOut="8" minFn="25">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F25 controls output 8</label>
      </variable>
      <variable item="F26 controls output 1" CV="60" mask="XXXXXXXV" minOut="1" minFn="26">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F26 controls output 1</label>
      </variable>
      <variable item="F26 controls output 2" CV="60" mask="XXXXXXVX" minOut="2" minFn="26">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F26 controls output 2</label>
      </variable>
      <variable item="F26 controls output 3" CV="60" mask="XXXXXVXX" minOut="3" minFn="26">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F26 controls output 3</label>
      </variable>
      <variable item="F26 controls output 4" CV="60" mask="XXXXVXXX" minOut="4" minFn="26">
       <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F26 controls output 4</label>
      </variable>
      <variable item="F26 controls output 5" CV="60" mask="XXXVXXXX" minOut="5" minFn="26">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F26 controls output 5</label>
      </variable>
      <variable item="F26 controls output 6" CV="60" mask="XXVXXXXX" minOut="6" minFn="26">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F26 controls output 6</label>
      </variable>
      <variable item="F26 controls output 7" CV="60" mask="XVXXXXXX" minOut="7" minFn="26">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F26 controls output 7</label>
      </variable>
      <variable item="F26 controls output 8" CV="60" mask="VXXXXXXX" minOut="8" minFn="26">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F26 controls output 8</label>
      </variable>
      <variable item="F27 controls output 1" CV="61" mask="XXXXXXXV" minOut="1" minFn="27">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F27 controls output 1</label>
      </variable>
      <variable item="F27 controls output 2" CV="61" mask="XXXXXXVX" minOut="2" minFn="27">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F27 controls output 2</label>
      </variable>
      <variable item="F27 controls output 3" CV="61" mask="XXXXXVXX" minOut="3" minFn="27">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F27 controls output 3</label>
      </variable>
      <variable item="F27 controls output 4" CV="61" mask="XXXXVXXX" minOut="4" minFn="27">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F27 controls output 4</label>
      </variable>
      <variable item="F27 controls output 5" CV="61" mask="XXXVXXXX" minOut="5" minFn="27">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F27 controls output 5</label>
      </variable>
      <variable item="F27 controls output 6" CV="61" mask="XXVXXXXX" minOut="6" minFn="27">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F27 controls output 6</label>
      </variable>
      <variable item="F27 controls output 7" CV="61" mask="XVXXXXXX" minOut="7" minFn="27">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F27 controls output 7</label>
      </variable>
      <variable item="F27 controls output 8" CV="61" mask="VXXXXXXX" minOut="8" minFn="27">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F27 controls output 8</label>
      </variable>
      <variable item="F28 controls output 1" CV="62" mask="XXXXXXXV" minOut="1" minFn="28">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F28 controls output 1</label>
      </variable>
      <variable item="F28 controls output 2" CV="62" mask="XXXXXXVX" minOut="2" minFn="28">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F28 controls output 2</label>
      </variable>
      <variable item="F28 controls output 3" CV="62" mask="XXXXXVXX" minOut="3" minFn="28">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F28 controls output 3</label>
      </variable>
      <variable item="F28 controls output 4" CV="62" mask="XXXXVXXX" minOut="4" minFn="28">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F28 controls output 4</label>
      </variable>
      <variable item="F28 controls output 5" CV="62" mask="XXXVXXXX" minOut="5" minFn="28">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F28 controls output 5</label>
      </variable>
      <variable item="F28 controls output 6" CV="62" mask="XXVXXXXX" minOut="6" minFn="28">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F28 controls output 6</label>
      </variable>
      <variable item="F28 controls output 7" CV="62" mask="XVXXXXXX" minOut="7" minFn="28">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F28 controls output 7</label>
      </variable>
      <variable item="F28 controls output 8" CV="62" mask="VXXXXXXX" minOut="8" minFn="28">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F28 controls output 8</label>
      </variable>
      <!-- Definitions for Dimming  -->
      <variable item="AUX 1 Dim" CV="5" default="63" tooltip="CV5">
        <decVal min="1" max="63"/>
        <label>AUX 1 Dim</label>
      </variable>
      <variable item="AUX 2 Dim" CV="6" default="63" tooltip="CV6">
        <decVal min="1" max="63"/>
        <label>AUX 2 Dim</label>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset All CVs" CV="8" default="8">
         <label xml:lang="it">Reset delle CV ai valori di fabbrica</label>
      </factReset>
    </resets>
  </decoder>
  <!-- Dimming control    -->
  <pane>
    <column>
      <label>
        <text> </text>
      </label>
      <label>
        <text> </text>
      </label>
      <row>
        <column>
          <row>
            <column>
              <row>
                <display item="AUX 1 Dim"/>
                <label>
                  <text> </text>
                </label>
                <display item="AUX 1 Dim" label="" format="hslider"/>
              </row>
            </column>
          </row>
        </column>
      </row>
      <label>
        <text> </text>
      </label>
      <label>
        <text> </text>
      </label>
      <separator/>
      <label>
        <text> </text>
      </label>
      <label>
        <text> </text>
      </label>
      <row>
        <column>
          <row>
            <column>
              <row>
                <display item="AUX 2 Dim"/>
                <label>
                  <text> </text>
                </label>
                <display item="AUX 2 Dim" label="" format="hslider"/>
              </row>
            </column>
          </row>
        </column>
      </row>
      <label>
        <text> </text>
      </label>
    </column>
    <name>AUX</name>
  </pane>
</decoder-config>
