413 lines
17 KiB
XML
413 lines
17 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="Peter Ulvestad" version="2" lastUpdated="20100110"/>
|
|
<version author="Peter Ulvestad" version="1" lastUpdated="20080307"/>
|
|
<!-- version 1 made from the MRC_1666 file by Pete Cesaro -->
|
|
<!-- version 2 Corrected defaults, modified formatting and added MRC pane-->
|
|
<decoder>
|
|
<family name="MRC Sounder Decoders" mfg="MRC" lowVersionID="32" highVersionID="32">
|
|
<model model="Steam Sound Decoder 1665" numOuts="2" numFns="28">
|
|
<size length="17.4" width="17.4" height="4.0" 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="7" item="Decoder Version" readOnly="yes" tooltip="is the Software version number, Read Only">
|
|
<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" item="Manufacturer" readOnly="yes" tooltip="=143 for MRC, Read Only" 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>
|
|
<!-- CV=19 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
|
|
<variable CV="21" mask="XXXXXXXV" tooltip="selects the address that accessory functions will respond to" item="Functions 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"/>
|
|
<variable CV="50" item="Sound Option 1" default="4" comment="Range 0-33">
|
|
<enumVal>
|
|
<enumChoice choice="Whistle 1">
|
|
<choice>Whistle 1</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 2">
|
|
<choice>Whistle 2</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 3">
|
|
<choice>Whistle 3</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 4">
|
|
<choice>Whistle 4</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 5">
|
|
<choice>Whistle 5</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 6">
|
|
<choice>Whistle 6</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 7">
|
|
<choice>Whistle 7</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 8">
|
|
<choice>Whistle 8</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 9">
|
|
<choice>Whistle 9</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 10">
|
|
<choice>Whistle 10</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 11">
|
|
<choice>Whistle 11</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 12">
|
|
<choice>Whistle 12</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 13">
|
|
<choice>Whistle 13</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 14">
|
|
<choice>Whistle 14</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 15">
|
|
<choice>Whistle 15</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 16">
|
|
<choice>Whistle 16</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 17">
|
|
<choice>Whistle 17</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 18">
|
|
<choice>Whistle 18</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 19">
|
|
<choice>Whistle 19</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 20">
|
|
<choice>Whistle 20</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 21">
|
|
<choice>Whistle 21</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 22">
|
|
<choice>Whistle 22</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 23">
|
|
<choice>Whistle 23</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 24">
|
|
<choice>Whistle 24</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 25">
|
|
<choice>Whistle 25</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 26">
|
|
<choice>Whistle 26</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 27">
|
|
<choice>Whistle 27</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 28">
|
|
<choice>Whistle 28</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 29">
|
|
<choice>Whistle 29</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 30">
|
|
<choice>Whistle 30</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 31">
|
|
<choice>Whistle 31</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 32">
|
|
<choice>Whistle 32</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 33">
|
|
<choice>Whistle 33</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Whistle 34">
|
|
<choice>Whistle 34</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Whistle type</label>
|
|
<comment>Range 0-33</comment>
|
|
</variable>
|
|
<variable CV="51" item="Sound Setting 1" default="3" tooltip="range 0-3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Whistle volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="52" item="Sound Option 2" default="3" tooltip="Note: Bell, Dynamic Brake and Rail Wheel Clack cannot play at the same time" comment="Range 0-6">
|
|
<enumVal>
|
|
<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>
|
|
<enumChoice choice="Bell 7">
|
|
<choice>Bell 7</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Bell type</label>
|
|
<comment>Range 0-6</comment>
|
|
</variable>
|
|
<variable CV="53" item="Sound Setting 2" default="3" tooltip="range 0-7 Note: Bell and Rail Wheel Clack cannot play at the same time" comment="Range 0-7">
|
|
<decVal max="7"/>
|
|
<label>Bell volume</label>
|
|
<comment>Range 0-7</comment>
|
|
</variable>
|
|
<variable CV="54" item="Sound Option 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 Option 4" default="3" comment="Range 0-11">
|
|
<enumVal>
|
|
<enumChoice choice="Chuff Type 1">
|
|
<choice>Chuff Type 1</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Chuff Type 2">
|
|
<choice>Chuff Type 2</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Chuff Type 3">
|
|
<choice>Chuff Type 3</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Chuff Type 4">
|
|
<choice>Chuff Type 4</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Chuff Type 5">
|
|
<choice>Chuff Type 5</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Chuff Type 6">
|
|
<choice>Chuff Type 6</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Chuff Type 7">
|
|
<choice>Chuff Type 7</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Chuff Type 8">
|
|
<choice>Chuff Type 8</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Chuff Type 9">
|
|
<choice>Chuff Type 9</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Chuff Type 10">
|
|
<choice>Chuff Type 10</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Chuff Type 11">
|
|
<choice>Chuff Type 11</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Chuff Type 12">
|
|
<choice>Chuff Type 12</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Chuff Type</label>
|
|
<comment>Range 0-11</comment>
|
|
</variable>
|
|
<variable CV="56" item="Sound Setting 3" default="3" tooltip="range 0-3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Chuff Volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable item="Sound Setting 4" CV="57" default="3" tooltip="range 0-3 Note: Bell and Rail Wheel Clack cannot play at the same time" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Brake squeal volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable item="Sound Setting 5" 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>Blower hiss 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>Firebox door 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>Injector 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>Air pump volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="64" item="Sound Setting 21" default="3" tooltip="range 0-3 Note: Bell and Rail Wheel Clack cannot play at the same time. Rail Wheel Clack cannot play while loco is idle." comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Rail clack volume</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 22" default="3" tooltip="range 0-3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Conductor volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="113" item="Sound Option 8" default="1" tooltip="Off(0) or On(1)(default)">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
|
<label>Random sound enable</label>
|
|
</variable>
|
|
<variable CV="114" item="Sound Setting 23" default="2" 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="117" default="1" tooltip="range 0-10" comment="Range 0-10">
|
|
<enumVal>
|
|
<enumChoice choice="1">
|
|
<choice>1</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="2">
|
|
<choice>2</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="3">
|
|
<choice>3</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="4">
|
|
<choice>4</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="5">
|
|
<choice>5</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="6">
|
|
<choice>6</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="7">
|
|
<choice>7</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="8">
|
|
<choice>8</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="9">
|
|
<choice>9</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="10">
|
|
<choice>10</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="11">
|
|
<choice>11</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Chuff Rate</label>
|
|
<comment>Range 0-10</comment>
|
|
</variable>
|
|
<variable CV="119" item="Sound Setting 24" default="3" tooltip="range 0-3" comment="Range 0-3">
|
|
<decVal max="3"/>
|
|
<label>Coupler fire volume</label>
|
|
<comment>Range 0-3</comment>
|
|
</variable>
|
|
<variable CV="120" item="Accel" default="0" tooltip="Sets the acceleration rate (delay), 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="121" item="Decel" default="0" tooltip="Sets the deceleration rate (delay), range 0(default)-32" 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 item="Sound Option 6" CV="122" default="0" tooltip="Single(0)(default) or Double(1)">
|
|
<enumVal>
|
|
<enumChoice choice="Single Chuff" value="0">
|
|
<choice>Single Chuff</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Double Chuff" value="1">
|
|
<choice>Double Chuff</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Double chuff enable</label>
|
|
</variable>
|
|
<variable item="Sound Option 7" CV="123" default="1" comment="Range 0-4">
|
|
<enumVal>
|
|
<enumChoice choice="1">
|
|
<choice>1</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="2">
|
|
<choice>2</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="3">
|
|
<choice>3</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="4">
|
|
<choice>4</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="5">
|
|
<choice>5</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Chuff start rate adjustment</label>
|
|
<comment>Range 0-4</comment>
|
|
</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: This sound only decoder does NOT support 'Read Back'</text>
|
|
</label>
|
|
</column>
|
|
<name>MRC</name>
|
|
</pane>
|
|
</decoder-config>
|