<?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 -->
<!-- $Id$ -->
<!--                                                                        -->
<!-- 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">

  <!--  Initial version, created from copy of MS Sound (version 4+) for the MS-series decoders -->
  <!-- v1    Ronald Kuhn. 25 May 2023, initial version   -->
  <!-- v1.1  Ronald Kuhn. 2 May 2024, add new decoder   -->

  <version author="Ronald Kuhn" version="1.0" lastUpdated="2023/05/25"/>

  <decoder>
    <family name="MN Non-Sound (version 4+)" mfg="Zimo">

<!-- not available yet (2024-05-02)
      <model model="MN140E24 version 4+" lowVersionID="4" highVersionID="42" maxInputVolts="24V" maxMotorCurrent="0.7A, peak=1.5A" maxTotalCurrent="0.7A" formFactor="N" numOuts="8" numFns="14" productID="119">
        <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">
          <label xml:lang="de">FA5</label>
          <label xml:lang="cs">Funkční výstup 5</label>
        </output>
        <output name="8" label="FO 6">
          <label xml:lang="de">FA6</label>
          <label xml:lang="cs">Funkční výstup 6</label>
        </output>
        <size length="14" width="8.7" height="2.3" units="mm"/>
      </model>
-->
      <model model="MN160 version 4+" lowVersionID="4" highVersionID="42" maxInputVolts="24V" maxMotorCurrent="0.5A, peak=1.0A" maxTotalCurrent="0.5A" formFactor="N" numOuts="6" numFns="14" productID="122">
        <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>
        <size length="13" width="7.5" height="1.6" units="mm"/>
      </model>

      <model model="MN170 version 4+" lowVersionID="4" highVersionID="42" maxInputVolts="24V" maxMotorCurrent="0.7A, peak=1.5A" maxTotalCurrent="0.7A" formFactor="N" numOuts="8" numFns="14" productID="124">
        <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</label>
        </output>
        <output name="8" label="FO 6 (+5v)">
          <label xml:lang="de">FA6</label>
          <label xml:lang="cs">Funkční výstup 6</label>
        </output>
        <size length="12" width="8.6" height="2.3" units="mm"/>
      </model>

      <model model="MN180N18 version 4+" lowVersionID="4" highVersionID="42" maxInputVolts="24V" maxMotorCurrent="0.7A, peak=1.5A" maxTotalCurrent="0.7A" formFactor="N" connector="Next18" numOuts="6" numFns="14" productID="127">
        <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">FV 1</label>
        </output>
        <output name="4" label="FO 2">
          <label xml:lang="de">FA2</label>
          <label xml:lang="cs">FV 2</label>
        </output>
        <output name="5" label="FO 3 (+5v)">
          <label xml:lang="de">FA3</label>
          <label xml:lang="cs">FV 3</label>
        </output>
        <output name="6" label="FO 4 (+5v)">
          <label xml:lang="de">FA4</label>
          <label xml:lang="cs">FV 4</label>
        </output>
        <size length="13.3" width="9.5" height="2.6" units="mm"/>
      </model>

<!-- not available yet (2024-05-02)
      <model model="MN250 version 4+" lowVersionID="4" highVersionID="42" maxInputVolts="24V" maxMotorCurrent="0.2A, peak=1.0A" maxTotalCurrent="0.2A" formFactor="N" numOuts="6" numFns="14" productID="120">
        <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>
        <size length="9.9" width="7.5" height="2.1" units="mm"/>
      </model>
