<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!--Copyright (C) JMRI 2003, 2004, 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="Jeff Schmaltz escopetas@comcast.net" version="1.1" lastUpdated="20090218"/>
  <version author="Jeff Schmaltz escopetas@comcast.net" version="1.0" lastUpdated="20080131"/>
  <version author="Alain Carasso" version="2.0" lastUpdated="20101020"/>
  <decoder>
    <family name="ESU LokPilot Basic 2.0" mfg="Electronic Solutions Ulm GmbH" lowVersionID="0" highVersionID="255">
      <model model="LokPilot Basic 2.0" maxInputVolts="25 V" maxMotorCurrent="0.7 A" maxTotalCurrent="1.05 A" numOuts="3" numFns="5" formFactor="HO" connector="NMRAmedium">
        <output name="1" label="Front light" maxcurrent="180 mA" connection="wire"/>
        <output name="2" label="Rear light " maxcurrent="180 mA" connection="wire"/>
        <output name="3" label="   AUX1    " maxcurrent="180 mA" connection="wire"/>
        <size length="25.5" width="15.5" height="4.5" units="mm"/>
      </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" default="3" item="Vstart" tooltip="Determines the starting speed, range 1-63">
        <decVal min="1" max="63"/>
        <label>Starting Voltage</label>
        <label xml:lang="it">Volt Partenza</label>
        <label xml:lang="fr">V démarr.</label>
        <label xml:lang="de">Anfahrspannung</label>
      </variable>
      <variable CV="3" default="8" item="Accel" tooltip="This value multiplied by 0.5 gives the time from stop to maximum speed, range 1-63">
        <decVal min="1" max="63"/>
        <label>Acceleration</label>
        <label xml:lang="it">Accellerazione (1-63)</label>
        <label xml:lang="fr">Accelération (1-63)</label>
        <label xml:lang="de">Anfahrverzögerung (1-63)</label>
      </variable>
      <variable CV="4" default="6" item="Decel" tooltip="This value multiplied by 0.5 gives the time from maximum speed to stop, range 1-63">
        <decVal min="1" max="64"/>
        <label>Deceleration</label>
        <label xml:lang="it">Decellerazione (1-64)</label>
        <label xml:lang="fr">Décélération (1-64)</label>
        <label xml:lang="de">Bremszeit (1-64)</label>
      </variable>
      <variable CV="5" default="63" item="Vhigh" tooltip="Maximum speed of locomotive, range 1-63">
        <decVal min="1" max="63"/>
        <label>Maximum Speed</label>
        <label xml:lang="it">Volt Massimi (0-63):</label>
        <label xml:lang="de">Höchstgeschwindigkeit</label>
      </variable>
      <variable CV="7" default="89" item="Decoder Version" tooltip="The decoder version number (read only)">
        <decVal/>
        <label>Software Version Number</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" default="151" item="Manufacturer" tooltip="The manufacturer's ID number (read only)">
        <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>
      </variable>
      <!-- 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 CV="49" mask="XXXXXXXV" default="1" item="EMF Static Config">
        <enumVal>
          <enumChoice choice="Off"/>
          <enumChoice choice="Active"/>
        </enumVal>
        <label>BEMF control</label>
      </variable>
      <variable CV="51" mask="XXXXXXXV" default="1" item="Dither option">
        <enumVal>
          <enumChoice choice="Off"/>
          <enumChoice choice="Active"/>
        </enumVal>
        <label>Brake mode control</label>
      </variable>
      <variable CV="54" default="32" item="EMF Dynamic Config" tooltip="Determines how strongly load control effects, range 0-63">
        <decVal min="0" max="63"/>
        <label>Load control parameter K</label>
      </variable>
      <variable CV="55" default="24" item="EMF Droop Config" tooltip="Determines the momentum of the motor, range 0-63">
        <decVal min="0" max="63"/>
        <label>Load control parameter I</label>
      </variable>
      <variable CV="63" default="7" item="Global lighting option 1" tooltip="Defines the brightness of the function outputs, range 0-7">
        <decVal min="0" max="7"/>
        <label>Lamp brightness</label>
      </variable>
    </variables>
    <resets>
      <factReset label="HARD RESET all CVs reset to default values" CV="8" default="8"/>
    </resets>
  </decoder>
</decoder-config>
