Files
JIMRI/xml/decoders/MRC_Athearn_F45.xml
2026-06-17 14:00:51 +02:00

292 lines
14 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="Marc Fournier forfoum@videotron.ca" version="1" lastUpdated="20090624"/>
<!-- ver 1 based on the MRC_soundbrilliance1645 file by Bill Chown -->
<!-- Cleanup, move consist related items into consist tab -->
<decoder>
<family name="Athearn" mfg="MRC" lowVersionID="32" highVersionID="32">
<model model="Athearn Genesis F45/FP45" numOuts="2" numFns="28" maxTotalCurrent="1.5A" extFnsMRC="yes">
<!-- Functions F0 to F28 are NMRA compatible -->
<size length="90" width="14" height="4.2" units="mm"/>
</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" tooltip="sets the motor voltage at Speed Step 1, range 0(default)-32" 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">Startspannung</label>
<comment>Range 0-32</comment>
</variable>
<variable CV="3" item="Accel" default="0" tooltip="Sets the acceleration rate (delay or momentum), range 0(default)-32" 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" tooltip="Sets the deceleration rate (delay or momentum), range 0(default)-32" 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" tooltip="sets the motor voltage at top Speed Step, range 0-32(default)" 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="Speed Table Selection" default="0" tooltip="sets the motor voltage increase curve with Speed Steps, range 0(default)-2">
<enumVal>
<enumChoice choice="Linear" value="0">
<choice>Linear</choice>
</enumChoice>
<enumChoice choice="Slow - increase at slow speed" value="1">
<choice>Slow - increase at slow speed</choice>
</enumChoice>
<enumChoice choice="Fast - increase at fast speed" value="2">
<choice>Fast - increase at fast speed</choice>
</enumChoice>
</enumVal>
<label>Speed curve select</label>
</variable>
<variable CV="7" item="Decoder Version" readOnly="yes" tooltip="=32 for all MRC Brilliance models, Read Only" 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" tooltip="=143 for MRC, Read Only" 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"/>
<!-- CV=21 -->
<xi:include href="http://jmri.org/xml/decoders/nmra/cv21_lsb_MRC.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"/>
<variable CV="49" item="Sound Option 1" default="1" tooltip="On or Off">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>Sound Control</label>
</variable>
<variable CV="50" item="Sound Option 2" default="4" tooltip="range 0-16" comment="Range 0-16">
<decVal max="16"/>
<label>Horn type</label>
<comment>Range 0-16</comment>
</variable>
<variable CV="51" item="Sound Setting 1" default="3" tooltip="range 0-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" tooltip="range 0-6" comment="Range 0-6">
<decVal max="6"/>
<label>Bell type</label>
<comment>Range 0-6</comment>
</variable>
<variable CV="53" item="Sound Setting 2" default="3" tooltip="range 0-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" tooltip="range 0-50" 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" tooltip="range 0-3" comment="Range 0-3">
<decVal max="3"/>
<label>Diesel Rumble volume</label>
<comment>Range 0-3</comment>
</variable>
<variable CV="56" item="Sound Setting 5" default="3" tooltip="range 0-3" comment="Range 0-3">
<decVal max="3"/>
<label>Brake Squeal volume</label>
<comment>Range 0-3</comment>
</variable>
<variable CV="57" item="Sound Setting 6" default="3" tooltip="range 0-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" tooltip="range 0-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 11" default="3" tooltip="range 0-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 12" default="3" tooltip="range 0-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 13" default="3" tooltip="range 0-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 14" default="3" tooltip="range 0-3" comment="Range 0-3">
<decVal max="3"/>
<label>Coupling volume</label>
<comment>Range 0-3</comment>
</variable>
<variable CV="63" item="Sound Setting 15" default="3" tooltip="range 0-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 16" default="3" tooltip="range 0-3" comment="Range 0-3">
<decVal max="3"/>
<label>Rail Wheel Clack volume</label>
<comment>Range 0-3</comment>
</variable>
<variable CV="105" item="User Id #1" default="0" tooltip="range 0-255" comment="Range 0-255">
<decVal max="255"/>
<label>User ID #1</label>
<comment>Range 0-255</comment>
</variable>
<variable CV="106" item="User Id #2" default="0" tooltip="range 0-255" comment="Range 0-255">
<decVal max="255"/>
<label>User ID #2</label>
<comment>Range 0-255</comment>
</variable>
<variable CV="113" item="Sound Setting 17" default="3" tooltip="range 0-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="0" tooltip="range 0-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" tooltip="Off(0) or On(1)(default)">
<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" tooltip="Off(0) or Type1(1)(default) or Type2(2)">
<enumVal>
<enumChoice choice="Off">
<choice>Off</choice>
</enumChoice>
<enumChoice choice="Type 1">
<choice>Type 1</choice>
</enumChoice>
<enumChoice choice="Type 2">
<choice>Type 2</choice>
</enumChoice>
</enumVal>
<label>Coupling Sound Type</label>
</variable>
<variable item="Consist Function Mode" CV="117" default="0" tooltip="Lets you pick a lighting mode for consist/mu. Entries here overide analogue transmitter buttons and the DCC function buttons">
<enumVal>
<enumChoice choice="Mode 1- All Lights controlable">
<choice>Mode 1- All Lights controlable</choice>
</enumChoice>
<enumChoice choice="Mode 2- No rear light">
<choice>Mode 2- No rear light</choice>
</enumChoice>
<enumChoice choice="Mode 3- No lights at all">
<choice>Mode 3- No lights at all</choice>
</enumChoice>
<enumChoice choice="Mode 4- No front lights (including ditch, gyra,strobe">
<choice>Mode 4- No front lights (including ditch, gyra,strobe</choice>
</enumChoice>
</enumVal>
<label>Lighting Mode for Consist</label>
</variable>
<variable item="Sound Option 7" CV="122" default="1" tooltip="Off(0) or Auto(1)(default) or Linear(2) or Manual(3)">
<enumVal>
<enumChoice choice="Off" value="0">
<choice>Off</choice>
</enumChoice>
<enumChoice choice="Auto notch - RPM and notch synchro to speed" value="1">
<choice>Auto notch - RPM and notch synchro to speed</choice>
</enumChoice>
<enumChoice choice="Linear notch - RPM synchro to speed" value="2">
<choice>Linear notch - RPM synchro to speed</choice>
</enumChoice>
<enumChoice choice="Manual notch - notch up/down with F8/F9" value="3">
<choice>Manual notch - notch up/down with F8/F9</choice>
</enumChoice>
</enumVal>
<label>Diesel notch mode</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: 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 availlable</text>
</label>
<label>
<text>from aftermarket DCC suppliers.</text>
</label>
<label>
<text> </text>
</label>
<separator/>
<label>
<text> </text>
</label>
<label>
<text>MRC NOTE: Because this locomotive has a dual function sound decoder on board, it does not </text>
</label>
<label>
<text>support CV read back features. This decoder supports all program methods including; </text>
</label>
<label>
<text>register mode, paged mode, CV programming mode, direst mode, and programming on the </text>
</label>
<label>
<text>main [OPS mode programming]. Program the locomotive the same way you would program any </text>
</label>
<label>
<text>other NMRA compatible decoder with your DCC system. </text>
</label>
</column>
<name>MRC</name>
</pane>
</decoder-config>