-->
      <model model="MN300 version 4+" lowVersionID="4" highVersionID="41" maxInputVolts="35V" maxMotorCurrent="1.0A, peak=1.5A" maxTotalCurrent="1.0A" formFactor="H0" numOuts="8" numFns="14" productID="125">
        <output name="1" label="Front Light"/>
        <output name="2" label="Rear Light"/>
        <output name="3" label="FO 1"/>
        <output name="4" label="FO 2"/>
        <output name="5" label="FO 3"/>
        <output name="6" label="FO 4"/>
        <output name="7" label="FO 5 (+5v)"/>
        <output name="8" label="FO 6 (+5v)"/>
        <size length="17.6" width="10.5" height="3.1" units="mm"/>
      </model>

      <model model="MN330 version 4+" lowVersionID="4" highVersionID="41" maxInputVolts="35V" maxMotorCurrent="1.2A, peak=2.5A" maxTotalCurrent="1.2A" formFactor="H0" numOuts="12" numFns="14" productID="126">
        <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">FV 1</label>
        </output>
        <output name="4" label="FO 2">
          <label xml:lang="de">FA2</label>
          <label xml:lang="cs">FV 2</label>
        </output>
        <output name="5" label="FO 3">
          <label xml:lang="de">FA3</label>
          <label xml:lang="cs">FV 3</label>
        </output>
        <output name="6" label="FO 4">
          <label xml:lang="de">FA4</label>
          <label xml:lang="cs">FV 4</label>
        </output>
        <output name="7" label="FO 5">
          <label xml:lang="de">FA5</label>
          <label xml:lang="cs">FV 5</label>
        </output>
        <output name="8" label="FO 6">
          <label xml:lang="de">FA6</label>
          <label xml:lang="cs">FV 6</label>
        </output>
        <output name="9" label="FO 7">
          <label xml:lang="de">FA7</label>
          <label xml:lang="cs">FV 7</label>
        </output>
        <output name="10" label="FO 8">
          <label xml:lang="de">FA8</label>
          <label xml:lang="cs">FV 8</label>
        </output>
        <output name="11" label="FO 9 (+5V)">
          <label xml:lang="de">FA9 (+5V)</label>
          <label xml:lang="cs">FV 9 (+5V)</label>
        </output>
        <output name="12" label="FO 10 (+5V)">
          <label xml:lang="de">FA10 (+5V)</label>
          <label xml:lang="cs">FV 10 (+5V)</label>
        </output>
        <size length="30" width="15.3" height="2.2" units="mm"/>
      </model>

      <model model="MN340C version 4+" lowVersionID="4" highVersionID="41" maxInputVolts="35V" maxMotorCurrent="1.2A, peak=2.5A" maxTotalCurrent="1.2A" formFactor="H0" numOuts="6" numFns="14" productID="123">
        <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">FV 1</label>
        </output>
        <output name="4" label="FO 2">
          <label xml:lang="de">FA2</label>
          <label xml:lang="cs">FV 2</label>
        </output>
        <output name="5" label="FO 3 (+5v)">
          <label xml:lang="de">FA3 (+5v)</label>
          <label xml:lang="cs">FV 3 (+5V)</label>
        </output>
        <output name="6" label="FO 4 (+5v)">
          <label xml:lang="de">FA4 (+5v)</label>
          <label xml:lang="cs">FV 4 (+5V)</label>
        </output>
        <size length="28.6" width="15.3" height="2.5" units="mm"/>
      </model>

      <model model="MN340D version 4+" lowVersionID="4" highVersionID="41" maxInputVolts="35V" maxMotorCurrent="1.2A, peak=2.5A" maxTotalCurrent="1.2A" formFactor="H0" numOuts="10" numFns="14" productID="123">
        <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">FV 1</label>
        </output>
        <output name="4" label="FO 2">
          <label xml:lang="de">FA2</label>
          <label xml:lang="cs">FV 2</label>
        </output>
        <output name="5" label="FO 3 (+5v)">
          <label xml:lang="de">FA3 (+5v)</label>
          <label xml:lang="cs">FV 3 (+5V)</label>
        </output>
        <output name="6" label="FO 4 (+5v)">
          <label xml:lang="de">FA4 (+5v)</label>
          <label xml:lang="cs">FV 4 (+5V)</label>
        </output>
        <output name="7" label="FO 5">
          <label xml:lang="de">FA5</label>
          <label xml:lang="cs">FV 5</label>
        </output>
        <output name="8" label="FO 6">
          <label xml:lang="de">FA6</label>
          <label xml:lang="cs">FV 6</label>
        </output>
        <output name="9" label="FO 7 (+5V)">
          <label xml:lang="de">FA7</label>
          <label xml:lang="cs">FV 7</label>
        </output>
        <output name="10" label="FO 8 (+5V)">
          <label xml:lang="de">FA8</label>
          <label xml:lang="cs">FV 8</label>
        </output>
        <size length="28.6" width="15.3" height="2.5" 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_MS_series.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV100-CV199_MS_series.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV200-CV249_MS_series.xml"/>


      <variable CV="7" item="Decoder Version" readOnly="yes" default="4">
        <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="119" readOnly="yes" include="119">
        <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 1 Text" CV="250" default="119" readOnly="yes" include="119">
        <xi:include href="http://jmri.org/xml/decoders/zimo/CV250_ProductID_enum.xml"/>
      </variable>
      <variable item="Decoder ID 1" CV="250" default="120" readOnly="yes" include="120">
        <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 1 Text" CV="250" default="120" readOnly="yes" include="120">
        <xi:include href="http://jmri.org/xml/decoders/zimo/CV250_ProductID_enum.xml"/>
      </variable>
      <variable item="Decoder ID 1" CV="250" default="122" readOnly="yes" include="122">
        <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 1 Text" CV="250" default="122" readOnly="yes" include="122">
        <xi:include href="http://jmri.org/xml/decoders/zimo/CV250_ProductID_enum.xml"/>
      </variable>
      <variable item="Decoder ID 1" CV="250" default="123" readOnly="yes" include="123">
        <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 1 Text" CV="250" default="123" readOnly="yes" include="123">
        <xi:include href="http://jmri.org/xml/decoders/zimo/CV250_ProductID_enum.xml"/>
      </variable>
      <variable item="Decoder ID 1" CV="250" default="124" readOnly="yes" include="124">
        <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 1 Text" CV="250" default="124" readOnly="yes" include="124">
        <xi:include href="http://jmri.org/xml/decoders/zimo/CV250_ProductID_enum.xml"/>
      </variable>
      <variable item="Decoder ID 1" CV="250" default="125" readOnly="yes" include="125">
        <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 1 Text" CV="250" default="125" readOnly="yes" include="125">
        <xi:include href="http://jmri.org/xml/decoders/zimo/CV250_ProductID_enum.xml"/>
      </variable>
      <variable item="Decoder ID 1" CV="250" default="126" readOnly="yes" include="126">
        <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 1 Text" CV="250" default="126" readOnly="yes" include="126">
        <xi:include href="http://jmri.org/xml/decoders/zimo/CV250_ProductID_enum.xml"/>
      </variable>
      <variable item="Decoder ID 1" CV="250" default="127" readOnly="yes" include="127">
        <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 1 Text" CV="250" default="127" readOnly="yes" include="127">
        <xi:include href="http://jmri.org/xml/decoders/zimo/CV250_ProductID_enum.xml"/>
      </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/CV260-CV399_MS_series.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV400-CV499_MS_series.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV500-CV603_MS_series.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV604-CV699_MS_series.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV700-CV899_MS_series.xml"/>

    </variables>
    <xi:include href="http://jmri.org/xml/decoders/zimo/factReset-v32.xml"/>

    <!--   Begin additional extraMemu elements - Jacobsen / Cliffe,   Feb 2022 -->
    <xi:include href="http://jmri.org/xml/decoders/zimo/LoadCalibrationExtraMenu.xml"/>
    <!--   End additional extraMemu elements - Jacobsen / Cliffe,   Feb 2022  -->

  </decoder>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneConsist.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneAccelDecel_MS_series.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneShuntUncouple.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneAltFunctionMap_MS_series.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneSwissMapping_MS_series.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/PaneInputMapping.xml"/>
  <!-- Begin sound-only panes -->
  <!-->
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneSoundLevels.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneSoundSamples.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneSound.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneSound-ElectricLoco.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneSound-DieselLoco.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneRandomSounds.xml"/>
  -->
  <!-- End sound-only panes -->
  <xi:include href="http://jmri.org/xml/decoders/zimo/PaneLoadCode.xml"/>
</decoder-config>
