<?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="Mark Waters mark16w-jmri@yahoo.co.uk" version="1" lastUpdated="20110815"/>
  <!-- This decoder configuration file is based on the Zimo_MX640_v9.xml                     -->
  <!-- V 1 file, dated 20090222. With the Sound tabs from Jeff Schmaltz' MX69/MX690 file.    -->
  <!--                                                                                       -->
  <!-- Based on the "2010 03 01" English version of the ZIMO MX640            			 -->
  <!-- decoder manual (with thanks to Art Luescher of ZIMO Agency of North America           -->
  <!-- for the translations!)with updates from "2010 10 15" German version			 -->
  <!-- and the decoder software update page of the Zimo website.					 -->
  <!--                                                                                       -->
  <!-- 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 -->
  <decoder>
    <family name="Zimo Unified software (version 25+)" mfg="Zimo">
      <model model="MX690V version 30+" lowVersionID="30" highVersionID="35" maxInputVolts="24 V" maxMotorCurrent="4-5 A (peak 8 A)" maxTotalCurrent="4-5 A (peak 8 A)" numOuts="14" numFns="14" formFactor="G" connector="other" productID="208">
        <output name="1" label="Front light" comment="pin-6,  left" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="2" label="Rear light " comment="pin-11, left" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="3" label="   FO  1   " comment="pin-14, left" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="4" label="   FO  2   " comment="pin-7,  left" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="5" label="   FO  3   " comment="pin-13, left" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="6" label="   FO  4   " comment="pin-9,  left" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="7" label="   FO  5   " comment="pin-12, left" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="8" label="   FO  6   " comment="pin-8,  left" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="9" label="   FO  7   " comment="pin-12, right" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="10" label="   FO  8   " comment="pin-13, right" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="11" label="   FO  9   " comment="pin-14, right" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="12" label="   FO 10   " comment="pin-8,  right" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="13" label="   FO 11   " comment="pin-15, right" maxcurrent="1.5 A total per group" connection="plug"/>
        <output name="14" label="   FO 12   " comment="pin-16, right" maxcurrent="1.5 A total per group" connection="plug"/>
        <size length="55" width="26" height="18" 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/CV100-CV152version30.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV152bit7version27.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV153-CV157version28.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV159-CV160.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV161-CV185Servo.xml"/>
      <variable item="Decoder ID 1" CV="250" default="208" readOnly="yes">
        <decVal/>
        <label>Decoder ID 1</label>
        <label xml:lang="it">ID 1 Decoder: </label>
        <label xml:lang="cs">ID 1 Dekodéru </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">ID 2 Dekodéru </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">ID 3 Dekodéru </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">ID 4 Dekodéru </label>
      </variable>
      <!-- Begin sound-only variables -->
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV260-CV355sound_version30.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV357-CV365sound_version28.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV366-CV371sound.xml"/>
      <!-- End sound-only variables -->
      <xi:include href="http://jmri.org/xml/decoders/zimo/CV400-CV428.xml"/>
    </variables>
    <xi:include href="http://jmri.org/xml/decoders/zimo/factReset-v32.xml"/>
  </decoder>
  <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/PaneAltFunctionMap8+.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/PaneServos4.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/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>
