<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2003, 2004 All rights reserved -->
<!--                                                                        -->
<!-- JMRI is free software; you can redistribute it and/or modify it under  -->
<!-- the terms of version 2 of the GNU General Public License as published  -->
<!-- by the Free Software Foundation. See the "COPYING" file for a copy     -->
<!-- of this license.                                                       -->
<!--                                                                        -->
<!-- JMRI is distributed in the hope that it will be useful, but WITHOUT    -->
<!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or  -->
<!-- FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License  -->
<!-- for more details.                                                      -->
<decoder-config xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder.xsd">
  <version author="Alain Carasso" version="8" lastUpdated="20191007"/> <!-- CV3 and 4 range now 0 to 255 -->
  <version author="Bob Jacobsen" version="7" lastUpdated="20190727"/> <!-- xinclude for CV19 -->
  <version author="Michael Mosher mjmx@comcast.net" version="5" lastUpdated="20030815"/>
  <version author="Jack Shall lcrr@bellsouth.net" version="6" lastUpdated="20090116"/>
  <!-- version 2 - add consist direction - jake -->
  <!-- version 3 fix vstart bug -->
  <!-- version 4 made speed table selection more generic -->
  <!-- version 5 removed LE511 - it's not a BEMF decoder -->
  <!-- version 6: fix reset bug, add tooltips, modify format and labels, -->
  <!--    fixed CV17 label/item names, add RailCom enabling, -->
  <!--    change lowVersionID to 51, move Lighting options to Lights pane -->
  <!-- These are the version 5.1 thru 5.4 decoders, with "12 bit BEMF" or "5th gen BEMF " -->
  <!-- and "XF & special" -->
   <!-- version 8: update decimal range for CV 3 and 4 -->
  <decoder>
    <family name="Lenz 5th gen BEMF decoders" mfg="Lenz" lowVersionID="51" highVersionID="54">
      <model model="LE010XF" numOuts="2" nmraWarrant="yes" nmraWarrantStart="200506">
        <output name="1" label="A - White"/>
        <output name="2" label="B - Yellow"/>
      </model>
      <model model="LE011XF" numOuts="2">
        <output name="1" label="A - White"/>
        <output name="2" label="B - Yellow"/>
      </model>
      <model model="LE130XF" numOuts="4" nmraWarrant="yes" nmraWarrantStart="200506">
        <output name="1" label="A - White"/>
        <output name="2" label="B - Yellow"/>
        <output name="3" label="C - Green"/>
        <output name="4" label="D - Violet"/>
      </model>
      <model model="LE0521W" numOuts="2" nmraWarrant="yes" nmraWarrantStart="200506">
        <output name="1" label="A - White"/>
        <output name="2" label="B - Yellow"/>
        <size length="0.51" width="0.36" height="0.14" units="inches"/>
      </model>
      <model model="LE0521D" numOuts="2" nmraWarrant="yes" nmraWarrantStart="200506">
        <output name="1" label="A - White"/>
        <output name="2" label="B - Yellow"/>
        <size length="0.51" width="0.36" height="0.14" units="inches"/>
      </model>
      <model model="LE1024" numOuts="4" nmraWarrant="yes" nmraWarrantStart="200506">
        <output name="1" label="A - White"/>
        <output name="2" label="B - Yellow"/>
        <output name="3" label="C - Green"/>
        <output name="4" label="D - Violet"/>
      </model>
      <model model="LE1025C" numOuts="4">
        <output name="1" label="A - White"/>
        <output name="2" label="B - Yellow"/>
        <output name="3" label="C - Green"/>
        <output name="4" label="D - Violet"/>
      </model>
      <model model="LE4024" numOuts="4" nmraWarrant="yes" nmraWarrantStart="200506">
        <output name="1" label="A - White"/>
        <output name="2" label="B - Yellow"/>
        <output name="3" label="C - Green"/>
        <output name="4" label="D - Violet"/>
      </model>
    </family>
    <programming direct="byteOnly" paged="yes" register="yes" ops="yes"/>
    <variables>
      <xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
      <variable CV="2" item="Vstart" default="0" tooltip="Sets the starting voltage at throttle speed step 1.  Note: some decoders only accept a max value of 15">
        <decVal max="31"/>
        <label>Start Voltage (0-31)</label>
        <label xml:lang="it">Volt Partenza (0-31)</label>
        <label xml:lang="fr">V démarr.v (0-31)</label>
        <label xml:lang="de">Startspannung (0-31)</label>
        <tooltip xml:lang="de">Sets the starting voltage at throttle speed step 1.  Note: some decoders only accept a max value of 15</tooltip>
      </variable>
      <variable CV="3" item="Accel" default="1" tooltip="Sets the acceleration rate (delay)">
        <decVal min="0" max="255"/>
        <label>Acceleration Momentum (0-255)</label>
        <label xml:lang="it">Accellerazione (0-255)</label>
        <label xml:lang="fr">Accelération (0-255)</label>
        <label xml:lang="de">Anfahrverzögerung (0-255)</label>
        <tooltip xml:lang="de">Sets the acceleration rate (delay)</tooltip>
      </variable>
      <variable CV="4" item="Decel" default="1" tooltip="Sets the deceleration rate (delay)">
        <decVal min="0" max="255"/>
        <label>Deceleration (Brake) Momentum (0-255)</label>
        <label xml:lang="it">Inerzia decellerazione (frenata)  (0-255)</label>
        <label xml:lang="de">Decel</label>
        <tooltip xml:lang="de">Sets the deceleration rate (delay)</tooltip>
      </variable>
      <variable CV="5" item="Vhigh" default="10" tooltip="Sets the maximum voltage at full throttle (only active if Back EMF enabled)">
        <decVal min="1" max="10"/>
        <label>Maximum Speed (1-10)</label>
        <label xml:lang="it">Velocità massima (1-10)</label>
        <label xml:lang="de">Vhigh</label>
        <tooltip xml:lang="de">Sets the maximum voltage at full throttle (only active if Back EMF enabled)</tooltip>
      </variable>
      <variable CV="7" item="Decoder Version" readOnly="yes">
        <decVal/>
        <label>Decoder Version No.</label>
       <label xml:lang="it">Versione Decoder: </label>
        <label xml:lang="fr">Version décodeur: </label>
        <label xml:lang="de">Decoder Version: </label>
      </variable>
      <variable CV="8" readOnly="yes" item="Manufacturer" default="99">
        <decVal/>
        <label>Manufacturers Identification No.</label>
        <label xml:lang="it">ID Costruttore: </label>
        <label xml:lang="fr">ID constructeur: </label>
        <label xml:lang="de">Hersteller ID: </label>
      </variable>
      <variable CV="9" item="Motor PWM Frequency" default="10" tooltip="Adjust EMF pulse rate frequency for finer motor control">
        <decVal max="15"/>
        <label>EMF Frequency (0-15)</label>
        <label xml:lang="it">Frequenza EMF (0-15)</label>
        <label xml:lang="de">Motor PWM Frequency</label>
        <tooltip xml:lang="de">Adjust EMF pulse rate frequency for finer motor control</tooltip>
      </variable>

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

      <!-- CV=29 -->
     <xi:include href="http://jmri.org/xml/decoders/nmra/cv29direction.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29speedSteps.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29analog.xml"/>
      <variable item="Lenz RailCom (not used on all decoders)" CV="29" mask="XXXXVXXX" default="0" tooltip="Enables RailCom when used with Lenz systems">
        <enumVal>
          <enumChoice choice="RailCom disabled">
            <choice>RailCom disabled</choice>
            <choice xml:lang="it">RailCom disabilitata</choice>
            <choice xml:lang="de">RailCom disabled</choice>
          </enumChoice>
          <enumChoice choice="RailCom enabled">
            <choice>RailCom enabled</choice>
            <choice xml:lang="it">RailCom Abilitata</choice>
            <choice xml:lang="de">RailCom enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Lenz RailCom (not used on all decoders)</label>
        <label xml:lang="it">RailCom Lenz (non per tutti i decoder)</label>
        <label xml:lang="de">Lenz RailCom (not used on all decoders)</label>
        <tooltip xml:lang="de">Enables RailCom when used with Lenz systems</tooltip>
      </variable>
       <xi:include href="http://jmri.org/xml/decoders/nmra/cv29table1-28.xml"/>
      <variable CV="50" mask="XXXXXXXV" item="Load Control" default="1" tooltip="Activates the Back EMF function">
        <enumVal>
          <enumChoice choice="Inactive">
            <choice>Inactive</choice>
            <choice xml:lang="it">Inattivo</choice>
            <choice xml:lang="de">Inactive</choice>
          </enumChoice>
          <enumChoice choice="Active">
            <choice>Active</choice>
            <choice xml:lang="it">Attivo</choice>
            <choice xml:lang="de">Active</choice>
          </enumChoice>
        </enumVal>
        <label>Back EMF Control</label>
        <label xml:lang="it">Controllo BEMF</label>
        <label xml:lang="de">Load Control</label>
        <tooltip xml:lang="de">Activates the Back EMF function</tooltip>
      </variable>
      <variable CV="50" mask="XXXXXVXX" item="DC Brake Momentum" default="0" tooltip="Governs how loco responds in DC powered track block (Analog Conversion Mode must be OFF)" comment="Governs how loco acts in DC track block">
        <enumVal>
          <enumChoice choice="Loco continues under analog (DC) voltage control">
            <choice>Loco continues under analog (DC) voltage control</choice>
            <choice xml:lang="it">Loco continua sotto controllo tensione Analogica</choice>
            <choice xml:lang="de">Loco continues under analog (DC) voltage control</choice>
          </enumChoice>
          <enumChoice choice="Loco brakes to a stop using momentum set in CV4">
            <choice>Loco brakes to a stop using momentum set in CV4</choice>
            <choice xml:lang="it">Loco frena fino a fermarsi usando Inerzia impostata in CV4</choice>
            <choice xml:lang="de">Loco brakes to a stop using momentum set in CV4</choice>
          </enumChoice>
        </enumVal>
        <label>When loco enters DC track section: </label>
        <label xml:lang="it">Quando la Loco entra in un Blocco Analogico</label>
        <comment>Governs how loco acts in DC track block</comment>
        <label xml:lang="de">DC Brake Momentum</label>
        <comment xml:lang="de">Governs how loco acts in DC track block</comment>
        <tooltip xml:lang="de">Governs how loco responds in DC powered track block (Analog Conversion Mode must be OFF)</tooltip>
      </variable>
      <!-- CV=51 -->
     <xi:include href="http://jmri.org/xml/decoders/nmra/cv51_DirectionalHeadlights.xml"/>
      <variable CV="51" mask="XXXXXXVX" item="Function F0F behavior" default="0" tooltip="Determines how front headlight dims (when dimming is enabled)" comment="CV 52 controls amount">
        <enumVal>
          <enumChoice choice="Front headlight is always dimmed">
            <choice>Front headlight is always dimmed</choice>
            <choice xml:lang="it">Attenuazione Luci di testa sempre attiva</choice>
            <choice xml:lang="de">Front headlight is always dimmed</choice>
          </enumChoice>
          <enumChoice choice="F1 or F4 controls headlight dimming">
            <choice>F1 or F4 controls headlight dimming</choice>
            <choice xml:lang="it">F1 o F4 controllano Attenuazione Luci di testa</choice>
            <choice xml:lang="de">F1 or F4 controls headlight dimming</choice>
          </enumChoice>
        </enumVal>
        <label>Output A Dimming Control</label>
        <label xml:lang="it">Controllo Attenuazione Luci Uscita A</label>
        <comment>CV 52 controls amount</comment>
        <comment xml:lang="it">CV 52 controlla l'ammontare</comment>
        <label xml:lang="de">Function F0F behavior</label>
        <comment xml:lang="de">CV 52 controls amount</comment>
        <tooltip xml:lang="de">Determines how front headlight dims (when dimming is enabled)</tooltip>
        <tooltip xml:lang="de">Controllo attenuazione luci frontali (quando abilitato)</tooltip>
      </variable>
      <variable CV="51" mask="XXXXXVXX" item="Function F0F effect generated" default="0" tooltip="Enables front headlight dimming">
        <enumVal>
          <enumChoice choice="Front headlight never dim">
            <choice>Front headlight never dim</choice>
            <choice xml:lang="it">Attenuazione Luci di testa mai attiva</choice>
            <choice xml:lang="de">Front headlight never dim</choice>
          </enumChoice>
          <enumChoice choice="Front headlight can dim">
            <choice>Front headlight can dim</choice>
            <choice xml:lang="it">Attenuazione Luci di testa possibile</choice>
            <choice xml:lang="de">Front headlight can dim</choice>
          </enumChoice>
        </enumVal>
        <label>Front Headlight (Output A) Dimming</label>
        <label xml:lang="it">Attenuazione Luci di testa (Uscita A)</label>
        <label xml:lang="de">Function F0F effect generated</label>
        <tooltip xml:lang="de">Enables front headlight dimming</tooltip>
      </variable>
      <variable CV="51" mask="XXXVXXXX" item="Function F0F option 1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Output A is a Gyrolight</label>
        <label xml:lang="it">Uscita A = Gyrolight</label>
        <label xml:lang="de">Function F0F option 1</label>
      </variable>
      <variable CV="51" mask="XXVXXXXX" item="Function F0F option 2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Output A is a Mars light</label>
        <label xml:lang="it">Uscita A = Mars light</label>
        <label xml:lang="de">Function F0F option 2</label>
      </variable>
      <variable CV="51" mask="XVXXXXXX" item="Function F0F option 3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Output A is a single strobe</label>
        <label xml:lang="it">Uscita A = strobe singolo</label>
        <label xml:lang="de">Function F0F option 3</label>
      </variable>
      <variable CV="51" mask="VXXXXXXX" item="Function F0F option 4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Output A is a double strobe</label>
        <label xml:lang="it">Uscita A = Strobe doppio</label>
        <label xml:lang="de">Function F0F option 4</label>
      </variable>
      <variable CV="52" item="Function F0F options" default="64" tooltip="Sets intensity of dimmed headlight (larger number = brighter light)">
        <decVal/>
        <label>Output A Dimming Intensity (0-255)</label>
        <label xml:lang="it">Uscita A Intensità Attenuazione (0-255)</label>
        <label xml:lang="de">Function F0F options</label>
        <tooltip xml:lang="de">Sets intensity of dimmed headlight (larger number = brighter light)</tooltip>
      </variable>
      <variable CV="57" mask="XXXXXXVX" item="Function F0R behavior" default="0" tooltip="Determines how rear headlight dims (when dimming is enabled)" comment="CV 58 controls amount">
        <enumVal>
          <enumChoice choice="Rear headlight is always dimmed">
            <choice>Rear headlight is always dimmed</choice>
            <choice xml:lang="it">Uscita B (Luci di coda) Sempre Attenuate</choice>
            <choice xml:lang="de">Rear headlight is always dimmed</choice>
          </enumChoice>
          <enumChoice choice="F1 or F4 controls headlight dimming">
            <choice>F1 or F4 controls headlight dimming</choice>
            <choice xml:lang="it">F1 o F4 controllano Attenuazione Luci di coda</choice>
            <choice xml:lang="de">F1 or F4 controls headlight dimming</choice>
          </enumChoice>
        </enumVal>
        <label>Output B Dimming Control</label>
        <label xml:lang="it">Uscita B Controllo Attenuazione</label>
        <comment>CV 58 controls amount</comment>
        <comment xml:lang="it">CV 58 controlla l'ammontare</comment>
        <label xml:lang="de">Function F0R behavior</label>
        <comment xml:lang="de">CV 58 controls amount</comment>
        <tooltip xml:lang="de">Determines how rear headlight dims (when dimming is enabled)</tooltip>
      </variable>
      <variable CV="57" mask="XXXXXVXX" item="Function F0R effect generated" default="0" tooltip="Enables rear headlight dimming">
        <enumVal>
          <enumChoice choice="Rear headlight never dim">
            <choice>Rear headlight never dim</choice>
            <choice xml:lang="it">Luci di coda mai Attenuate</choice>
            <choice xml:lang="de">Rear headlight never dim</choice>
          </enumChoice>
          <enumChoice choice="Rear headlight can dim">
            <choice>Rear headlight can dim</choice>
            <choice xml:lang="it">Luci di coda possono essere Attenuate</choice>
            <choice xml:lang="de">Rear headlight can dim</choice>
          </enumChoice>
        </enumVal>
        <label>Rear Headlight (Output B) Dimming</label>
        <label xml:lang="it">Output B Attenuazione Luci di Coda</label>
        <label xml:lang="de">Function F0R effect generated</label>
        <tooltip xml:lang="de">Enables rear headlight dimming</tooltip>
      </variable>
      <variable CV="57" mask="XXXVXXXX" item="Function F0R option 1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Output B is a Gyrolight</label>
        <label xml:lang="it">Output B = GyroLight</label>
        <label xml:lang="de">Function F0R option 1</label>
      </variable>
      <variable CV="57" mask="XXVXXXXX" item="Function F0R option 2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Output B is a Mars light</label>
        <label xml:lang="it">Output B = Mars Light</label>
        <label xml:lang="de">Function F0R option 2</label>
      </variable>
      <variable CV="57" mask="XVXXXXXX" item="Function F0R option 3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Output B is a single strobe</label>
        <label xml:lang="it">Output B = Strobe singolo</label>
        <label xml:lang="de">Function F0R option 3</label>
      </variable>
      <variable CV="57" mask="VXXXXXXX" item="Function F0R option 4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Output B is a double strobe</label>
        <label xml:lang="it">Output B = Strobe doppio</label>
        <label xml:lang="de">Function F0R option 4</label>
      </variable>
      <variable CV="58" item="Function F0R options" default="64" tooltip="Sets intensity of dimmed headlight (larger number = brighter light)">
        <decVal/>
        <label>Output B Dimming Intensity (0-255)</label>
        <label xml:lang="it">Uscita B Intensità Attenuazione (0-255)</label>
        <label xml:lang="de">Function F0R options</label>
        <tooltip xml:lang="de">Sets intensity of dimmed headlight (larger number = brighter light)</tooltip>
      </variable>
      <variable CV="56" minOut="3" item="Function 1 behavior" default="15" tooltip="Sets the blinking rate for outputs C and D">
        <decVal/>
        <label>Blinking Rate for Outputs C and D (0-255)</label>
        <label xml:lang="it">Frequenza lampeggio per Uscite C e D (0-255)</label>
        <label xml:lang="de">Function 1 behavior</label>
        <tooltip xml:lang="de">Sets the blinking rate for outputs C and D</tooltip>
      </variable>
      <variable CV="53" mask="XXXXXXXV" minOut="3" item="Function 1 options" default="0" tooltip="Output C blinks with the frequency set in">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Output C Blinks</label>
        <label xml:lang="it">Uscita C lampeggia</label>
        <label xml:lang="de">Function 1 options</label>
        <tooltip xml:lang="de">Output C blinks with the frequency set in</tooltip>
      </variable>
      <variable CV="53" mask="XXXXXXVX" minOut="4" item="Function 1 option 2" default="0" tooltip="Output D blinks with the frequency set in">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Output D Blinks</label>
        <label xml:lang="it">Uscita D lampeggia</label>
        <label xml:lang="de">Function 1 option 2</label>
        <tooltip xml:lang="de">Output D blinks with the frequency set in</tooltip>
      </variable>
      <variable CV="53" mask="XXXXXVXX" item="Function 1 option 3" default="0" minOut="3" tooltip="controls which function turns on both ditch lights and CV54 controls which function activates the alternating blinking">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Outputs C and D act as Ditch Lights</label>
        <label xml:lang="it">Uscita C  e D funzionano come Ditch Lights</label>
        <label xml:lang="de">Function 1 option 3</label>
        <tooltip xml:lang="de">controls which function turns on both ditch lights and CV54 controls which function activates the alternating blinking</tooltip>
      </variable>
      <variable CV="54" mask="XXXXXXXV" minOut="3" minFn="1" item="F1 controls output 3" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output C</label>
        <label xml:lang="it">F1 controlla Uscita C</label>
        <label xml:lang="de">F1 controls output 3</label>
      </variable>
      <variable CV="54" mask="XXXXXXVX" minOut="3" minFn="2" item="F2 controls output 3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output C</label>
        <label xml:lang="it">F2 controlla Uscita C</label>
        <label xml:lang="de">F2 controls output 3</label>
      </variable>
      <variable CV="54" mask="XXXXXVXX" minOut="3" minFn="3" item="F3 controls output 3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output C</label>
        <label xml:lang="it">F3 controlla Uscita C</label>
        <label xml:lang="de">F3 controls output 3</label>
      </variable>
      <variable CV="54" mask="XXXXVXXX" minOut="3" minFn="4" item="F4 controls output 3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output C</label>
        <label xml:lang="it">F4 controlla Uscita C</label>
        <label xml:lang="de">F4 controls output 3</label>
      </variable>
      <variable CV="54" mask="XXXVXXXX" minOut="3" minFn="5" item="F5 controls output 3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output C</label>
        <label xml:lang="it">F5 controlla Uscita C</label>
        <label xml:lang="de">F5 controls output 3</label>
      </variable>
      <variable CV="54" mask="XXVXXXXX" minOut="3" minFn="6" item="F6 controls output 3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output C</label>
        <label xml:lang="it">F6 controlla Uscita C</label>
        <label xml:lang="de">F6 controls output 3</label>
      </variable>
      <variable CV="54" mask="XVXXXXXX" minOut="3" minFn="7" item="F7 controls output 3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output C</label>
        <label xml:lang="it">F7 controlla Uscita C</label>
        <label xml:lang="de">F7 controls output 3</label>
      </variable>
      <variable CV="54" mask="VXXXXXXX" minOut="3" minFn="8" item="F8 controls output 3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output C</label>
        <label xml:lang="it">F8 controlla Uscita C</label>
        <label xml:lang="de">F8 controls output 3</label>
      </variable>
      <variable CV="55" mask="XXXXXXXV" minOut="4" minFn="1" item="F1 controls output 4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output D</label>
        <label xml:lang="it">F1 controlla Uscita D</label>
        <label xml:lang="de">F1 controls output 4</label>
      </variable>
      <variable CV="55" mask="XXXXXXVX" minOut="4" minFn="2" item="F2 controls output 4" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output D</label>
        <label xml:lang="it">F2 controlla Uscita D</label>
        <label xml:lang="de">F2 controls output 4</label>
      </variable>
      <variable CV="55" mask="XXXXXVXX" minOut="4" minFn="3" item="F3 controls output 4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output D</label>
        <label xml:lang="it">F3 controlla Uscita D</label>
        <label xml:lang="de">F3 controls output 4</label>
      </variable>
      <variable CV="55" mask="XXXXVXXX" minOut="4" minFn="4" item="F4 controls output 4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output D</label>
        <label xml:lang="it">F4 controlla Uscita D</label>
        <label xml:lang="de">F4 controls output 4</label>
      </variable>
      <variable CV="55" mask="XXXVXXXX" minOut="4" minFn="5" item="F5 controls output 4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output D</label>
        <label xml:lang="it">F5 controlla Uscita D</label>
        <label xml:lang="de">F5 controls output 4</label>
      </variable>
      <variable CV="55" mask="XXVXXXXX" minOut="4" minFn="6" item="F6 controls output 4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output D</label>
        <label xml:lang="it">F6 controlla Uscita D</label>
        <label xml:lang="de">F6 controls output 4</label>
      </variable>
      <variable CV="55" mask="XVXXXXXX" minOut="4" minFn="7" item="F7 controls output 4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output D</label>
        <label xml:lang="it">F7 controlla Uscita D</label>
        <label xml:lang="de">F7 controls output 4</label>
      </variable>
      <variable CV="55" mask="VXXXXXXX" minOut="4" minFn="8" item="F8 controls output 4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output D</label>
        <label xml:lang="it">F8 controlla Uscita D</label>
        <label xml:lang="de">F8 controls output 4</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
      <variable CV="105" item="User Id #1">
        <decVal/>
        <label>User Private ID #1 (0-255)</label>
        <label xml:lang="it">ID Utente Privato #1 (0-255)</label>
        <label xml:lang="de">User Id #1</label>
      </variable>
      <variable CV="106" item="User Id #2">
        <decVal/>
        <label>User Private ID #2 (0-255)</label>
        <label xml:lang="it">ID Utente Privato #2 (0-255)</label>
        <label xml:lang="de">User Id #2</label>
      </variable>
      <variable item="Decoder Software Version" CV="128" readOnly="yes" default="02" tooltip="The decoder software version number (read only)">
        <decVal/>
        <label>Decoder Software Version</label>
        <label xml:lang="it">Versione Software Decoder</label>
        <label xml:lang="de">Decoder Software Version</label>
        <tooltip xml:lang="de">The decoder software version number (read only)</tooltip>
      </variable>
      <!-- Define the fixed Function-Output mapping -->
      <constant item="FL(f) controls output 1" minOut="1" default="1"/>
      <constant item="FL(r) controls output 2" minOut="2" default="1"/>
    </variables>
    <resets>
      <factReset label="Reset All CVs to factory defaults (use Register Mode for this)" CV="8" default="33">
        <label>Reset All CVs to factory defaults (use Register Mode for this)</label>
        <label xml:lang="it">Ripristina tutte le CV ai valori di fabbrica (usare Modalità Registro)</label>
      </factReset>
    </resets>
  </decoder>
  <pane>
    <name>Lenz</name>
    <name xml:lang="de">Lenz</name>
    <column>
      <display item="Decoder Software Version"/>
      <label>
        <text> </text>
      </label>
      <display item="Lenz RailCom (not used on all decoders)"/>
    </column>
  </pane>
</decoder-config>
