261 lines
11 KiB
XML
261 lines
11 KiB
XML
<?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-4-15-2.xsd">
|
|
<version author="Bob Jacobsen" version="2" lastUpdated="20190727"/> <!-- xinclude for CV19 -->
|
|
<version author="Bob Jacobsen" version="1" lastUpdated="20071221"/>
|
|
<version author="Marc Fournier forfoum@videotron.ca" version="2" lastUpdated="20090624"/>
|
|
<!-- Ver 1 Made from the MRC_1645 file -->
|
|
<!-- Ver 2 Changed family to group Athearn together, cleanup, moved the -->
|
|
<!-- consist light function into the consist TAB -->
|
|
<decoder>
|
|
<family name="Athearn" mfg="MRC" lowVersionID="32" highVersionID="32">
|
|
<model model="Athearn Genesis F Unit" numOuts="2" numFns="19" maxTotalCurrent="1.5A" extFnsNmraF13="yes">
|
|
</model>
|
|
</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" default="0" comment="Range 0-32">
|
|
<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>
|
|
<comment>Range 0-32</comment>
|
|
</variable>
|
|
<variable CV="3" item="Accel" default="0" comment="Range 0-32">
|
|
<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>
|
|
<comment>Range 0-32</comment>
|
|
</variable>
|
|
<variable CV="4" item="Decel" default="0" comment="Range 0-32">
|
|
<decVal max="32"/>
|
|
<label>Deceleration</label>
|
|
<label xml:lang="it">Decellerazione (1-32)</label>
|
|
<label xml:lang="fr">Décélération (1-32)</label>
|
|
<label xml:lang="de">Bremszeit (1-32)</label>
|
|
<comment>Range 0-32</comment>
|
|
</variable>
|
|
<variable CV="5" item="Vhigh" default="32" comment="Range 0-32">
|
|
<decVal max="32"/>
|
|
<label>Top voltage</label>
|
|
<label xml:lang="it">Volt Massimi (0-32):</label>
|
|
<label xml:lang="de">Höchstgeschwindigkeit</label>
|
|
<comment>Range 0-32</comment>
|
|
</variable>
|
|
<variable CV="6" item="Vmid" default="1" comment="Range 0-1">
|
|
<decVal max="1"/>
|
|
<label>Middle Voltage</label>
|
|
<label xml:lang="it">Volts intermedi (0-1)</label>
|
|
<label xml:lang="de">Vmittel (0-1)</label>
|
|
<comment>Range 0-1</comment>
|
|
</variable>
|
|
<variable CV="7" item="Decoder Version" readOnly="yes" default="32">
|
|
<decVal/>
|
|
<label>Manufacturer version number</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="143">
|
|
<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>
|
|
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAddr.xml"/>
|
|
|
|
<variable CV="21" mask="XXXXXXXV" default="0" item="Consist Function" tooltip="Advanced consist accessory function assignment works only when CV19 = non zero">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
|
|
<label>Consist Light Functions follows </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"/>
|
|
<variable CV="50" item="Sound Option 2" default="4" comment="Range 0-11 (11 is off)">
|
|
<decVal max="16"/>
|
|
<label>Horn type</label>
|
|
<comment>Range 0-11 (11 is off)</comment>
|
|
</variable>
|
|
<variable CV="51" item="Sound Setting 1" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Horn volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="52" item="Sound Option 3" default="3" comment="Range 0-7 (7 is off)">
|
|
<decVal max="7"/>
|
|
<label>Bell type</label>
|
|
<comment>Range 0-7 (7 is off)</comment>
|
|
</variable>
|
|
<variable CV="53" item="Sound Setting 2" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Bell volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="54" item="Sound Setting 3" default="3" comment="Range 0-50">
|
|
<decVal max="50"/>
|
|
<label>Bell ring rate</label>
|
|
<comment>Range 0-50</comment>
|
|
</variable>
|
|
<variable CV="55" item="Sound Setting 4" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Diesel volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="56" item="Sound Setting 5" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Brake squeal volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable item="Sound Setting 6" CV="57" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Dynamic brake volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable item="Sound Setting 7" CV="58" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Air release volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="59" item="Sound Setting 8" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Air pump volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="60" item="Sound Setting 11" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Safety pop valve volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="61" item="Sound Setting 12" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Engine cooling fan volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="62" item="Sound Setting 13" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Coupling volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="63" item="Sound Setting 14" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Random noise volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="64" item="Sound Setting 15" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Rail wheel clack</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<!-- CV 105-106 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
|
|
<variable CV="112" item="Sound Setting 16" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Exhaust volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="113" item="Sound Setting 17" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Coupling fire volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="114" item="Sound Setting 18" default="3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Brake release volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable item="Sound Option 5" CV="115" default="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
|
<label>Auto Brake squeal</label>
|
|
</variable>
|
|
<variable item="Sound Option 6" CV="116" default="1">
|
|
<enumVal>
|
|
<enumChoice choice="Type 0">
|
|
<choice>Type 0</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Type 1">
|
|
<choice>Type 1</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Off (2)">
|
|
<choice>Off (2)</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Coupling Sound Type</label>
|
|
</variable>
|
|
<variable item="Lights Enable" CV="117" default="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
|
<label>Lights Enable/Disable</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>
|
|
<label>
|
|
<text>MRC Note </text>
|
|
</label>
|
|
<label>
|
|
<text> </text>
|
|
</label>
|
|
<label>
|
|
<text>This decoder supports all program methods including register mode, paged mode, </text>
|
|
</label>
|
|
<label>
|
|
<text>CV programming, direct mode and programming on the main (OPS mode programming).</text>
|
|
</label>
|
|
<label>
|
|
<text>Program the locomotive the same way you would program any other NMRA compatible </text>
|
|
</label>
|
|
<label>
|
|
<text>decoder with your DCC system. </text>
|
|
</label>
|
|
<label>
|
|
<text> </text>
|
|
</label>
|
|
<separator/>
|
|
<label>
|
|
<text>Note: Due to the nature of dual function decoders, it does not support the CV read </text>
|
|
</label>
|
|
<label>
|
|
<text>back feature. The Dual-Function decoder is manufactured by Model Rectifier Corporation </text>
|
|
</label>
|
|
<label>
|
|
<text>for Athearn Trains. </text>
|
|
</label>
|
|
<label>
|
|
<text> </text>
|
|
</label>
|
|
<separator/>
|
|
<label>
|
|
<text> </text>
|
|
</label>
|
|
<label>
|
|
<text> LIGHT FUNCTION </text>
|
|
</label>
|
|
<display item="Lights Enable" tooltip="Turn lights on/off"/>
|
|
</column>
|
|
<name>MRC</name>
|
|
</pane>
|
|
</decoder-config>
|