<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2004 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="Bob Jacobsen" version="2" lastUpdated="20190727"/> <!-- xinclude for CV19 -->
  <version author="Michael Greene (mgreene@cedarlane.com)" version="1" lastUpdated="20041020"/>
  <!-- version 1 initial version -->
  <!-- Based on the Zimo MX61_1.XML file -->
  <decoder>
    <family name="Zimo Silent BEMF decoders, early model" mfg="Zimo">
      <model model="MX61_N" lowVersionID="132" maxInputVolts="10-24V" maxMotorCurrent="0.8A (peak=2A, 5 sec.)" maxTotalCurrent="1.0A" formFactor="HO" numOuts="6" numFns="6">
        <output name="1" label="White"/>
        <output name="2" label="Yellow"/>
        <output name="3" label="Brown"/>
        <output name="4" label="NC - Logic Level"/>
        <output name="5" label="NC - Logic Level"/>
        <output name="6" label="NC - Logic Level"/>
      </model>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <variables>
      <xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
      <variable item="Vstart" CV="2" default="7" comment="Range 0-252">
        <decVal max="252"/>
        <label>Vstart</label>
        <label xml:lang="it">Volt Partenza</label>
        <label xml:lang="fr">V démarr.</label>
        <label xml:lang="de">Anfahrspannung</label>
        <comment>Range 0-252</comment>
        <comment xml:lang="it">Valori 0-252</comment>
      </variable>
       <!-- CV 3-4 -->
     <xi:include href="http://jmri.org/xml/decoders/nmra/accelDecel_255.xml"/>
      <variable item="Vhigh" CV="5" default="252" comment="Range 0-252">
        <decVal max="252"/>
        <label>Vhigh</label>
        <label xml:lang="it">Volt Massimi</label>
        <label xml:lang="fr">Vmax</label>
        <label xml:lang="de">Höchstgeschwindigkeit</label>
        <comment>Range 0-252</comment>
        <comment xml:lang="it">Valori 0-252</comment>
      </variable>
      <variable item="Vmid" CV="6" default="0" comment="Range 0-252">
        <decVal max="252"/>
        <label>Vmid</label>
        <label xml:lang="it">Volt Intermedi</label>
        <label xml:lang="fr">Vmoy</label>
        <label xml:lang="de">Mittengeschwindigkeit</label>
        <comment xml:lang="it">Valori 0-252</comment>
      </variable>
      <variable CV="7" item="Decoder Version" readOnly="yes" default="132">
        <decVal/>
        <label>Decoder 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>
      </variable>
      <variable CV="8" readOnly="yes" item="Manufacturer" default="145">
        <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>
      <variable item="Total PWM Period" CV="9" default="0" comment="Range 0/176-255">
        <decVal/>
        <label>Total PWM Period</label>
        <label xml:lang="it">Periodo PWM (Frequenza pilotaggio Motore)</label>
        <comment>Range 0/176-255</comment>
        <comment xml:lang="it">Valori 0 / 176-255</comment>
      </variable>

      <xi:include href="http://jmri.org/xml/decoders/nmra/consistAddr.xml"/>

      <!-- 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"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29table3-28.xml"/>
      <variable item="FL(f) controls output 1" CV="33" default="1" mask="XXXXXXXV" minOut="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 1</label>
        <label xml:lang="it">Luci (in avanti) controlla uscita 1</label>
      </variable>
      <variable item="FL(f) controls output 2" CV="33" mask="XXXXXXVX" minOut="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 2</label>
        <label xml:lang="it">Luci (in avanti) controlla uscita 2</label>
      </variable>
      <variable item="FL(f) controls output 3" CV="33" mask="XXXXXVXX" minOut="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 3</label>
        <label xml:lang="it">Luci (in avanti) controlla uscita 3</label>
      </variable>
      <variable item="FL(f) controls output 4" CV="33" mask="XXXXVXXX" minOut="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 4</label>
        <label xml:lang="it">Luci (in avanti) controlla uscita 4</label>
      </variable>
      <variable item="FL(f) controls output 5" CV="33" mask="XXXVXXXX" minOut="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 5</label>
        <label xml:lang="it">Luci (in avanti) controlla uscita 5</label>
      </variable>
      <variable item="FL(f) controls output 6" CV="33" mask="XXVXXXXX" minOut="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(f) controls output 6</label>
        <label xml:lang="it">Luci (in avanti) controlla uscita 6</label>
      </variable>
      <variable item="FL(r) controls output 1" CV="34" mask="XXXXXXXV" minOut="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 1</label>
        <label xml:lang="it">Luci (in retro) controlla uscita 1</label>
      </variable>
      <variable item="FL(r) controls output 2" CV="34" default="1" mask="XXXXXXVX" minOut="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 2</label>
        <label xml:lang="it">Luci (in retro) controlla uscita 2</label>
      </variable>
      <variable item="FL(r) controls output 3" CV="34" mask="XXXXXVXX" minOut="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 3</label>
        <label xml:lang="it">Luci (in retro) controlla uscita 3</label>
      </variable>
      <variable item="FL(r) controls output 4" CV="34" mask="XXXXVXXX" minOut="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 4</label>
        <label xml:lang="it">Luci (in retro) controlla uscita 4</label>
      </variable>
      <variable item="FL(r) controls output 5" CV="34" mask="XXXVXXXX" minOut="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 5</label>
        <label xml:lang="it">Luci (in retro) controlla uscita 5</label>
      </variable>
      <variable item="FL(r) controls output 6" CV="34" mask="XXVXXXXX" minOut="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>FL(r) controls output 6</label>
        <label xml:lang="it">Luci (in retro) controlla uscita 6</label>
      </variable>
      <variable item="F1 controls output 1" CV="35" mask="XXXXXXXV" minOut="1" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 1</label>
        <label xml:lang="it">F1 controlla uscita 1</label>
      </variable>
      <variable item="F1 controls output 2" CV="35" mask="XXXXXXVX" minOut="2" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 2</label>
        <label xml:lang="it">F1 controlla uscita 2</label>
      </variable>
      <variable item="F1 controls output 3" CV="35" default="1" mask="XXXXXVXX" minOut="3" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 3</label>
        <label xml:lang="it">F1 controlla uscita 3</label>
      </variable>
      <variable item="F1 controls output 4" CV="35" mask="XXXXVXXX" minOut="4" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 4</label>
        <label xml:lang="it">F1 controlla uscita 4</label>
      </variable>
      <variable item="F1 controls output 5" CV="35" mask="XXXVXXXX" minOut="5" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 5</label>
        <label xml:lang="it">F1 controlla uscita 5</label>
      </variable>
      <variable item="F1 controls output 6" CV="35" mask="XXVXXXXX" minOut="6" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F1 controls output 6</label>
        <label xml:lang="it">F1 controlla uscita 6</label>
      </variable>
      <variable item="F2 controls output 1" CV="36" mask="XXXXXXXV" minOut="1" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 1</label>
        <label xml:lang="it">F2 controlla uscita 1</label>
      </variable>
      <variable item="F2 controls output 2" CV="36" mask="XXXXXXVX" minOut="2" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 2</label>
        <label xml:lang="it">F2 controlla uscita 2</label>
      </variable>
      <variable item="F2 controls output 3" CV="36" mask="XXXXXVXX" minOut="3" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 3</label>
        <label xml:lang="it">F2 controlla uscita 3</label>
      </variable>
      <variable item="F2 controls output 4" CV="36" default="1" mask="XXXXVXXX" minOut="4" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 4</label>
        <label xml:lang="it">F2 controlla uscita 4</label>
      </variable>
      <variable item="F2 controls output 5" CV="36" mask="XXXVXXXX" minOut="5" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 5</label>
        <label xml:lang="it">F2 controlla uscita 5</label>
      </variable>
      <variable item="F2 controls output 6" CV="36" mask="XXVXXXXX" minOut="6" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F2 controls output 6</label>
        <label xml:lang="it">F2 controlla uscita 6</label>
      </variable>
      <variable item="F3 controls output 3" CV="37" mask="XXXXXXXV" minOut="3" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 3</label>
        <label xml:lang="it">F3 controlla uscita 3</label>
      </variable>
      <variable item="F3 controls output 4" CV="37" mask="XXXXXXVX" minOut="4" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 4</label>
        <label xml:lang="it">F3 controlla uscita 4</label>
      </variable>
      <variable item="F3 controls output 5" CV="37" default="1" mask="XXXXXVXX" minOut="5" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 5</label>
        <label xml:lang="it">F3 controlla uscita 5</label>
      </variable>
      <variable item="F3 controls output 6" CV="37" mask="XXXXVXXX" minOut="6" minFn="3">
       <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>F3 controls output 6</label>
        <label xml:lang="it">F3 controlla uscita 6</label>
      </variable>
      <variable item="Signal Controlled Acceleration" CV="49" default="0" comment="Range 0-255">
        <decVal max="255"/>
        <label>Signal Controlled Acceleration</label>
        <label xml:lang="it">Accellerazione dipendente da Segnale</label>
        <comment>Range 0-255</comment>
        <comment xml:lang="it">Valori 0-255</comment>
      </variable>
      <variable item="Signal Controlled Deceleration" CV="50" default="0" comment="Range 0-255">
        <decVal max="255"/>
        <label>Signal Controlled Deceleration</label>
        <label xml:lang="it">Decellarazione dipendente da Segnale</label>
        <comment>Range 0-255</comment>
        <comment xml:lang="it">Valori 0-255</comment>
      </variable>
      <variable item="Signal Controlled Speed Limit -1-" CV="51" default="20" comment="Range 0-252">
        <decVal max="252"/>
        <label>Signal Controlled Speed Limit -1-</label>
        <label xml:lang="it">Velocità max. controllata da Segnale -1-</label>
        <comment>Range 0-252</comment>
        <comment xml:lang="it">Valori 0-252</comment>
      </variable>
      <variable item="Signal Controlled Speed Limit -U-" CV="52" default="40" comment="Range 0-252">
        <decVal max="252"/>
        <label>Signal Controlled Speed Limit -U-</label>
        <label xml:lang="it">Velocità max. controllata da Segnale -U-</label>
        <comment>Range 0-252</comment>
        <comment xml:lang="it">Valori 0-252</comment>
      </variable>
      <variable item="Signal Controlled Speed Limit -2-" CV="53" default="70" comment="Range 0-252">
        <decVal max="252"/>
        <label>Signal Controlled Speed Limit -2-</label>
        <label xml:lang="it">Velocità max. controllata da Segnale -2-</label>
        <comment>Range 0-252</comment>
        <comment xml:lang="it">Valori 0-252</comment>
      </variable>
      <variable item="Signal Controlled Speed Limit -L-" CV="54" default="110" comment="Range 0-252">
        <decVal max="252"/>
        <label>Signal Controlled Speed Limit -L-</label>
        <label xml:lang="it">Velocità max. controllata da Segnale -L-</label>
        <comment>Range 0-252</comment>
        <comment xml:lang="it">Valori 0-252</comment>
      </variable>
      <variable item="Signal Controlled Speed Limit -3-" CV="55" default="180" comment="Range 0-252">
        <decVal max="252"/>
        <label>Signal Controlled Speed Limit -3-</label>
        <label xml:lang="it">Velocità max. controllata da Segnale -3-</label>
        <comment>Range 0-252</comment>
        <comment xml:lang="it">Valori 0-252</comment>
      </variable>
      <variable item="Back EMF Control D-parameter" CV="56" default="50" comment="Range 0-255">
        <decVal max="255"/>
        <label>Back EMF Control D-parameter</label>
        <label xml:lang="it">Back EMF parametro di controllo D</label>
        <comment>Range 0-255</comment>
        <comment xml:lang="it">Valori 0-255</comment>
      </variable>
      <variable item="Voltage Reference" CV="57" default="0" comment="Range 0-255">
        <decVal max="255"/>
        <label>Voltage Reference</label>
        <label xml:lang="it">Tensione di Riferimento</label>
        <comment>Range 0-255</comment>
        <comment xml:lang="it">Valori 0-255</comment>
      </variable>
      <variable item="Back EMF Intensity" CV="58" default="255" comment="Controls how much BEMF (0-no BEMF to 255-max)">
        <decVal min="0" max="255"/>
        <label>Back EMF Intensity</label>
        <label xml:lang="it">Intensità BEMF</label>
        <comment>Controls how much BEMF (0-no BEMF to 255-max)</comment>
        <comment xml:lang="it">Controlla intensità BEMF (0=no, 255=max)</comment>
      </variable>
      <variable item="Signal Controlled Reaction Time" CV="59" default="0" comment="Range 0-255">
        <decVal max="255"/>
        <label>Signal Controlled Reaction Time</label>
        <label xml:lang="it">Tempo di reazione controllato da Segnale</label>
        <comment>Range 0-255</comment>
        <comment xml:lang="it">Valori 0-255</comment>
      </variable>
      <variable item="Function Outputs Voltage Reduction" CV="60" default="0" comment="Controls function output voltage (0/255=high / 1 to 254)">
        <decVal min="0" max="255"/>
        <label>Function Outputs Voltage Reduction</label>
        <label xml:lang="it">Riduzione Tensione uscite Funzione</label>
        <comment>Controls function output voltage (0/255=high / 1 to 254)</comment>
        <comment xml:lang="it">Controlla tensione di uscita funzioni (0/255=alta, 1-254)</comment>
      </variable>
      <variable item="Back EMF Control P-parameter" CV="61" default="40" comment="Range 0-255">
        <decVal max="255"/>
        <label>Back EMF Control P-parameter</label>
        <label xml:lang="it">Back EMF parametro di controllo D</label>
        <comment>Range 0-255</comment>
        <comment xml:lang="it">Valori 0-255</comment>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
    </variables>
  </decoder>
  <pane>
    <column>
      <display item="Signal Controlled Acceleration"/>
      <display item="Signal Controlled Deceleration"/>
      <display item="Signal Controlled Speed Limit -1-"/>
      <display item="Signal Controlled Speed Limit -U-"/>
      <display item="Signal Controlled Speed Limit -2-"/>
      <display item="Signal Controlled Speed Limit -L-"/>
      <display item="Signal Controlled Speed Limit -3-"/>
      <display item="Signal Controlled Reaction Time"/>
    </column>
    <column>
      <display item="Back EMF Control D-parameter"/>
      <display item="Back EMF Control P-parameter"/>
      <display item="Back EMF Intensity"/>
      <label>
        <text> </text>
      </label>
      <display item="Voltage Reference"/>
      <display item="Function Outputs Voltage Reduction"/>
    </column>
    <name>Zimo</name>
  </pane>
</decoder-config>
