<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2006 All rights reserved -->
<!-- $Id: TAMS_LD-G-32.xml 17977 2011-07-18 17:23:46Z zoo $ -->
<!--                                                                        -->
<!-- JMRI is free software; you can redistribute it and/or modify it under  -->
<!-- the terms of version 2 of the GNU General Public License as published  -->
<!-- by the Free Software Foundation. See the "COPYING" file for a copy     -->
<!-- of this license.                                                       -->
<!--                                                                        -->
<!-- JMRI is distributed in the hope that it will be useful, but WITHOUT    -->
<!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or  -->
<!-- FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License  -->
<!-- for more details.                                                      -->
<decoder-config xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder.xsd">
  <version author="Michael@Povel-Walsrode.de" version="0.2" lastUpdated="20100109"/>
<!-- 0.2 2010/01/09 MCP Added item entries for all variables -->
<!-- 0.1 2010/01/08 MCP Copied from LD-G-21 -->
  <decoder>
    <family name="Multiprotocol Decoder" mfg="Tams Elektronik GmbH" lowVersionID="10" highVersionID="10">
      <model model="LD-G-32" numOuts="5" numFns="10">
        <output name="1" label="X1"/>
        <output name="2" label="X2"/>
        <output name="3" label="Acceleration Delay"/>
        <output name="4" label="Shunting gear"/>
        <output name="5" label="Shunting light"/>
      </model>
    </family>
    <programming direct="yes" paged="no" register="yes" ops="no"/>
    <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="Start Voltage" CV="2" comment="Sets the output voltage to the motor at speed level 1" item="Vstart" default="5">
        <decVal max="255"/>
        <label>Start Voltage</label>
        <comment>Sets the output voltage to the motor at speed level 1</comment>
      </variable>
      <variable label="Acceleration Rate" CV="3" comment="Sets the acceleration rate (delay)" item="Accel" default="25">
        <decVal max="255"/>
        <label>Acceleration Rate</label>
        <comment>Sets the acceleration rate (delay)</comment>
      </variable>
      <variable label="Braking Rate" CV="4" comment="Sets the deceleration rate (delay)" item="Decel" default="16">
        <decVal max="255"/>
        <label>Braking Rate</label>
        <comment>Sets the deceleration rate (delay)</comment>
      </variable>
      <variable label="Top Voltage" CV="5" comment="Sets the motor voltage at top Speed Step" item="Vhigh" default="0">
        <decVal max="255"/>
        <label>Top Voltage</label>
        <comment>Sets the motor voltage at top Speed Step</comment>
      </variable>
      <variable label="Manufacturer Version No: " CV="7" readOnly="yes" item="Decoder Version">
        <decVal/>
        <label>Manufacturer Version No: </label>
      </variable>
      <variable label="Manufacturer ID: " CV="8" readOnly="yes" item="Manufacturer">
        <decVal/>
        <label>Manufacturer ID: </label>
      </variable>
      <variable label="Analog Power Conversion" CV="12" mask="XXXXXXXV">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Power Conversion</label>
      </variable>
      <variable label="Analog Mode Function Status - F1" CV="13" mask="XXXXXXXV">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F1</label>
      </variable>
      <variable label="Analog Mode Function Status - F2" CV="13" mask="XXXXXXVX">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F2</label>
      </variable>
      <variable label="Analog Mode Function Status - F3" CV="13" mask="XXXXXVXX">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F3</label>
      </variable>
      <variable label="Analog Mode Function Status - F4" CV="13" mask="XXXXVXXX">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F4</label>
      </variable>
      <variable label="Analog Mode Function Status - F5" CV="13" mask="XXXVXXXX">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F5</label>
      </variable>
      <variable label="Analog Mode Function Status - F6" CV="13" mask="XXVXXXXX">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F6</label>
      </variable>
      <variable label="Analog Mode Function Status - F7" CV="13" mask="XVXXXXXX">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F7</label>
      </variable>
      <variable label="Analog Mode Function Status - F8" CV="13" mask="VXXXXXXX">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F8</label>
      </variable>
      <variable label="Extended Address" CV="17" item="Long Address">
        <longAddressVal/>
        <label>Extended Address</label>
      </variable>
      <variable label="Consist Address" CV="19" mask="XVVVVVVV" item="Consist Address">
        <decVal/>
        <label>Consist Address</label>
      </variable>
      <variable label="Marklin Brake mode" CV="27" mask="XXVVXXXX" default="1" item="EMF Option 1" tooltip="Brake on DC detect CV27 Bits 4,5">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On positive DC">
            <choice>On positive DC</choice>
          </enumChoice>
          <enumChoice choice="On negative DC">
            <choice>On negative DC</choice>
          </enumChoice>
          <enumChoice choice="On any DC">
            <choice>On any DC</choice>
          </enumChoice>
        </enumVal>
        <label>Marklin Brake mode</label>
      </variable>
      <variable label="Locomotive Direction" CV="29" mask="XXXXXXXV">
        <enumVal>
          <enumChoice choice="normal">
            <choice>normal</choice>
          </enumChoice>
          <enumChoice choice="reversed">
            <choice>reversed</choice>
          </enumChoice>
        </enumVal>
        <label>Locomotive Direction</label>
      </variable>
      <variable label="FL Location" CV="29" mask="XXXXXXVX" item="Speed Step Mode">
        <enumVal>
          <enumChoice choice="14 speed step format">
            <choice>14 speed step format</choice>
          </enumChoice>
          <enumChoice choice="28 speed step format">
            <choice>28 speed step format</choice>
          </enumChoice>
        </enumVal>
        <label>FL Location</label>
      </variable>
      <variable label="Power Source Conversion" CV="29" mask="XXXXXVXX" item="Analog (DC) Operation" default="1">
        <enumVal>
          <enumChoice choice="NMRA Digital only">
            <choice>NMRA Digital only</choice>
          </enumChoice>
          <enumChoice choice="DC conversion enabled">
            <choice>DC conversion enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Power Source Conversion</label>
      </variable>
      <variable label="Enable RailCom" CV="29" mask="XXXXVXXX" default="0" item="EMF Option 2">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>Enable RailCom</label>
      </variable>
      <variable label="Use Speed Table" CV="29" mask="XXVXXXXX" item="Speed Table Definition">
        <enumVal>
          <enumChoice choice="Don't use Speed Table">
            <choice>Don't use Speed Table</choice>
          </enumChoice>
          <enumChoice choice="Use Speed Table">
            <choice>Use Speed Table</choice>
          </enumChoice>
        </enumVal>
        <label>Use Speed Table</label>
      </variable>
      <variable label="Address Format" CV="29" mask="XXVXXXXX">
        <enumVal>
          <enumChoice choice="One byte (short) address">
            <choice>One byte (short) address</choice>
          </enumChoice>
          <enumChoice choice="Two byte (extended) address">
            <choice>Two byte (extended) address</choice>
          </enumChoice>
        </enumVal>
        <label>Address Format</label>
      </variable>
      <variable label="FL(f) controls X2" CV="33" mask="XXXXXXVX" item="FL(f) controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls X2</label>
      </variable>
      <variable label="FL(r) controls X2" CV="34" mask="XXXXXXVX" item="FL(r) controls output 2" minOut="2" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls X2</label>
      </variable>
      <variable label="F1 controls X2" CV="35" mask="XXXXXXVX" item="F1 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls X2</label>
      </variable>
      <variable label="F2 controls X2" CV="36" mask="XXXXXXVX" item="F2 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls X2</label>
      </variable>
      <variable label="F3 controls X2" CV="37" mask="XXXXXXVX" item="F3 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls X2</label>
      </variable>
      <variable label="F4 controls X2" CV="38" mask="XXXXXXVX" item="F4 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls X2</label>
      </variable>
      <variable label="F5 controls X2" CV="39" mask="XXXXXXVX" item="F5 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls X2</label>
      </variable>
      <variable label="F6 controls X2" CV="40" mask="XXXXXXVX" item="F6 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls X2</label>
      </variable>
      <variable label="F7 controls X2" CV="41" mask="XXXXXXVX" item="F7 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F7 controls X2</label>
      </variable>
      <variable label="F8 controls X2" CV="42" mask="XXXXXXVX" item="F8 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F8 controls X2</label>
      </variable>
      <variable label="F9 controls X2" CV="43" mask="XXXXXXVX" item="F9 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F9 controls X2</label>
      </variable>
      <variable label="F10 controls X2" CV="44" mask="XXXXXXVX" item="F10 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F10 controls X2</label>
      </variable>
      <variable label="F11 controls X2" CV="45" mask="XXXXXXVX" item="F11 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F11 controls X2</label>
      </variable>
      <variable label="FL(f) controls X1" CV="33" mask="XXXXXXXV" item="FL(f) controls output 1" minOut="1" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls X1</label>
      </variable>
      <variable label="FL(r) controls X1" CV="34" mask="XXXXXXXV" item="FL(r) controls output 1" minOut="2" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls X1</label>
      </variable>
      <variable label="F1 controls X1" CV="35" mask="XXXXXXXV" item="F1 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls X1</label>
      </variable>
      <variable label="F2 controls X1" CV="36" mask="XXXXXXXV" item="F2 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls X1</label>
      </variable>
      <variable label="F3 controls X1" CV="37" mask="XXXXXXXV" item="F3 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls X1</label>
      </variable>
      <variable label="F4 controls X1" CV="38" mask="XXXXXXXV" item="F4 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls X1</label>
      </variable>
      <variable label="F5 controls X1" CV="39" mask="XXXXXXXV" item="F5 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls X1</label>
      </variable>
      <variable label="F6 controls X1" CV="40" mask="XXXXXXXV" item="F6 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls X1</label>
      </variable>
      <variable label="F7 controls X1" CV="41" mask="XXXXXXXV" item="F7 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F7 controls X1</label>
      </variable>
      <variable label="F8 controls X1" CV="42" mask="XXXXXXXV" item="F8 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F8 controls X1</label>
      </variable>
      <variable label="F9 controls X1" CV="43" mask="XXXXXXXV" item="F9 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F9 controls X1</label>
      </variable>
      <variable label="F10 controls X1" CV="44" mask="XXXXXXXV" item="F10 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F10 controls X1</label>
      </variable>
      <variable label="F11 controls X1" CV="45" mask="XXXXXXXV" item="F11 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F11 controls X1</label>
      </variable>
      <variable label="F12 controls X1" CV="46" mask="XXXXXXXV" item="F12 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F12 controls X1</label>
      </variable>
      <variable label="F12 controls X2" CV="46" mask="XXXXXXVX" item="F12 controls output 2" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F12 controls X2</label>
      </variable>
      <variable label="Main Motor Control" CV="49" mask="XXXXXXXV" item="EMF Enable">
        <enumVal>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
        </enumVal>
        <label>Main Motor Control</label>
      </variable>
      <variable label="Shunting gear mode F1" CV="49" mask="XXXXXXVX" tooltip="CV49 Bit 1" item="F1 controls output 4">
        <enumVal>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
        </enumVal>
        <label>Shunting gear mode F1</label>
      </variable>
      <variable label="Shunting gear mode F2" CV="49" mask="XXXXXVXX" tooltip="CV49 Bit 2" item="F2 controls output 4">
        <enumVal>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
        </enumVal>
        <label>Shunting gear mode F2</label>
      </variable>
      <variable label="Shunting gear mode F3" CV="49" mask="XXXXVXXX" tooltip="CV49 Bit 3" item="F3 controls output 4">
        <enumVal>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
        </enumVal>
        <label>Shunting gear mode F3</label>
      </variable>
      <variable label="Shunting gear mode F4" CV="49" mask="XXXVXXXX" tooltip="CV49 Bit 4" item="F4 controls output 4">
        <enumVal>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
        </enumVal>
        <label>Shunting gear mode F4</label>
      </variable>
      <variable label="Enable Acceleration delay on F3" CV="49" mask="XXVXXXXX" tooltip="CV49 Bit 5" item="F4 controls output 3">
        <enumVal>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
        </enumVal>
        <label>Enable Acceleration delay on F3</label>
      </variable>
      <variable label="Enable Acceleration delay on F4" CV="49" mask="XVXXXXXX" tooltip="CV49 Bit 6" item="F4 controls output 3">
        <enumVal>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
        </enumVal>
        <label>Enable Acceleration delay on F4</label>
      </variable>
      <variable label="BEMF Kp" CV="50" default="40" item="EMF Static Config">
        <decVal max="255"/>
        <label>BEMF Kp</label>
      </variable>
      <variable label="BEMF Ki" CV="51" default="20" item="EMF Dynamic Config">
        <decVal max="255"/>
        <label>BEMF Ki</label>
      </variable>
      <variable label="BEMF Kd" CV="52" default="50" item="EMF Droop Config">
        <decVal max="255"/>
        <label>BEMF Kd</label>
      </variable>
      <variable label="X1 output mode" item="Output 1 behavior" CV="53" mask="XXXXXXVV" default="1" tooltip="CV53 Bits 0-1">
        <enumVal>
          <enumChoice choice="always on" value="0">
            <choice>always on</choice>
          </enumChoice>
          <enumChoice choice="backward inactive" value="1">
            <choice>backward inactive</choice>
          </enumChoice>
          <enumChoice choice="forward inactive" value="2">
            <choice>forward inactive</choice>
          </enumChoice>
          <enumChoice choice="always off" value="3">
            <choice>always off</choice>
          </enumChoice>
        </enumVal>
        <label>X1 output mode</label>
      </variable>
      <variable label="X1 output blinking" item="Output 1 effect generated" CV="53" mask="VVVVVXXX" default="0" tooltip="CV53 Bits 3-7">
        <enumVal>
          <enumChoice choice="NONE" value="0">
            <choice>NONE</choice>
          </enumChoice>
          <enumChoice choice="1" value="1">
            <choice>1</choice>
          </enumChoice>
