365 lines
16 KiB
XML
365 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
|
|
<!-- Copyright (C) JMRI 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="Alain Le Marchand" version="2.1" lastUpdated="20150501"/>
|
|
<version author="Alain Le Marchand" version="2" lastUpdated="20150427"/>
|
|
<version author="John Crellin jcrellin0661@gmail.com" version="2" lastUpdated="20120801"/>
|
|
<!-- made from another MRC file UPDATED to fix BEMF portion -->
|
|
<!-- Version 2 - Renaming decoder models -->
|
|
<!-- version 2.1: Regular CV21 on Consist pane -->
|
|
<!-- Refactoring - removed MRC pane -->
|
|
<decoder>
|
|
<family name="Sound Decoders" mfg="MRC" lowVersionID="1" highVersionID="2" comment="Synchronized Sound Brilliance(TM) Decoders">
|
|
<model show="no" model="E unit and PA Stereo Diesel Sound 1902" replacementModel="1902 - HO Scale - E8/9 or ALCO PA" replacementFamily="Sound Decoders" numOuts="7" numFns="30" maxTotalCurrent="1.5A">
|
|
</model>
|
|
<model model="1902 - HO Scale - E8/9 or ALCO PA" numOuts="7" numFns="30" maxTotalCurrent="1.5A" comment="16 bit, Stereo">
|
|
</model>
|
|
<functionlabels>
|
|
<functionlabel num="0" lockable="true">Light</functionlabel>
|
|
<functionlabel num="1" lockable="true">Bell</functionlabel>
|
|
<functionlabel num="2" lockable="false">Horn</functionlabel>
|
|
<functionlabel num="3" lockable="true">Ditch Lights</functionlabel>
|
|
<functionlabel num="4" lockable="true">Coupling</functionlabel>
|
|
<functionlabel num="5" lockable="true">Brake release/Squeal</functionlabel>
|
|
<functionlabel num="6" lockable="true">Dynamic Brake</functionlabel>
|
|
<functionlabel num="7" lockable="true">Air Hose/Uncoupling Lever</functionlabel>
|
|
<functionlabel num="8" lockable="true">Shut Down/Notch Down</functionlabel>
|
|
<functionlabel num="9" lockable="true">Fan/Notch Up</functionlabel>
|
|
<functionlabel num="10" lockable="true">Rail Clack</functionlabel>
|
|
<functionlabel num="11" lockable="true">Traction Air Compressor</functionlabel>
|
|
<functionlabel num="12" lockable="true">Prime Mover Type</functionlabel>
|
|
<functionlabel num="13" lockable="true">Volume Down by 1</functionlabel>
|
|
<functionlabel num="14" lockable="true">Volume Up by 1</functionlabel>
|
|
<functionlabel num="15" lockable="true">Air Compressor</functionlabel>
|
|
<functionlabel num="16" lockable="true">Flange Squeal</functionlabel>
|
|
<functionlabel num="17" lockable="true">Air Release</functionlabel>
|
|
<functionlabel num="18" lockable="true">Bell Type</functionlabel>
|
|
<functionlabel num="19" lockable="true">Horn Type</functionlabel>
|
|
<functionlabel num="20" lockable="true">Loco Sound</functionlabel>
|
|
<functionlabel num="21" lockable="true">Bell Volume</functionlabel>
|
|
<functionlabel num="22" lockable="true">Horn Volume</functionlabel>
|
|
<functionlabel num="23" lockable="true">Prime Mover Volume</functionlabel>
|
|
<functionlabel num="24" lockable="true">Safety Valve Pop</functionlabel>
|
|
<functionlabel num="25" lockable="true">Air Release</functionlabel>
|
|
<functionlabel num="26" lockable="true">Flange Noise</functionlabel>
|
|
<functionlabel num="27" lockable="true">Sand Drop</functionlabel>
|
|
<functionlabel num="28" lockable="true">Ditch Lights Flash</functionlabel>
|
|
</functionlabels>
|
|
</family>
|
|
<programming direct="yes" paged="no" 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 Volts</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 (0-32)</label>
|
|
<label xml:lang="fr">Décélération (0-32)</label>
|
|
<label xml:lang="de">Bremszeit (0-32)</label>
|
|
<comment>Range 0-32</comment>
|
|
</variable>
|
|
<variable CV="5" item="Vhigh" default="32" comment="Range 0-32">
|
|
<decVal max="32"/>
|
|
<label>Max 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="7" item="Decoder Version" readOnly="yes" default="32">
|
|
<decVal/>
|
|
<label xml:lang="it">Versione Decoder: </label>
|
|
<label xml:lang="fr">Version décodeur: </label>
|
|
<label xml:lang="de">Decoder Version: </label>
|
|
<label>Manufacturer Version No: </label>
|
|
</variable>
|
|
<variable CV="8" readOnly="yes" item="Manufacturer" default="143">
|
|
<decVal/>
|
|
<label xml:lang="it">ID Costruttore: </label>
|
|
<label xml:lang="fr">ID constructeur: </label>
|
|
<label xml:lang="de">Hersteller ID: </label>
|
|
<label>Manufacturer ID: </label>
|
|
</variable>
|
|
<!-- CV=19 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
|
|
<!-- CV=21 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv21_lsb.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/cv29table1-28.xml"/>
|
|
<variable CV="49" item="Sound Option 1" default="16" comment="Range 0-15">
|
|
<decVal max="16"/>
|
|
<label>Master Volume Control</label>
|
|
<tooltip>Range 0-16</tooltip>
|
|
</variable>
|
|
<variable CV="50" item="Sound Option 2" default="13" comment="Range 0-22">
|
|
<enumVal>
|
|
<enumChoice choice="Horn 0">
|
|
<choice>Horn 0</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 1">
|
|
<choice>Horn 1</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 2">
|
|
<choice>Horn 2</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 3">
|
|
<choice>Horn 3</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 4">
|
|
<choice>Horn 4</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 5">
|
|
<choice>Horn 5</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 6">
|
|
<choice>Horn 6</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 7">
|
|
<choice>Horn 7</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 8">
|
|
<choice>Horn 8</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 9">
|
|
<choice>Horn 9</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 10">
|
|
<choice>Horn 10</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 11">
|
|
<choice>Horn 11</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 12">
|
|
<choice>Horn 12</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 13">
|
|
<choice>Horn 13</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 14">
|
|
<choice>Horn 14</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 15">
|
|
<choice>Horn 15</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 16">
|
|
<choice>Horn 16</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 17">
|
|
<choice>Horn 17</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 18">
|
|
<choice>Horn 18</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 19">
|
|
<choice>Horn 19</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 20">
|
|
<choice>Horn 20</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Horn 21">
|
|
<choice>Horn 21</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Horn Type</label>
|
|
<tooltip>Range 0-22</tooltip>
|
|
</variable>
|
|
<variable CV="51" item="Sound Setting 1" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Horn Volume</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<variable CV="52" item="Sound Option 3" default="3" comment="Range 0-6">
|
|
<enumVal>
|
|
<enumChoice choice="Bell 0">
|
|
<choice>Bell 0</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Bell 1">
|
|
<choice>Bell 1</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Bell 2">
|
|
<choice>Bell 2</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Bell 3">
|
|
<choice>Bell 3</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Bell 4">
|
|
<choice>Bell 4</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Bell 5">
|
|
<choice>Bell 5</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Bell 6">
|
|
<choice>Bell 6</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Bell Type</label>
|
|
<tooltip>Range 0-6</tooltip>
|
|
</variable>
|
|
<variable CV="53" item="Sound Setting 2" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Bell Volume</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<variable CV="54" item="Sound Group 3 Option 2" default="3" comment="Range 0-50">
|
|
<decVal max="50"/>
|
|
<label>Bell Ring Rate</label>
|
|
<tooltip>Range 0-50</tooltip>
|
|
</variable>
|
|
<variable CV="55" item="Sound Setting 4" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Diesel Rumble Volume</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<variable CV="56" item="Sound Setting 5" default="7" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Brake Squeal Volume</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<variable CV="58" item="Sound Setting 7" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Air Release Volume</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<variable CV="59" item="Sound Setting 8" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Air Pump Volume</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<variable CV="60" item="Sound Setting 9" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Safety Pop Value Volume</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<variable CV="61" item="Sound Setting 10" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Engine Cooling Fan Volume</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<variable CV="62" item="Sound Setting 11" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Coupling Volume</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<variable CV="63" item="Global lighting option 1" default="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
|
|
<label>Auto ditch lights flash with horn</label>
|
|
</variable>
|
|
<variable CV="64" item="Sound Setting 13" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Rail wheel clack</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/kickStart_63.xml"/>
|
|
<!-- Speed table -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
|
|
<!-- MRC CVs continue -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
|
|
<variable CV="112" item="Sound Setting 12" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Sand Dropping Volume</label>
|
|
<comment>Range 0-15</comment>
|
|
</variable>
|
|
<!-- Motor Control Back EMF -->
|
|
<xi:include href="http://jmri.org/xml/decoders/mrc/motorBEMF_cv113_114_124.xml"/>
|
|
<!-- MRC CVs continue -->
|
|
<variable CV="115" item="Sound Option 5" default="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
|
<label>Auto Brake squeal</label>
|
|
</variable>
|
|
<variable CV="116" item="Sound Setting 14" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Flange Squeal Volume</label>
|
|
<comment>Range 0-15</comment>
|
|
</variable>
|
|
<variable CV="117" item="Global lighting option 4" default="200">
|
|
<decVal max="255"/>
|
|
<label>Light Brightness</label>
|
|
<tooltip>Range 0-255</tooltip>
|
|
</variable>
|
|
<variable CV="118" item="Global lighting option 2" default="0">
|
|
<xi:include href="http://jmri.org/xml/decoders/mrc/enum-LightEffect6.xml"/>
|
|
<label>Accessory 1 Light Effect</label>
|
|
<tooltip>Range 0-6</tooltip>
|
|
</variable>
|
|
<variable CV="119" item="Global lighting option 3" default="0">
|
|
<xi:include href="http://jmri.org/xml/decoders/mrc/enum-LightEffect6.xml"/>
|
|
<label>Accessory 2 Light Effect</label>
|
|
<tooltip>Range 0-6</tooltip>
|
|
</variable>
|
|
<variable CV="120" item="Sound Option 10" default="150">
|
|
<decVal max="255"/>
|
|
<label>Out Synch time</label>
|
|
<tooltip>Range 0-255</tooltip>
|
|
</variable>
|
|
<variable CV="121" item="Global lighting option 6" default="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-DisableEnable_01.xml"/>
|
|
<label>Mars Flashing On/Off (F28)</label>
|
|
</variable>
|
|
<variable CV="122" item="Sound Option 6" tooltip="can only have values of 0 or 3" default="3">
|
|
<enumVal>
|
|
<enumChoice choice="Auto" value="0">
|
|
<choice>Auto</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Manual" value="3">
|
|
<choice>Manual</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Diesel Notch Mode</label>
|
|
</variable>
|
|
<variable item="Sound Option 7" CV="123" tooltip="selects the Prime Mover Type" default="0">
|
|
<enumVal>
|
|
<enumChoice choice="Dual EMD567B">
|
|
<choice>Dual EMD567B</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Single EMD567B">
|
|
<choice>Single EMD567B</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Dual Alco 539T">
|
|
<choice>Dual Alco 539T</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Single Alco 539T">
|
|
<choice>Single Alco 539T</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="All Sounds Off">
|
|
<choice>All Sounds Off</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Prime Mover Type</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>
|
|
</decoder-config>
|