<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2002, 2005, 2006, 2007 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-4-15-2.xsd">
  <version author="ronald@wirkuhns.de" version="3" lastUpdated="2019/04/25"/>
  <!-- added version 37 firmware capabilities, tested with MX634R with FW 37.8 -->
  <version author="ronald@wirkuhns.de" version="2" lastUpdated="2016/05/06"/>
  <!-- add translation to german in splitted files -->
  <version author="Mark Waters mark16jmri@mybtinternet.com" version="1" lastUpdated="20150207"/>
  <!-- Based on the "2014 04 20" English version of the ZIMO "Small decoder manual	     -->
  <!--                                                                                       -->
  <!-- This decoder XML is meant to be used with the "Comprehensive" programmer format.      -->
  <!-- Continued the practice of using unrelated "item" names to place Zimo unique           -->
  <!-- variables on the proper pane of the Comprehensive programmer.                         -->
  <!-- V 1 new file - Mark Waters - 7 Feb 2015-->
  <!-- v1.1,  added replacementModel for v39,  Ronald Kuhn, 02 May 2020 -->
  <!-- v1.2,  include CV's 190-191, Ulrich Gerlach 25 March 2023        --> 
  <decoder>
    <family name="Zimo Unified software (version 37+)" mfg="Zimo">
      <model model="MX634 version 37+" replacementModel="MX634 version 39+" replacementFamily="query:Zimo Unified software (version 39+)" lowVersionID="37" highVersionID="37" maxInputVolts="35V" maxMotorCurrent="1.2A" maxTotalCurrent="2.5A" formFactor="HO" numOuts="8" numFns="14" productID="240">
        <output name="1" label="Front Light">
          <label xml:lang="de">Lvor</label>
          <label xml:lang="cs">Přední světla</label>
        </output>
        <output name="2" label="Rear Light">
          <label xml:lang="de">Lrück</label>
          <label xml:lang="cs">Zadní světla</label>
        </output>
        <output name="3" label="FO 1">
          <label xml:lang="de">FA1</label>
          <label xml:lang="cs">Funkční výstup 1</label>
        </output>
        <output name="4" label="FO 2">
          <label xml:lang="de">FA2</label>
          <label xml:lang="cs">Funkční výstup 2</label>
        </output>
        <output name="5" label="FO 3">
          <label xml:lang="de">FA3</label>
          <label xml:lang="cs">Funkční výstup 3</label>
        </output>
        <output name="6" label="FO 4">
          <label xml:lang="de">FA4</label>
          <label xml:lang="cs">Funkční výstup 4</label>
        </output>
        <output name="7" label="FO 5 (+5v)">
          <label xml:lang="de">FA5|(+5v)</label>
          <label xml:lang="cs">Funkční výstup 5 (+5V)</label>
        </output>
        <output name="8" label="FO 6 (+5v)">
          <label xml:lang="de">FA6|(+5v)</label>
          <label xml:lang="cs">Funkční výstup 6 (+5V)</label>
        </output>
        <size length="20.5" width="15.5" height="4" units="mm"/>
      </model>
      <model model="MX634C version 37+" replacementModel="MX634C version 39+" replacementFamily="query:Zimo Unified software (version 39+)" lowVersionID="37" highVersionID="37" maxInputVolts="35V" maxMotorCurrent="1.2A" maxTotalCurrent="2.5A" formFactor="HO" connector="21MTC" numOuts="8" numFns="14" productID="240">
        <output name="1" label="Front Light">
          <label xml:lang="de">Lvor</label>
          <label xml:lang="cs">Přední světla</label>
        </output>
        <output name="2" label="Rear Light">
          <label xml:lang="de">Lrück</label>
          <label xml:lang="cs">Zadní světla</label>
        </output>
        <output name="3" label="FO 1">
          <label xml:lang="de">FA1</label>
          <label xml:lang="cs">Funkční výstup 1</label>
        </output>
        <output name="4" label="FO 2">
          <label xml:lang="de">FA2</label>
          <label xml:lang="cs">Funkční výstup 2</label>
        </output>
        <output name="5" label="FO 3 (+5v)">
          <label xml:lang="de">FA3 (+5v)</label>
          <label xml:lang="cs">Funkční výstup 3 (+5V)</label>
        </output>
        <output name="6" label="FO 4 (+5v)">
          <label xml:lang="de">FA4 (+5v)</label>
          <label xml:lang="cs">Funkční výstup 4 (+5V)</label>
        </output>
        <output name="7" label="FO 5 (+5v)">
          <label xml:lang="de">FA5</label>
          <label xml:lang="cs">Funkční výstup 5 (+5V)</label>
        </output>
        <output name="8" label="FO 6 (+5v)">
          <label xml:lang="de">FA6</label>
          <label xml:lang="cs">Funkční výstup 6 (+5V)</label>
        </output>
        <size length="20.5" width="15.5" height="4" units="mm"/>
      </model>
      <model model="MX634D version 37+" replacementModel="MX634D version 39+" replacementFamily="query:Zimo Unified software (version 39+)" lowVersionID="37" highVersionID="37" maxInputVolts="35V" maxMotorCurrent="1.2A" maxTotalCurrent="2.5A" formFactor="HO" connector="21MTC" numOuts="8" numFns="14" productID="240">
        <output name="1" label="Front Light">
          <label xml:lang="de">Lvor</label>
          <label xml:lang="cs">Přední světla</label>
        </output>
        <output name="2" label="Rear Light">
          <label xml:lang="de">Lrück</label>
          <label xml:lang="cs">Zadní světla</label>
        </output>
        <output name="3" label="FO 1">
          <label xml:lang="de">FA1</label>
          <label xml:lang="cs">Funkční výstup 1</label>
        </output>
        <output name="4" label="FO 2">
          <label xml:lang="de">FA2</label>
          <label xml:lang="cs">Funkční výstup 2</label>
        </output>
        <output name="5" label="FO 3">
          <label xml:lang="de">FA3</label>
          <label xml:lang="cs">Funkční výstup 3</label>
        </output>
        <output name="6" label="FO 4">
          <label xml:lang="de">FA4</label>
          <label xml:lang="cs">Funkční výstup 4</label>
        </output>
        <output name="7" label="FO 5 (+5v)">
          <label xml:lang="de">FA5</label>
          <label xml:lang="cs">Funkční výstup 5 (+5V)</label>
        </output>
        <output name="8" label="FO 6 (+5v)">
          <label xml:lang="de">FA6</label>
          <label xml:lang="cs">Funkční výstup 6 (+5V)</label>
        </output>
        <size length="20.5" width="15.5" height="4" units="mm"/>
      </model>
      <model model="MX634F version 37+" replacementModel="MX634F version 39+" replacementFamily="query:Zimo Unified software (version 39+)" lowVersionID="37" highVersionID="37" maxInputVolts="35V" maxMotorCurrent="1.2A" maxTotalCurrent="2.5A" formFactor="HO" connector="NMRAsmall" numOuts="8" numFns="14" productID="240">
        <output name="1" label="Front Light">
          <label xml:lang="de">Lvor</label>
          <label xml:lang="cs">Přední světla</label>
        </output>
        <output name="2" label="Rear Light">
          <label xml:lang="de">Lrück</label>
          <label xml:lang="cs">Zadní světla</label>
        </output>
        <output name="3" label="FO 1">
          <label xml:lang="de">FA1</label>
          <label xml:lang="cs">Funkční výstup 1</label>
        </output>
        <output name="4" label="FO 2">
          <label xml:lang="de">FA2</label>
          <label xml:lang="cs">Funkční výstup 2</label>
        </output>
        <output name="5" label="FO 3">
          <label xml:lang="de">FA3</label>
          <label xml:lang="cs">Funkční výstup 3</label>
        </output>
        <output name="6" label="FO 4">
          <label xml:lang="de">FA4</label>
          <label xml:lang="cs">Funkční výstup 4</label>
        </output>
        <output name="7" label="FO 5 (+5v)">
          <label xml:lang="de">FA5</label>
          <label xml:lang="cs">Funkční výstup 5 (+5V)</label>
        </output>
        <output name="8" label="FO 6 (+5v)">
          <label xml:lang="de">FA6</label>
          <label xml:lang="cs">Funkční výstup 6 (+5V)</label>
        </output>
        <size length="20.5" width="15.5" height="4" units="mm"/>
      </model>
      <model model="MX634R version 37+" replacementModel="MX634R version 39+" replacementFamily="query:Zimo Unified software (version 39+)" lowVersionID="37" highVersionID="37" maxInputVolts="35V" maxMotorCurrent="1.2A" maxTotalCurrent="2.5A" formFactor="HO" connector="NMRAmedium" numOuts="8" numFns="14" productID="240">
        <output name="1" label="Front Light">
          <label xml:lang="de">Lvor</label>
          <label xml:lang="cs">Přední světla</label>
        </output>
        <output name="2" label="Rear Light">
          <label xml:lang="de">Lrück</label>
          <label xml:lang="cs">Zadní světla</label>
        </output>
        <output name="3" label="FO 1">
          <label xml:lang="de">FA1</label>
          <label xml:lang="cs">Funkční výstup 1</label>
        </output>
        <output name="4" label="FO 2">
          <label xml:lang="de">FA2</label>
          <label xml:lang="cs">Funkční výstup 2</label>
        </output>
        <output name="5" label="FO 3">
          <label xml:lang="de">FA3</label>
          <label xml:lang="cs">Funkční výstup 3</label>
        </output>
        <output name="6" label="FO 4">
          <label xml:lang="de">FA4</label>
          <label xml:lang="cs">Funkční výstup 4</label>
        </output>
        <output name="7" label="FO 5 (+5v)">
          <label xml:lang="de">FA5|(+5v)</label>
          <label xml:lang="cs">Funkční výstup 5 (+5V)</label>
        </output>
        <output name="8" label="FO 6 (+5v)">
          <label xml:lang="de">FA6|(+5v)</label>
          <label xml:lang="cs">Funkční výstup 6 (+5V)</label>
        </output>
        <size length="20.5" width="15.5" height="4" units="mm"/>
      </model>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <variables>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV1-CV99.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV20.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV100-CV152version30.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV153-CV157version28.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV158version32.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV161-CV185Servo.xml"/>
	  <xi:include href="http://jmri.org/xml/decoders/zimo/CV190-CV191.xml"/>
     <!-- CV7 set to default 37 -->
      <variable CV="7" item="Decoder Version" readOnly="yes" default="37">
        <decVal/>
        <label>Manufacturer 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 item="Decoder ID 1" CV="250" default="240" readOnly="yes">
        <decVal/>
        <label>Decoder ID 1</label>
        <label xml:lang="it">ID 1 Decoder: </label>
        <label xml:lang="cs">Dekodér ID 1</label>
      </variable>
      <variable item="Decoder ID 2" CV="251" readOnly="yes">
        <decVal/>
        <label>Decoder ID 2</label>
        <label xml:lang="it">ID 2 Decoder: </label>
        <label xml:lang="cs">Dekodér ID 2</label>
      </variable>
      <variable item="Decoder ID 3" CV="252" readOnly="yes">
        <decVal/>
        <label>Decoder ID 3</label>
        <label xml:lang="it">ID 3 Decoder: </label>
        <label xml:lang="cs">Dekodér ID 3</label>
      </variable>
      <variable item="Decoder ID 4" CV="253" readOnly="yes">
        <decVal/>
        <label>Decoder ID 4</label>
        <label xml:lang="it">ID 4 Decoder: </label>
        <label xml:lang="cs">Dekodér ID 4</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV399.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CVSwissMapping_v36.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV508-CV512.xml"/>
      <!-- Begin constant stopping distance variables -->
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV830-CV833.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV835.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CVs_version37.xml"/>
    </variables>
    <xi:include href="http://jmri.org/xml/decoders/zimo/factReset-v32.xml"/>
  </decoder>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneConsist.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneAccelDecel.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneShuntUncouple.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneAltFunctionMap6+2.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneSwissMapping_v36.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneFunctionOutput.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneSmoke.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneZimoSpecific.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneRailcom.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneABC.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneSpeedRegulation.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneServos2.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneDecoderlock.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneLoadCode.xml"/>
</decoder-config>