<!-- Fix Me -->
          <enumChoice choice="Always ON" value="30">
            <choice>Always ON</choice>
          </enumChoice>
        </enumVal>
        <label>X1 output blinking</label>
      </variable>
      <variable label="X2 output mode" item="Output 2 behavior" CV="54" mask="XXXXXXVV" default="1" tooltip="CV54 Bits 0-1">
        <enumVal>
          <enumChoice choice="always on" value="0">
            <choice>always on</choice>
          </enumChoice>
          <enumChoice choice="backward inactive" value="1">
            <choice>backward inactive</choice>
          </enumChoice>
          <enumChoice choice="forward inactive" value="2">
            <choice>forward inactive</choice>
          </enumChoice>
          <enumChoice choice="always off" value="3">
            <choice>always off</choice>
          </enumChoice>
        </enumVal>
        <label>X2 output mode</label>
      </variable>
      <variable label="X2 output blinking" item="Output 2 effect generated" CV="54" mask="VVVVVXXX" default="0" tooltip="CV54 Bits 3-7">
        <enumVal>
          <enumChoice choice="NONE" value="0">
            <choice>NONE</choice>
          </enumChoice>
          <enumChoice choice="1" value="1">
            <choice>1</choice>
          </enumChoice>
<!-- Fix Me -->
          <enumChoice choice="Always ON" value="30">
            <choice>Always ON</choice>
          </enumChoice>
        </enumVal>
        <label>X2 output blinking</label>
      </variable>
      <variable label="Dimming Intensity, Output X1 (0-15)" CV="62" mask="XXXXVVVV" item="Global lighting option 1" default="15" tooltip="Sets intensity of dimmed headlight (larger number = brighter light)">
        <decVal min="0" max="15"/>
        <label>Dimming Intensity, Output X1 (0-15)</label>
      </variable>
      <variable label="Dimming Intensity, Output X2 (0-15)" CV="62" mask="VVVVXXXX" item="Global lighting option 2" default="15" tooltip="Sets intensity of dimmed light (larger number = brighter light)">
        <decVal min="0" max="15"/>
        <label>Dimming Intensity, Output X2 (0-15)</label>
      </variable>
      <variable label="Kick Start" CV="65">
        <decVal/>
        <label>Kick Start</label>
      </variable>
      <variable label="Speed Table" CV="67">
        <speedTableVal>
          <speedTableEntry step="1" value="0"/>
          <speedTableEntry step="2" value="6"/>
          <speedTableEntry step="3" value="12"/>
          <speedTableEntry step="4" value="18"/>
          <speedTableEntry step="5" value="24"/>
          <speedTableEntry step="6" value="30"/>
          <speedTableEntry step="7" value="36"/>
          <speedTableEntry step="8" value="42"/>
          <speedTableEntry step="9" value="48"/>
          <speedTableEntry step="10" value="54"/>
          <speedTableEntry step="11" value="60"/>
          <speedTableEntry step="12" value="66"/>
          <speedTableEntry step="13" value="72"/>
          <speedTableEntry step="14" value="78"/>
          <speedTableEntry step="15" value="84"/>
          <speedTableEntry step="16" value="90"/>
          <speedTableEntry step="17" value="96"/>
          <speedTableEntry step="18" value="102"/>
          <speedTableEntry step="19" value="108"/>
          <speedTableEntry step="20" value="114"/>
          <speedTableEntry step="21" value="120"/>
          <speedTableEntry step="22" value="126"/>
          <speedTableEntry step="23" value="132"/>
          <speedTableEntry step="24" value="138"/>
          <speedTableEntry step="25" value="144"/>
          <speedTableEntry step="26" value="150"/>
          <speedTableEntry step="27" value="156"/>
          <speedTableEntry step="28" value="162"/>
        </speedTableVal>
        <label>Speed Table</label>
      </variable>
      <variable label="Blinking frequency" CV="112" default="200" item="Global lighting option 1" tooltip="Frequency of Strobe effects. 10 -&gt; 2 Hz, 48 -&gt; 0.7 Hz, 100 -&gt; 0.25 Hz">
        <decVal min="10" max="255"/>
        <label>Blinking frequency</label>
      </variable>
      <variable label="Start Diming at speed" CV="113" default="16" mask="XVVVVVVV" item="Global lighting option 5">
        <decVal min="1" max="126"/>
        <label>Start Diming at speed</label>
      </variable>
      <variable label="X1 output is shunting light" item="Output 1 options" CV="115" mask="XXXXXXXV" default="0" tooltip="CV115 Bit 0">
        <enumVal>
          <enumChoice choice="OFF" value="0">
            <choice>OFF</choice>
          </enumChoice>
          <enumChoice choice="ON" value="1">
            <choice>ON</choice>
          </enumChoice>
        </enumVal>
        <label>X1 output is shunting light</label>
      </variable>
      <variable label="X2 output is shunting light" item="Output 2 options" CV="115" mask="XXXXXXVX" default="0" tooltip="CV115 Bit 1">
        <enumVal>
          <enumChoice choice="OFF" value="0">
            <choice>OFF</choice>
          </enumChoice>
          <enumChoice choice="ON" value="1">
            <choice>ON</choice>
          </enumChoice>
        </enumVal>
        <label>X2 output is shunting light</label>
      </variable>
      <variable label="Shunting light with F3" CV="115" mask="XVXXXXXX" item="F3 controls output 5">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>Shunting light with F3</label>
      </variable>
      <variable label="Shunting light with F4" CV="115" mask="VXXXXXXX" item="F4 controls output 5">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>Shunting light with F4</label>
      </variable>
      <variable label="MM secondary Address" CV="115" comment="Secondary address for MM to access F5-F9" default="0" item="EMF Control Reference">
        <decVal min="0" max="255"/>
        <label>MM secondary Address</label>
        <comment>Secondary address for MM to access F5-F9</comment>
      </variable>
      <variable label="Speed related Diming enabled for X1" CV="116" mask="XXXXXXXV" item="Output 7 behavior">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>Speed related Diming enabled for X1</label>
      </variable>
      <variable label="Speed related Diming enabled for X2" CV="116" mask="XXXXXXVX" item="Output 8 behavior">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>Speed related Diming enabled for X2</label>
      </variable>
      <variable label="alternative Dimming Intensity, Output X1 (0-15)" CV="118" mask="XXXXVVVV" default="15" item="Global lighting option 3" tooltip="Sets intensity of dimmed headlight (larger number = brighter light) Used when CV 116 and CV113">
        <decVal min="0" max="15"/>
        <label>alternative Dimming Intensity, Output X1 (0-15)</label>
      </variable>
      <variable label="alternative Dimming Intensity, Output X2 (0-15)" CV="118" mask="VVVVXXXX" default="15" item="Global lighting option 4" tooltip="Sets intensity of dimmed headlight (larger number = brighter light) Used when CV 116 and CV113">
        <decVal min="0" max="15"/>
        <label>alternative Dimming Intensity, Output X2 (0-15)</label>
      </variable>
    </variables>
  </decoder>
</decoder-config>

