<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 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.xsd">
  <version author="Peter Ulvestad" version="1" lastUpdated="20100125"/>
  <version author="Alain Le Marchand" version="2" lastUpdated="20160409"/>
  <!-- Ver 1  Made from the MRC1806 file -->
  <!--  ...........................................................................  -->
  <!--                                                                               -->
  <!--  Deprecated file - DO NOT USE ANYMORE - only kept for compatibility           -->
  <!--  ...........................................................................  -->
  <!--  version 2 Replacement models - renamed decoder and family                    -->
  <!--            Add missing CV21.                                                  -->
  <decoder>
    <family name="Athearn" mfg="MRC" lowVersionID="32" highVersionID="32">
      <model show="maybe" model="Athearn SD45/SD60 MRC-1825" replacementModel="1825 - HO Scale - Athearn SD45/60" replacementFamily="Sound Decoders" numOuts="2" numFns="19" maxTotalCurrent="1.5A" extFnsNmraF13="yes"/>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <variables>
      <xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
      <variable CV="2" item="Vstart" tooltip="sets the motor voltage at Speed Step 1 [range 0-32]" default="0">
        <decVal max="32"/>
        <label>Start Voltage</label>
        <label xml:lang="it">Volt Partenza</label>
        <label xml:lang="fr">V démarr.</label>
        <label xml:lang="de">Anfahrspannung</label>
      </variable>
      <variable CV="3" item="Accel" tooltip="sets the acceleration rate (delay)  [range 0-32]" default="0">
        <decVal max="32"/>
        <label>Acceleration</label>
        <label xml:lang="it">Accellerazione (0-32)</label>
        <label xml:lang="fr">Accelération (0-32)</label>
        <label xml:lang="de">Anfahrverzögerung (0-32)</label>
      </variable>
      <variable CV="4" item="Decel" tooltip="sets the deceleration rate (delay) [range 0-32]" default="0">
        <decVal max="32"/>
        <label>Deceleration</label>
        <label xml:lang="it">Decellerazione (0-32)</label>
        <label xml:lang="fr">Décélération (0-32)</label>
        <label xml:lang="de">Bremszeit (0-32)</label>
      </variable>
      <variable CV="5" item="Vhigh" tooltip="sets the motor voltage at top Speed Step [range 0-32]," default="32">
        <decVal max="32"/>
        <label xml:lang="it">Volt Massimi (0-32):</label>
        <label xml:lang="de">Höchstgeschwindigkeit</label>
        <label>Top Voltage</label>
      </variable>
      <variable CV="6" item="Speed Table/Mid Range Cab Speed Step" tooltip="sets Speed Curve">
        <enumVal>
          <enumChoice choice="Linear">
            <choice>Linear</choice>
          </enumChoice>
          <enumChoice choice="Slow increase at slow speed">
            <choice>Slow increase at slow speed</choice>
          </enumChoice>
          <enumChoice choice="Fast increase at slow speed">
            <choice>Fast increase at slow speed</choice>
          </enumChoice>
        </enumVal>
        <label>Speed Curve Select</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/mfgVersionId.xml"/>
      <!-- CV=19 -->
     <xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
      <variable CV="21" item="Functions Respond To" mask="XXXXXXXV" tooltip="selects the address that functions will respond to" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Function</label>
      </variable>
      <!-- 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/cv29table1-28.xml"/>
      <variable CV="49" mask="XXXXXXXV" item="Sound Option 1" tooltip="can turn off all sound except the Horn" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>Sound on/off</label>
      </variable>
      <variable CV="50" item="Sound Option 2" tooltip="selects the Horn Type [range 0-33]" default="7">
        <decVal max="33"/>
        <label>Horn Type</label>
      </variable>
      <variable CV="51" item="Sound Setting 1" tooltip="selects the Horn Volume [range 0-3]" default="3">
        <decVal max="3"/>
        <label>Horn Volume</label>
      </variable>
      <variable CV="52" item="Sound Option 3" tooltip="selects the Bell Type [range 0-7]" default="5">
        <decVal max="7"/>
        <label>Bell Type</label>
      </variable>
      <variable CV="53" item="Sound Setting 2" tooltip="selects the Bell Volume [range 0-3]" default="3">
        <decVal max="3"/>
        <label>Bell Volume</label>
      </variable>
      <variable CV="54" item="Sound Setting 3" tooltip="selects the Bell Ring Rate [range 0-50]" default="1">
        <decVal max="50"/>
        <label>Bell Ring Rate</label>
      </variable>
      <variable CV="55" item="Sound Setting 4" tooltip="sets the Diesel Volume [range 0-3]" default="2">
        <decVal max="3"/>
        <label>Diesel volume</label>
      </variable>
      <variable CV="56" item="Sound Setting 5" tooltip="sets the Brake Squeal Volume [range 0-3]" default="0">
        <decVal max="3"/>
        <label>Brake squeal volume</label>
      </variable>
      <variable CV="57" item="Sound Setting 6" tooltip="sets the Dynamic Brake Volume [range 0-3]" default="3">
        <decVal max="3"/>
        <label>Dynamic brake volume</label>
      </variable>
      <variable CV="58" item="Sound Setting 7" tooltip="sets the Air Release Volume [range 0-3]" default="3">
        <decVal max="3"/>
        <label>Air Release Volume</label>
      </variable>
      <variable CV="59" item="Sound Setting 11" tooltip="sets the Air Pump Volume [range 0-3]" default="3">
        <decVal max="3"/>
        <label>Air Pump Volume</label>
      </variable>
      <variable CV="60" item="Sound Setting 12" tooltip="sets the Safety Pop Valve Volume [range 0-3]" default="3">
        <decVal max="3"/>
        <label>Safety pop valve volume</label>
      </variable>
      <variable CV="61" item="Sound Setting 13" tooltip="sets the Engine Cooling Fan Volume [range 0-3]" default="3">
        <decVal max="3"/>
        <label>Engine Cooling Fan Volume</label>
      </variable>
      <variable CV="62" item="Sound Setting 14" tooltip="sets the Coupling Volume [range 0-3]" default="3">
        <decVal max="3"/>
        <label>Coupling Volume</label>
      </variable>
      <variable CV="63" item="Global lighting option 5" tooltip="" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-DisableEnable_01.xml"/>
        <label>Auto Ditchlight flash</label>
      </variable>
      <variable CV="64" item="Sound Setting 15" tooltip="sets the Rail Clack Volume [range 0-3]" default="3">
        <decVal max="3"/>
        <label>Rail clack volume</label>
      </variable>
      <variable CV="65" item="Kick Start" tooltip="sets the Kick Start Voltage [range 0-63]" default="48">
        <decVal max="63"/>
        <label>Kick Start Voltage</label>
        <label xml:lang="it">Forza Avviamento (volt)</label>
        <label xml:lang="fr">Impuls. de démarrage (kick start)</label>
        <label xml:lang="de">Kick Start</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
      <!-- CV 105-106 -->
      <xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
      <variable CV="113" item="Sound Setting 16" tooltip="sets the Coupling Fire Volume [range 0-3]" default="3">
        <decVal max="3"/>
        <label>Coupling fire volume</label>
      </variable>
      <variable CV="114" item="Sound Setting 17" tooltip="sets the Brake Release Volume [range 0-3]" default="2">
        <decVal max="3"/>
        <label>Brake Release volume</label>
      </variable>
      <variable CV="115" item="Sound Option 5" tooltip="sets the Auto Brake Squeal [Enable/Disable]" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-DisableEnable_01.xml"/>
        <label>Auto Brake squeal</label>
      </variable>
      <variable CV="117" item="Global lighting option 1" tooltip="selects the Light Mode" default="0">
        <enumVal>
          <enumChoice choice="Normal Headlights" value="0">
            <choice>Normal Headlights</choice>
          </enumChoice>
          <enumChoice choice="Off / Dim /  Bright Cycle" value="1">
            <choice>Off / Dim /  Bright Cycle</choice>
          </enumChoice>
          <enumChoice choice="Rule 17" value="2">
            <choice>Rule 17</choice>
          </enumChoice>
        </enumVal>
        <label>Light Mode</label>
      </variable>
      <variable CV="118" item="Global lighting option 2" tooltip="selects the ACC1 Light Mode" default="0">
        <enumVal>
          <enumChoice choice="Ditch light" value="0">
            <choice>Ditch light</choice>
          </enumChoice>
          <enumChoice choice="Gyra light" value="1">
            <choice>Gyra light</choice>
          </enumChoice>
          <enumChoice choice="Mars light" value="2">
            <choice>Mars light</choice>
          </enumChoice>
          <enumChoice choice="Prime strato light" value="3">
            <choice>Prime strato light</choice>
          </enumChoice>
          <enumChoice choice="Single strobe light" value="4">
            <choice>Single strobe light</choice>
          </enumChoice>
          <enumChoice choice="Double strobe light" value="5">
            <choice>Double strobe light</choice>
          </enumChoice>
          <enumChoice choice="On off" value="6">
            <choice>On off</choice>
          </enumChoice>
        </enumVal>
        <label>ACC1 Light Mode</label>
      </variable>
      <variable CV="119" item="Global lighting option 3" tooltip="selects the ACC2 Light Mode" default="0">
        <enumVal>
          <enumChoice choice="Ditch light" value="0">
            <choice>Ditch light</choice>
          </enumChoice>
          <enumChoice choice="Gyra light" value="1">
            <choice>Gyra light</choice>
          </enumChoice>
          <enumChoice choice="Mars light" value="2">
            <choice>Mars light</choice>
          </enumChoice>
          <enumChoice choice="Prime strato light" value="3">
            <choice>Prime strato light</choice>
          </enumChoice>
          <enumChoice choice="Single strobe light" value="4">
            <choice>Single strobe light</choice>
          </enumChoice>
          <enumChoice choice="Double strobe light" value="5">
            <choice>Double strobe light</choice>
          </enumChoice>
          <enumChoice choice="On off" value="6">
            <choice>On off</choice>
          </enumChoice>
        </enumVal>
        <label>ACC2 Light Mode</label>
      </variable>
      <variable CV="121" item="Global lighting option 4" default="0">
        <enumVal>
          <enumChoice choice="Always On">
            <choice>Always On</choice>
          </enumChoice>
          <enumChoice choice="Flash">
            <choice>Flash</choice>
          </enumChoice>
        </enumVal>
        <label>Ditch Light Flash</label>
      </variable>
      <variable CV="122" item="Sound Option 7" default="1" tooltip="Diesel Notch Mode, range 0-3">
        <enumVal>
          <enumChoice choice="Auto Notch">
            <choice>Auto Notch</choice>
          </enumChoice>
          <enumChoice choice="RPM and Notch Synchro to Speed">
            <choice>RPM and Notch Synchro to Speed</choice>
          </enumChoice>
          <enumChoice choice="Linear notch - RPM synchro to speed">
            <choice>Linear notch - RPM synchro to speed</choice>
          </enumChoice>
          <enumChoice choice="Manual Notch (use F8/F9 to control">
            <choice>Manual Notch (use F8/F9 to control</choice>
          </enumChoice>
        </enumVal>
        <label>Diesel Notch Mode</label>
      </variable>
      <variable CV="123" item="Sound Option 8" tooltip="selects the Prime Mover Type" default="0">
        <enumVal>
          <enumChoice choice="ALCO 244" value="0">
            <choice>ALCO 244</choice>
          </enumChoice>
          <enumChoice choice="SD60" value="1">
            <choice>SD60</choice>
          </enumChoice>
          <enumChoice choice="SD70" value="2">
            <choice>SD70</choice>
          </enumChoice>
          <enumChoice choice="EMD 567B" value="3">
            <choice>EMD 567B</choice>
          </enumChoice>
        </enumVal>
        <label>Prime Mover</label>
      </variable>
      <variable CV="124" item="BEMF" tooltip="sets the BEMF [Enable/Disable]" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-DisableEnable_01.xml"/>
        <label>Back EMF Load Control</label>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset All CVs" CV="125" default="1">
         <label xml:lang="it">Reset delle CV ai valori di fabbrica</label>
      </factReset>
    </resets>
  </decoder>
  <pane>
    <column>
      <display item="Back EMF Load Control"/>
      <label>
        <text> </text>
      </label>
      <label>
        <text>MRC NOTE: Some DCC systems do not have enough power on the program track for programming</text>
      </label>
      <label>
        <text>sound decoders. If your system is one of these, There are Program Track Boosters available</text>
      </label>
      <label>
        <text>from aftermarket DCC suppliers.</text>
      </label>
      <label>
        <text> </text>
      </label>
    </column>
    <name>MRC</name>
  </pane>
</decoder-config>
