<?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: Uhlenbrock_73500.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="Simon Ginsburg" version="1" lastUpdated="20051018"/>
  <decoder>
    <family name="Mini-Multiprotocoll Decoder" mfg="Uhlenbrock Elektronik" lowVersionID="8" highVersionID="8">
      <model model="73500"/>
      <model model="73510"/>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <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="Vstart" CV="2" comment="Speed setting between 1 and 63" default="01">
        <decVal max="63"/>
        <label>Vstart</label>
        <comment>Speed setting between 1 and 63</comment>
      </variable>
      <variable label="Acceleration Rate" CV="3" comment="A value of 1 will increase each 5 milliseconds by 1" item="Accel" default="02">
        <decVal max="63"/>
        <label>Acceleration Rate</label>
        <comment>A value of 1 will increase each 5 milliseconds by 1</comment>
      </variable>
      <variable label="Deceleration Rate" CV="4" comment="A value of 1 will increase each 5 milliseconds by 1" item="Decel" default="02">
        <decVal max="63"/>
        <label>Deceleration Rate</label>
        <comment>A value of 1 will increase each 5 milliseconds by 1</comment>
      </variable>
      <variable label="Vhigh" CV="5" comment="Speed setting between 1 and 63" default="48">
        <decVal max="63"/>
        <label>Vhigh</label>
        <comment>Speed setting between 1 and 63</comment>
      </variable>
      <variable label="Vmid" CV="6" comment="Speed setting between 1 and 63" default="24">
        <decVal max="63"/>
        <label>Vmid</label>
        <comment>Speed setting between 1 and 63</comment>
      </variable>
      <variable label="Manufacturer Version No: " CV="7" readOnly="yes" item="Decoder Version" default="8">
        <decVal/>
        <label>Manufacturer Version No: </label>
      </variable>
      <variable label="Manufacturer ID: " CV="8" readOnly="yes" item="Manufacturer" default="85">
        <decVal/>
        <label>Manufacturer ID: </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="Consist Direction" CV="19" mask="VXXXXXXX">
        <enumVal>
          <enumChoice choice="Normal">
            <choice>Normal</choice>
          </enumChoice>
          <enumChoice choice="Reversed">
            <choice>Reversed</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Direction</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" default="1">
        <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="Speed Table Definition" CV="29" mask="XXXVXXXX">
        <enumVal>
          <enumChoice choice="Use Vstart, Vmid, Vhigh">
            <choice>Use Vstart, Vmid, Vhigh</choice>
          </enumChoice>
          <enumChoice choice="Use table in CVs 66 through 95">
            <choice>Use table in CVs 66 through 95</choice>
          </enumChoice>
        </enumVal>
        <label>Speed Table Definition</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="Main Motor Control" CV="49" mask="XXXXXXXV">
        <enumVal>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
        </enumVal>
        <label>Main Motor Control</label>
      </variable>
      <variable label="Braking End" CV="49" mask="XXXXXVXX">
        <enumVal>
          <enumChoice choice="to standstill">
            <choice>to standstill</choice>
          </enumChoice>
          <enumChoice choice="as def. in CV52">
            <choice>as def. in CV52</choice>
          </enumChoice>
        </enumVal>
        <label>Braking End</label>
      </variable>
      <variable label="SX Programming" CV="49" mask="XXXXVXXX" default="1">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>SX Programming</label>
      </variable>
      <variable label="Data Format" CV="49" mask="XXXVXXXX">
        <enumVal>
          <enumChoice choice="Motorola and DDC">
            <choice>Motorola and DDC</choice>
          </enumChoice>
          <enumChoice choice="Selectrix">
            <choice>Selectrix</choice>
          </enumChoice>
        </enumVal>
        <label>Data Format</label>
      </variable>
      <variable label="Motorola Format" CV="49" mask="XXVXXXXX" default="1">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Motorola Format</label>
      </variable>
      <variable label="Lightplugs" CV="49" mask="XVXXXXXX">
        <enumVal>
          <enumChoice choice="straight">
            <choice>straight</choice>
          </enumChoice>
          <enumChoice choice="reverse">
            <choice>reverse</choice>
          </enumChoice>
        </enumVal>
        <label>Lightplugs</label>
      </variable>
      <variable label="Braking with" CV="49" mask="VXXXXXXX">
        <enumVal>
          <enumChoice choice="Braking signal only">
            <choice>Braking signal only</choice>
          </enumChoice>
          <enumChoice choice="with analog voltage">
            <choice>with analog voltage</choice>
          </enumChoice>
        </enumVal>
        <label>Braking with</label>
      </variable>
      <variable label="Function output dimming" CV="50" default="32">
        <decVal min="0" max="63"/>
        <label>Function output dimming</label>
      </variable>
      <variable label="Analog/Digitalswitch" CV="51">
        <enumVal>
          <enumChoice choice="Digital operation">
            <choice>Digital operation</choice>
          </enumChoice>
          <enumChoice choice="Analog operation">
            <choice>Analog operation</choice>
          </enumChoice>
        </enumVal>
        <label>Analog/Digitalswitch</label>
      </variable>
      <variable label="End braking speed" CV="52" default="30" tooltip="Valid when CV49 Bit 2=1 and Bit 7=1">
        <decVal/>
        <label>End braking speed</label>
      </variable>
      <variable label="Repetition rate" CV="53" default="80" tooltip="Value * 53 um; useful values 60-255">
        <decVal/>
        <label>Repetition rate</label>
      </variable>
      <variable label="Raise Motor voltage" CV="54" default="2" tooltip="Motor control parameter">
        <decVal/>
        <label>Raise Motor voltage</label>
      </variable>
      <variable label="Drop Motor voltage" CV="55" default="2" tooltip="Motor control parameter">
        <decVal/>
        <label>Drop Motor voltage</label>
      </variable>
      <variable label="AD Converter parameter" CV="56" default="1" readOnly="yes" tooltip="Do not change">
        <decVal/>
        <label>AD Converter parameter</label>
      </variable>
      <variable label="SX Speed table" CV="57" default="5" tooltip="Increment value for steps 29-31">
        <decVal/>
        <label>SX Speed table</label>
      </variable>
      <variable label="AD Timeslot" CV="58" default="14" tooltip="Timeslot for AD converter sensor">
        <decVal/>
        <label>AD Timeslot</label>
      </variable>
      <variable label="Short circuit supervision" CV="60" default="82" readOnly="yes" tooltip="Do not change! 0=deactivated">
        <decVal/>
        <label>Short circuit supervision</label>
      </variable>
      <variable label="Temperature switchoff limit" CV="61" default="0" tooltip="Different with each decoder, 0=deactivated">
        <decVal/>
        <label>Temperature switchoff limit</label>
      </variable>
      <variable label="Reserved CV for SX programming" CV="62" default="0" readOnly="yes" tooltip="Used with SX programming">
        <decVal/>
        <label>Reserved CV for SX programming</label>
      </variable>
      <variable label="Offset Register" CV="63" default="0" readOnly="yes" tooltip="Used with Motorola programming">
        <decVal/>
        <label>Offset Register</label>
      </variable>
      <variable label="Page Register" CV="64" default="0" readOnly="yes" tooltip="Used with DDC paged mode programming">
        <decVal/>
        <label>Page Register</label>
      </variable>
      <variable label="Speed Table" CV="67">
        <speedTableVal/>
        <label>Speed Table</label>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset All CVs" CV="59" default="1"/>
    </resets>
  </decoder>
  <pane name="Uhlenbrock">
    <column>
      <display item="Main Motor Control"/>
      <display item="Braking End"/>
      <display item="SX Programming"/>
      <display item="Data Format"/>
      <display item="Motorola Format"/>
      <display item="Lightplugs"/>
      <display item="Braking with"/>
      <label label=" ">
        <label> </label>
      </label>
      <display item="Analog/Digitalswitch"/>
    </column>
    <column>
      <display item="Function output dimming"/>
      <display item="End braking speed"/>
      <display item="Repetition rate"/>
      <display item="Raise Motor voltage"/>
      <display item="Drop Motor voltage"/>
      <display item="AD Converter parameter"/>
      <display item="SX Speed table"/>
      <display item="AD Timeslot"/>
      <display item="Temperature switchoff limit"/>
      <label label="These CV's are Read-Only: ">
        <label>These CV's are Read-Only: </label>
      </label>
      <display item="Short circuit supervision"/>
      <display item="SX register"/>
      <display item="Offset Register"/>
      <display item="Page Register"/>
    </column>
    <name>Uhlenbrock</name>
  </pane>
</decoder-config>

