<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2008 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="Ian Birchenough ian.birchenough@talktalk.net" version="1" lastUpdated="20081107"/>
  <!-- Version 1 - created  "20081107"-->
  <decoder>
    <family name="Lenz Standard" mfg="Lenz" highVersionID="81" lowVersionID="80" comment="No comment">
      <model model="Standard" numOuts="3" numFns="9" lowVersionID="80" maxMotorCurrent="1A " formFactor="N">
        <output name="1" label="A - White">
            <label xml:lang="cs">A - Bílá</label>
        </output>
        <output name="2" label="B - Yellow">
            <label xml:lang="cs">B - Žlutá</label>            
        </output>
        <output name="3" label="C - Green">
            <label xml:lang="cs">C - Zelená</label>            
        </output>
      </model>
    </family>
    <programming direct="yes" 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" comment="Range 0-255">
        <decVal min="0" max="255"/>
        <label>Start Volts (0-255)</label>
        <comment>Range 0-255</comment>
        <label xml:lang="de">Vstart</label>
        <comment xml:lang="de">Range 0-255</comment>
        <label xml:lang="cs">Rozjezdové napětí</label>
        <comment xml:lang="cs">Meze 0-255</comment>
      </variable>
      <variable CV="3" item="Accel" default="6" comment="Range 0-255">
        <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>
        <comment>Range 0-255</comment>
        <comment xml:lang="de">Range 0-255</comment>
        <label xml:lang="cs">Zrychlení</label>
        <comment xml:lang="cs">Meze 0-255</comment>
      </variable>
      <variable CV="4" item="Decel" default="5" comment="Range 0-255">
        <decVal min="0" max="255"/>
        <label>Deceleration (Brake) Momentum (0-255)</label>
        <comment>Range 0-255</comment>
        <label xml:lang="de">Decel</label>
        <comment xml:lang="de">Range 0-255</comment>
        <label xml:lang="cs">Zpomalení</label>
        <comment xml:lang="cs">Meze 0-255</comment>
      </variable>
      <variable CV="5" item="Vhigh" default="255" comment="Sets the maximum voltage at full throttle">
        <decVal min="0" max="255"/>
        <label>Max Volts (0-255)</label>
        <label xml:lang="it">Volt Massimi (0-255):</label>
        <label xml:lang="de">Höchstgeschwindigkeit</label>
        <comment>Sets the maximum voltage at full throttle</comment>
        <comment xml:lang="de">Sets the maximum voltage at full throttle</comment>
        <label xml:lang="cs">Maximální napětí</label>
        <comment xml:lang="cs">Meze 0-255. Nastavení maximálního napětí při plně otevřeném ovladači.</comment>
      </variable>
      <variable CV="6" item="Vmid" default="48" comment="Range 0-255">
        <decVal min="0" max="255"/>
        <label>Vmid (0-255)</label>
        <label xml:lang="it">Volts intermedi (0-255)</label>
        <label xml:lang="de">Vmittel (0-255)</label>
        <comment>Range 0-255</comment>
        <comment xml:lang="de">Range 0-255</comment>
        <label xml:lang="cs">Střední napětí</label>
        <comment xml:lang="cs">Meze 0-255</comment>
      </variable>
      <variable CV="7" item="Decoder Version" readOnly="yes" default="81">
        <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>
        <label xml:lang="cs">Verze dekodéru: </label>
      </variable>
      <variable CV="8" readOnly="yes" item="Manufacturer" default="99">
        <decVal/>
        <label>Manufacturer ID: </label>
        <label xml:lang="it">ID Costruttore: </label>
        <label xml:lang="fr">ID constructeur: </label>
        <label xml:lang="de">Hersteller ID: </label>
        <label xml:lang="cs">ID výrobce: </label>
      </variable>
      <variable CV="8" item="Reset" comment="Writing a value of 8 or 33 will reset decoder to factory defaults">
        <decVal/>
        <label>Manufacturer ID - Reset</label>
        <comment>Writing a value of 8 or 33 will reset decoder to factory defaults</comment>
        <label xml:lang="de">Reset</label>
        <comment xml:lang="de">Writing a value of 8 or 33 will reset decoder to factory defaults</comment>
        <label xml:lang="cs">ID výrobce - Reset</label>
        <comment xml:lang="cs">Zápis hodnoty 8 nebo 33 provede reset dekodéru na výchozí hodnoty továrního nastavení</comment>
      </variable>
      <variable CV="9" item="Total PWM Period" default="15" comment="Range 0-63">
        <decVal min="0" max="63"/>
        <label>Back EMF Repetition Rate (0-63)</label>
        <label xml:lang="de">Total PWM Period</label>
        <label xml:lang="it">Periodo PWM (Frequenza pilotaggio Motore)</label>
        <comment>Range 0-63</comment>
        <comment xml:lang="de">Range 0-63</comment>
        <comment xml:lang="it">Valori 0-63</comment>
        <label xml:lang="cs">Back EMF míra opakování</label>
        <comment xml:lang="cs">Meze 0-63</comment>
      </variable>
      <!-- CV=19 -->
     <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"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29table3-28.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/lenz/protection_cv30.xml"/>
      <variable CV="33" mask="XXXXVXXX" item="FL(f) controls output 1" default="1" minOut="1" minFn="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F0(f) controls output A</label>
        <label xml:lang="de">FL(f) controls output 1</label>
        <label xml:lang="cs">F0 vpřed funkční výstup A</label>
      </variable>
      <variable CV="34" mask="XXXXVXXX" item="FL(r) controls output 1" minOut="1" minFn="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F0(r) controls output A</label>
        <label xml:lang="de">FL(r) controls output 1</label>
        <label xml:lang="cs">F0 vzad funkční výstup A</label>
      </variable>
      <variable CV="35" mask="XXXXVXXX" item="F1 controls output 1" minOut="1" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output A</label>
        <label xml:lang="de">F1 controls output 1</label>
        <label xml:lang="cs">F1 funkční výstup A</label>
      </variable>
      <variable CV="36" mask="XXXXVXXX" item="F2 controls output 1" minOut="1" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output A</label>
        <label xml:lang="de">F2 controls output 1</label>
        <label xml:lang="cs">F2 funkční výstup A</label>
      </variable>
      <variable CV="37" mask="XXXXVXXX" item="F3 controls output 1" minOut="1" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output A</label>
        <label xml:lang="de">F3 controls output 1</label>
        <label xml:lang="cs">F3 funkční výstup A</label>
      </variable>
      <variable CV="38" mask="XXXXXXXV" item="F4 controls output 1" minOut="1" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output A</label>
        <label xml:lang="de">F4 controls output 1</label>
        <label xml:lang="cs">F4 funkční výstup A</label>
      </variable>
      <variable CV="39" mask="XXXXXXXV" item="F5 controls output 1" minOut="1" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output A</label>
        <label xml:lang="de">F5 controls output 1</label>
        <label xml:lang="cs">F5 funkční výstup A</label>
      </variable>
      <variable CV="40" mask="XXXXXXXV" item="F6 controls output 1" minOut="1" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output A</label>
        <label xml:lang="de">F6 controls output 1</label>
        <label xml:lang="cs">F6 funkční výstup A</label>
      </variable>
      <variable CV="41" mask="XXXXXXXV" item="F7 controls output 1" minOut="1" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output A</label>
        <label xml:lang="de">F7 controls output 1</label>
        <label xml:lang="cs">F7 funkční výstup A</label>
      </variable>
      <variable CV="42" mask="XXXXXXXV" item="F8 controls output 1" minOut="1" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output A</label>
        <label xml:lang="de">F8 controls output 1</label>
        <label xml:lang="cs">F8 funkční výstup A</label>
      </variable>
      <variable CV="33" mask="XXXVXXXX" item="FL(f) controls output 2" minOut="2" minFn="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F0(f) controls output B</label>
        <label xml:lang="de">FL(f) controls output 2</label>
        <label xml:lang="cs">F0 vpřed funkční výstup B</label>
      </variable>
      <variable CV="34" mask="XXXVXXXX" item="FL(r) controls output 2" default="1" minOut="2" minFn="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F0(r) controls output B</label>
        <label xml:lang="de">FL(r) controls output 2</label>
        <label xml:lang="cs">F0 vzad funkční výstup B</label>
      </variable>
      <variable CV="35" mask="XXXVXXXX" item="F1 controls output 2" minOut="2" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output B</label>
        <label xml:lang="de">F1 controls output 2</label>
        <label xml:lang="cs">F1 funkční výstup B</label>
      </variable>
      <variable CV="36" mask="XXXVXXXX" item="F2 controls output 2" minOut="2" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output B</label>
        <label xml:lang="de">F2 controls output 2</label>
        <label xml:lang="cs">F2 funkční výstup B</label>
      </variable>
      <variable CV="37" mask="XXXVXXXX" item="F3 controls output 2" minOut="2" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output B</label>
        <label xml:lang="de">F3 controls output 2</label>
        <label xml:lang="cs">F3 funkční výstup B</label>
      </variable>
      <variable CV="38" mask="XXXXXXVX" item="F4 controls output 2" minOut="2" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output B</label>
        <label xml:lang="de">F4 controls output 2</label>
        <label xml:lang="cs">F4 funkční výstup B</label>
      </variable>
      <variable CV="39" mask="XXXXXXVX" item="F5 controls output 2" minOut="2" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output B</label>
        <label xml:lang="de">F5 controls output 2</label>
        <label xml:lang="cs">F5 funkční výstup B</label>
      </variable>
      <variable CV="40" mask="XXXXXXVX" item="F6 controls output 2" minOut="2" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output B</label>
        <label xml:lang="de">F6 controls output 2</label>
        <label xml:lang="cs">F6 funkční výstup B</label>
      </variable>
      <variable CV="41" mask="XXXXXXVX" item="F7 controls output 2" minOut="2" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output B</label>
        <label xml:lang="de">F7 controls output 2</label>
        <label xml:lang="cs">F7 funkční výstup B</label>
      </variable>
      <variable CV="42" mask="XXXXXXVX" item="F8 controls output 2" minOut="2" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output B</label>
        <label xml:lang="de">F8 controls output 2</label>
        <label xml:lang="cs">F8 funkční výstup B</label>
      </variable>
      <variable CV="33" mask="XXVXXXXX" item="FL(f) controls output 3" minOut="3" minFn="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F0(f) controls output C</label>
        <label xml:lang="de">FL(f) controls output 3</label>
        <label xml:lang="cs">F0 vpřed funkční výstup C</label>
      </variable>
      <variable CV="34" mask="XXVXXXXX" item="FL(r) controls output 3" minOut="3" minFn="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F0(r) controls output C</label>
        <label xml:lang="de">FL(r) controls output 3</label>
        <label xml:lang="cs">F0 vzad funkční výstup C</label>
      </variable>
      <variable CV="35" mask="XXVXXXXX" item="F1 controls output 3" default="1" minOut="3" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output C</label>
        <label xml:lang="de">F1 controls output 3</label>
        <label xml:lang="cs">F1 funkční výstup C</label>
      </variable>
      <variable CV="36" mask="XXVXXXXX" item="F2 controls output 3" minOut="3" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output C</label>
        <label xml:lang="de">F2 controls output 3</label>
        <label xml:lang="cs">F2 funkční výstup C</label>
      </variable>
      <variable CV="37" mask="XXVXXXXX" item="F3 controls output 3" minOut="3" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output C</label>
        <label xml:lang="de">F3 controls output 3</label>
        <label xml:lang="cs">F3 funkční výstup C</label>
      </variable>
      <variable CV="38" mask="XXXXXVXX" item="F4 controls output 3" minOut="3" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output C</label>
        <label xml:lang="de">F4 controls output 3</label>
        <label xml:lang="cs">F4 funkční výstup C</label>
      </variable>
      <variable CV="39" mask="XXXXXVXX" item="F5 controls output 3" minOut="3" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output C</label>
        <label xml:lang="de">F5 controls output 3</label>
        <label xml:lang="cs">F5 funkční výstup C</label>
      </variable>
      <variable CV="40" mask="XXXXXVXX" item="F6 controls output 3" minOut="3" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output C</label>
        <label xml:lang="de">F6 controls output 3</label>
        <label xml:lang="cs">F6 funkční výstup C</label>
      </variable>
      <variable CV="41" mask="XXXXXVXX" item="F7 controls output 3" minOut="3" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output C</label>
        <label xml:lang="de">F7 controls output 3</label>
        <label xml:lang="cs">F7 funkční výstup C</label>
      </variable>
      <variable CV="42" mask="XXXXXVXX" item="F8 controls output 3" minOut="3" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output C</label>
        <label xml:lang="de">F8 controls output 3</label>
        <label xml:lang="cs">F8 funkční výstup C</label>
      </variable>
      <variable CV="33" mask="XVXXXXXX" item="FL(f) controls output 4" minOut="4" minFn="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F0(f) controls output D</label>
        <label xml:lang="de">FL(f) controls output 4</label>
        <label xml:lang="cs">F0 vpřed funkční výstup D</label>
      </variable>
      <variable CV="34" mask="XVXXXXXX" item="FL(r) controls output 4" minOut="4" minFn="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F0(r) controls output D</label>
        <label xml:lang="de">FL(r) controls output 4</label>
        <label xml:lang="cs">F0 vzad funkční výstup D</label>
      </variable>
      <variable CV="35" mask="XVXXXXXX" item="F1 controls output 4" minOut="4" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output D</label>
        <label xml:lang="de">F1 controls output 4</label>
        <label xml:lang="cs">F1 funkční výstup D</label>
      </variable>
      <variable CV="36" mask="XVXXXXXX" item="F2 controls output 4" default="1" minOut="4" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output D</label>
        <label xml:lang="de">F2 controls output 4</label>
        <label xml:lang="cs">F2 funkční výstup D</label>
      </variable>
      <variable CV="37" mask="XVXXXXXX" item="F3 controls output 4" minOut="4" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output D</label>
        <label xml:lang="de">F3 controls output 4</label>
        <label xml:lang="cs">F3 funkční výstup D</label>
      </variable>
      <variable CV="38" mask="XXXXVXXX" item="F4 controls output 4" minOut="4" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F4 controls output D</label>
        <label xml:lang="de">F4 controls output 4</label>
        <label xml:lang="cs">F4 funkční výstup D</label>
      </variable>
      <variable CV="39" mask="XXXXVXXX" item="F5 controls output 4" minOut="4" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F5 controls output D</label>
        <label xml:lang="de">F5 controls output 4</label>
        <label xml:lang="cs">F5 funkční výstup D</label>
      </variable>
      <variable CV="40" mask="XXXXVXXX" item="F6 controls output 4" minOut="4" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F6 controls output D</label>
        <label xml:lang="de">F6 controls output 4</label>
        <label xml:lang="cs">F6 funkční výstup D</label>
      </variable>
      <variable CV="41" mask="XXXXVXXX" item="F7 controls output 4" minOut="4" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F7 controls output D</label>
        <label xml:lang="de">F7 controls output 4</label>
        <label xml:lang="cs">F7 funkční výstup D</label>
      </variable>
      <variable CV="42" mask="XXXXVXXX" item="F8 controls output 4" minOut="4" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F8 controls output D</label>
        <label xml:lang="de">F8 controls output 4</label>
        <label xml:lang="cs">F8 funkční výstup D</label>
      </variable>
      <variable CV="43" mask="XXXXXXXV" item="F9 controls output 4" minOut="4" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F9 controls output D</label>
        <label xml:lang="de">F9 controls output 4</label>
        <label xml:lang="cs">F9 funkční výstup D</label>
      </variable>
      <variable CV="44" mask="XXXXXXXV" item="F10 controls output 4" minOut="4" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F10 controls output D</label>
        <label xml:lang="de">F10 controls output 4</label>
        <label xml:lang="cs">F10 funkční výstup D</label>
      </variable>
      <variable CV="45" mask="XXXXXXXV" item="F11 controls output 4" minOut="4" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F11 controls output D</label>
        <label xml:lang="de">F11 controls output 4</label>
        <label xml:lang="cs">F11 funkční výstup D</label>
      </variable>
      <variable CV="46" mask="XXXXXXXV" item="F12 controls output 4" minOut="4" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F12 controls output D</label>
        <label xml:lang="de">F12 controls output 4</label>
        <label xml:lang="cs">F12 funkční výstup D</label>
      </variable>
      <variable CV="50" mask="XXXXVVVV" item="Motor type" default="0" comment="Range 0-5">
        <enumVal>
          <enumChoice choice="0 ">
            <choice>0 </choice>
            <choice xml:lang="de">0 </choice>
            <choice xml:lang="cs">0 </choice>
          </enumChoice>
          <enumChoice choice="1 ">
            <choice>1 </choice>
            <choice xml:lang="de">1 </choice>
            <choice xml:lang="cs">1 </choice>
          </enumChoice>
          <enumChoice choice="2 ">
            <choice>2 </choice>
            <choice xml:lang="de">2 </choice>
            <choice xml:lang="cs">2 </choice>
          </enumChoice>
          <enumChoice choice="3 ">
            <choice>3 </choice>
            <choice xml:lang="de">3 </choice>
            <choice xml:lang="cs">3 </choice>
          </enumChoice>
          <enumChoice choice="4 ">
            <choice>4 </choice>
            <choice xml:lang="de">4 </choice>
            <choice xml:lang="cs">4 </choice>
          </enumChoice>
          <enumChoice choice="5 ">
            <choice>5 </choice>
            <choice xml:lang="de">5 </choice>
            <choice xml:lang="cs">5 </choice>
          </enumChoice>
        </enumVal>
        <label>Motor Type(0-5)</label>
        <comment>Range 0-5</comment>
        <label xml:lang="de">Motor type</label>
        <comment xml:lang="de">Range 0-5</comment>
        <label xml:lang="cs">Typ motoru</label>
        <comment xml:lang="cs">Meze 0-5</comment>
      </variable>
      <variable CV="50" mask="XXVXXXXX" item="EMF Switch" default="0">
        <enumVal>
          <enumChoice choice="Inactive">
            <choice>Inactive</choice>
            <choice xml:lang="de">Inactive</choice>
            <choice xml:lang="cs">Neaktivní</choice>
          </enumChoice>
          <enumChoice choice="Active">
            <choice>Active</choice>
            <choice xml:lang="de">Active</choice>
            <choice xml:lang="cs">Aktivní</choice>
          </enumChoice>
        </enumVal>
        <label>EMF Switch</label>
        <label xml:lang="de">EMF Switch</label>
        <label xml:lang="cs">Vypínač EMF</label>
      </variable>
      <variable CV="50" mask="XVXXXXXX" item="BEMF Control" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OnOff.xml"/>
        <label>BEMF Control</label>
        <label xml:lang="de">BEMF Control</label>
        <label xml:lang="cs">Řízení BEMF</label>
      </variable>
      <variable CV="50" mask="VXXXXXXX" item="Motor Frequency" default="0">
        <enumVal>
          <enumChoice choice="High ">
            <choice>High </choice>
            <choice xml:lang="de">High </choice>
            <choice xml:lang="cs">Vysoká </choice>
          </enumChoice>
          <enumChoice choice="Low ">
            <choice>Low </choice>
            <choice xml:lang="de">Low </choice>
            <choice xml:lang="cs">Nízká </choice>
          </enumChoice>
        </enumVal>
        <label>Motor Drive Frequency</label>
        <label xml:lang="de">Motor Frequency</label>
        <label xml:lang="cs">Frekvence regulace motoru</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/lenz/braking_cv51.xml"/>
      <variable CV="55" item="Global lighting option 1" default="255" tooltip="Sets intensity of dimmed headlight (larger number = brighter light)">
        <decVal min="0" max="255"/>
        <label>Dimming Intensity, Outputs A and C (0-255)</label>
        <label xml:lang="de">Global lighting option 1</label>
        <tooltip xml:lang="de">Sets intensity of dimmed headlight (larger number = brighter light)</tooltip>
        <label xml:lang="cs">Nastavení jasu, výstupy A a C (0-255)</label>
        <tooltip xml:lang="cs">Nastavení jasu světel (vyšší číslo = vyšší jas)</tooltip>
      </variable>
      <variable CV="56" item="Global lighting option 2" default="255" tooltip="Sets intensity of dimmed headlight (larger number = brighter light)">
        <decVal min="0" max="255"/>
        <label>Dimming Intensity, Outputs B and D (0-255)</label>
        <label xml:lang="de">Global lighting option 2</label>
        <tooltip xml:lang="de">Sets intensity of dimmed headlight (larger number = brighter light)</tooltip>
        <label xml:lang="cs">Nastavení jasu, výstupy B a D (0-255)</label>
        <tooltip xml:lang="cs">Nastavení jasu světel (vyšší číslo = vyšší jas)</tooltip>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/lenz/fn_ctrl_57_59.xml"/>
      <variable CV="60" item="Lighting effects A/B" default="0" comment="Range 0-44">
        <decVal min="0" max="44"/>
        <label>Enter the value corresponding to the desired lighting effect for B/A outputs (0-44) </label>
        <comment>Range 0-44</comment>
        <label xml:lang="de">Lighting effects A/B</label>
        <comment xml:lang="de">Range 0-44</comment>
        <label xml:lang="cs">Světelné efekty na výstupech A a B</label>
        <comment xml:lang="cs">Meze 0-44</comment>
      </variable>
      <variable item="Toggle effect (outputs A/B) with F1" CV="61" mask="XXXXXXXV" tooltip="Toggle Lighting Effect for outputs A and B 'off' using F1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs A/B) with F1</label>
        <label xml:lang="de">Toggle effect (outputs A/B) with F1</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs A and B 'off' using F1</tooltip>
        <label xml:lang="cs">F1 vypínání efektů na výstupech A a B</label>
        <tooltip xml:lang="cs">F1 vypíná světelné efekty na výstupech A a B</tooltip>
      </variable>
      <variable item="Toggle effect (outputs A/B) with F2" CV="61" mask="XXXXXXVX" tooltip="Toggle Lighting Effect for outputs A and B 'off' using F2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs A/B) with F2</label>
        <label xml:lang="de">Toggle effect (outputs A/B) with F2</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs A and B 'off' using F2</tooltip>
        <label xml:lang="cs">F2 vypínání efektů na výstupech A a B</label>
        <tooltip xml:lang="cs">F2 vypíná světelné efekty na výstupech A a B</tooltip>
      </variable>
      <variable item="Toggle effect (outputs A/B) with F3" CV="61" mask="XXXXXVXX" tooltip="Toggle Lighting Effect for outputs A and B 'off' using F3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs A/B) with F3</label>
        <label xml:lang="de">Toggle effect (outputs A/B) with F3</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs A and B 'off' using F3</tooltip>
        <label xml:lang="cs">F3 vypínání efektů na výstupech A a B</label>
        <tooltip xml:lang="cs">F3 vypíná světelné efekty na výstupech A a B</tooltip>
      </variable>
      <variable item="Toggle effect (outputs A/B) with F4" CV="61" mask="XXXXVXXX" tooltip="Toggle Lighting Effect for outputs A and B 'off' using F4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs A/B) with F4</label>
        <label xml:lang="de">Toggle effect (outputs A/B) with F4</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs A and B 'off' using F4</tooltip>
        <label xml:lang="cs">F4 vypínání efektů na výstupech A a B</label>
        <tooltip xml:lang="cs">F4 vypíná světelné efekty na výstupech A a B</tooltip>
      </variable>
      <variable item="Toggle effect (outputs A/B) with F5" CV="61" mask="XXXVXXXX" tooltip="Toggle Lighting Effect for outputs A and B 'off' using F5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs A/B) with F5</label>
        <label xml:lang="de">Toggle effect (outputs A/B) with F5</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs A and B 'off' using F5</tooltip>
        <label xml:lang="cs">F5 vypínání efektů na výstupech A a B</label>
        <tooltip xml:lang="cs">F5 vypíná světelné efekty na výstupech A a B</tooltip>
      </variable>
      <variable item="Toggle effect (outputs A/B) with F6" CV="61" mask="XXVXXXXX" tooltip="Toggle Lighting Effect for outputs A and B 'off' using F6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs A/B) with F6</label>
        <label xml:lang="de">Toggle effect (outputs A/B) with F6</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs A and B 'off' using F6</tooltip>
        <label xml:lang="cs">F6 vypínání efektů na výstupech A a B</label>
        <tooltip xml:lang="cs">F6 vypíná světelné efekty na výstupech A a B</tooltip>
      </variable>
      <variable item="Toggle effect (outputs A/B) with F7" CV="61" mask="XVXXXXXX" tooltip="Toggle Lighting Effect for outputs A and B 'off' using F7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs A/B) with F7</label>
        <label xml:lang="de">Toggle effect (outputs A/B) with F7</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs A and B 'off' using F7</tooltip>
        <label xml:lang="cs">F7 vypínání efektů na výstupech A a B</label>
        <tooltip xml:lang="cs">F7 vypíná světelné efekty na výstupech A a B</tooltip>
      </variable>
      <variable item="Toggle effect (outputs A/B) with F8" CV="61" mask="VXXXXXXX" tooltip="Toggle Lighting Effect for outputs A and B 'off' using F8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs A/B) with F8</label>
        <label xml:lang="de">Toggle effect (outputs A/B) with F8</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs A and B 'off' using F8</tooltip>
        <label xml:lang="cs">F8 vypínání efektů na výstupech A a B</label>
        <tooltip xml:lang="cs">F8 vypíná světelné efekty na výstupech A a B</tooltip>
      </variable>
      <variable CV="62" minOut="4" item="Lighting effects C/D" default="0" comment="Range 0-53">
        <decVal min="0" max="53"/>
        <label>Enter the value corresponding to the desired lighting effect for D/C outputs (0-53) </label>
        <comment>Range 0-53</comment>
        <label xml:lang="de">Lighting effects C/D</label>
        <comment xml:lang="de">Range 0-53</comment>
        <label xml:lang="cs">Světelné efekty na výstupech C a D</label>
        <comment xml:lang="cs">Meze 0-44</comment>
      </variable>
      <variable CV="63" minOut="4" tooltip="Flashing rate, default = 1 sec, f= 1/(.03* 1 + value))" item="Function 3 options" default="32" comment="Range 0-255">
        <decVal min="0" max="255"/>
        <label>Flashing frequency for outputs C and D (255 = .13 Hz, 32 = 1 Hz, 15 = 2 Hz, 0 = 33 Hz)</label>
        <comment>Range 0-255</comment>
        <label xml:lang="de">Function 3 options</label>
        <comment xml:lang="de">Range 0-255</comment>
        <tooltip xml:lang="de">Flashing rate, default = 1 sec, f= 1/(.03* 1 + value))</tooltip>
        <label xml:lang="cs">Frekvence blikání pro výstupy C a D</label>
        <comment xml:lang="cs">Meze 0-255</comment>
        <tooltip xml:lang="cs">Rychlost blikání: výchozí hodnota = 1 vteřina, f = 1 / (0,03 * (1 + hodnota)), (255 = 0,13 Hz, 32 = 1 Hz, 15 = 2 Hz, 0 = 33 Hz)</tooltip>
      </variable>
      <variable item="Toggle effect (outputs C/D) with F1" CV="64" mask="XXXXXXXV" minOut="4" tooltip="Toggle Lighting Effect for outputs C and D 'off' using F1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs C/D) with F1</label>
        <label xml:lang="de">Toggle effect (outputs C/D) with F1</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs C and D 'off' using F1</tooltip>
        <label xml:lang="cs">F1 vypínání efektů na výstupech C a D</label>
        <tooltip xml:lang="cs">F1 vypíná světelné efekty na výstupech C a D</tooltip>
      </variable>
      <variable item="Toggle effect (outputs C/D) with F2" CV="64" mask="XXXXXXVX" minOut="4" tooltip="Toggle Lighting Effect for outputs C and D 'off' using F2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs C/D) with F2</label>
        <label xml:lang="de">Toggle effect (outputs C/D) with F2</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs C and D 'off' using F2</tooltip>
        <label xml:lang="cs">F2 vypínání efektů na výstupech C a D</label>
        <tooltip xml:lang="cs">F2 vypíná světelné efekty na výstupech C a D</tooltip>
      </variable>
      <variable item="Toggle effect (outputs C/D) with F3" CV="64" mask="XXXXXVXX" minOut="4" tooltip="Toggle Lighting Effect for outputs C and D 'off' using F3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs C/D) with F3</label>
        <label xml:lang="de">Toggle effect (outputs C/D) with F3</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs C and D 'off' using F3</tooltip>
        <label xml:lang="cs">F3 vypínání efektů na výstupech C a D</label>
        <tooltip xml:lang="cs">F3 vypíná světelné efekty na výstupech C a D</tooltip>
      </variable>
      <variable item="Toggle effect (outputs C/D) with F4" CV="64" mask="XXXXVXXX" minOut="4" tooltip="Toggle Lighting Effect for outputs C and D 'off' using F4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs C/D) with F4</label>
        <label xml:lang="de">Toggle effect (outputs C/D) with F4</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs C and D 'off' using F4</tooltip>
        <label xml:lang="cs">F4 vypínání efektů na výstupech C a D</label>
        <tooltip xml:lang="cs">F4 vypíná světelné efekty na výstupech C a D</tooltip>
      </variable>
      <variable item="Toggle effect (outputs C/D) with F5" CV="64" mask="XXXVXXXX" minOut="4" tooltip="Toggle Lighting Effect for outputs C and D 'off' using F5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs C/D) with F5</label>
        <label xml:lang="de">Toggle effect (outputs C/D) with F5</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs C and D 'off' using F5</tooltip>
        <label xml:lang="cs">F5 vypínání efektů na výstupech C a D</label>
        <tooltip xml:lang="cs">F5 vypíná světelné efekty na výstupech C a D</tooltip>
      </variable>
      <variable item="Toggle effect (outputs C/D) with F6" CV="64" mask="XXVXXXXX" minOut="4" tooltip="Toggle Lighting Effect for outputs C and D 'off' using F6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs C/D) with F6</label>
        <label xml:lang="de">Toggle effect (outputs C/D) with F6</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs C and D 'off' using F6</tooltip>
        <label xml:lang="cs">F6 vypínání efektů na výstupech C a D</label>
        <tooltip xml:lang="cs">F6 vypíná světelné efekty na výstupech C a D</tooltip>
      </variable>
      <variable item="Toggle effect (outputs C/D) with F7" CV="64" mask="XVXXXXXX" minOut="4" tooltip="Toggle Lighting Effect for outputs C and D 'off' using F7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs C/D) with F7</label>
        <label xml:lang="de">Toggle effect (outputs C/D) with F7</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs C and D 'off' using F7</tooltip>
        <label xml:lang="cs">F7 vypínání efektů na výstupech C a D</label>
        <tooltip xml:lang="cs">F7 vypíná světelné efekty na výstupech C a D</tooltip>
      </variable>
      <variable item="Toggle effect (outputs C/D) with F8" CV="64" mask="VXXXXXXX" minOut="4" tooltip="Toggle Lighting Effect for outputs C and D 'off' using F8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Toggle effect (outputs C/D) with F8</label>
        <label xml:lang="de">Toggle effect (outputs C/D) with F8</label>
        <tooltip xml:lang="de">Toggle Lighting Effect for outputs C and D 'off' using F8</tooltip>
        <label xml:lang="cs">F8 vypínání efektů na výstupech C a D</label>
        <tooltip xml:lang="cs">F8 vypíná světelné efekty na výstupech C a D</tooltip>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
      <variable CV="113" item="Minimum PWM Value" default="40" comment="Range 0-255">
        <decVal min="0" max="255"/>
        <label>Minimum PWM (Types 4, 5 only)</label>
        <comment>Range 0-255</comment>
        <label xml:lang="de">Minimum PWM Value</label>
        <comment xml:lang="de">Range 0-255</comment>
        <label xml:lang="cs">Minimální hodnota PWM (pouze motory typu 4 a 5)</label>
        <comment xml:lang="cs">Meze 0-255</comment>
      </variable>
      <variable CV="114" item="Motor Duty Cycle" default="10" comment="Range 0-255">
        <decVal min="0" max="255"/>
        <label>Duty Cycle (Types 4, 5 only)</label>
        <comment>Range 0-255</comment>
        <label xml:lang="de">Motor Duty Cycle</label>
        <comment xml:lang="de">Range 0-255</comment>
        <label xml:lang="cs">Pracovní cyklus (pouze motory typu 4 a 5)</label>
        <comment xml:lang="cs">Meze 0-255</comment>
      </variable>
      <variable CV="128" readOnly="yes" item="Decoder Software Version" default="5">
        <decVal/>
        <label>Decoder Software Version (read only): </label>
        <label xml:lang="de">Decoder Software Version</label>
        <label xml:lang="cs">Softwarová verze dekodéru (pouze pro čtení)</label>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset All CVs" CV="8" default="33">
        <label xml:lang="it">Reset delle CV ai valori di fabbrica</label>
        <label xml:lang="cs">Reset všech CV na tovární nastavení</label>
      </factReset>
    </resets>
  </decoder>
  <xi:include href="http://jmri.org/xml/decoders/lenz/paneLighting.xml"/>
  <pane>
    <name>Lenz</name>
    <name xml:lang="de">Lenz</name>
    <name xml:lang="cs">Lenz</name>
    <column>
      <row>
        <column>
          <label>
            <text>Fault Indication</text>
            <text xml:lang="de">Fault Indication</text>
            <text xml:lang="cs">Zobrazení chyb</text>
          </label>
          <display item="Light Short"/>
          <display item="Overheating"/>
          <display item="Motor Short"/>
          <label>
            <text> </text>
          </label>
          <label>
            <text>Motor Configuration</text>
            <text xml:lang="de">Motor Configuration</text>
            <text xml:lang="cs">Konfigurace motoru</text>
          </label>
          <display item="Motor type"/>
          <display item="EMF Switch"/>
          <display item="BEMF Control"/>
          <display item="Motor Frequency"/>
          <display item="Minimum PWM Value"/>
          <display item="Motor Duty Cycle"/>
          <display item="Motor Timeout"/>
          <label>
            <text> </text>
          </label>
        </column>
        <column>
          <label>
            <text>           </text>
          </label>
        </column>
        <column>
          <label>
            <text>Braking Configuration</text>
            <text xml:lang="de">Braking Configuration</text>
            <text xml:lang="cs">Konfigurace brždění</text>
          </label>
          <display item="Constant Braking"/>
          <display item="Stop on DC"/>
          <display item="Braking Distance"/>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
        </column>
      </row>
      <row>
        <column>
          <label>
            <text> </text>
          </label>
          <label>
            <text>Tip: Constant Braking only works when momementum is enabled, and when not in switching gear</text>
            <text xml:lang="de">Tip: Constant Braking only works when momementum is enabled, and when not in switching gear</text>
            <text xml:lang="cs">Tip: Konstantní brzdná dráha je účinná pouze když je zapnuto zpomalení a rychlost je snížena na 0</text>
          </label>
          <label>
            <text> </text>
          </label>
          <separator/>
          <label>
            <text> </text>
          </label>
          <display item="Decoder Software Version"/>
        </column>
      </row>
    </column>
  </pane>
  <xi:include href="http://jmri.org/xml/decoders/lenz/paneLighting.xml"/>
</decoder-config>
