297 lines
14 KiB
XML
297 lines
14 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
|
|
<!-- Copyright (C) JMRI 2006, 2007, 2015 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="1" lastUpdated="20150611"/>
|
|
<!-- Version 1 - made from the MRC_1910 file -->
|
|
<decoder>
|
|
<family name="Sound Decoders" mfg="MRC" lowVersionID="1" highVersionID="32" comment="Synchronized Sound Brilliance(TM) Decoders">
|
|
<model model="1917 - HO Scale - Atlas S2/S4" numOuts="2" numFns="30" maxTotalCurrent="1.5A" connector="DropIn" comment="Dual Mode DC/DCC, 16 bit, Platinum series HO drop-in">
|
|
<size length="" width="" height="" units="mm"/>
|
|
</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">Air Release</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">Volume On/Off</functionlabel>
|
|
<functionlabel num="13" lockable="true">Master Volume Decrease</functionlabel>
|
|
<functionlabel num="14" lockable="true">Master Volume Increase</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">Diesel Rumble 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">Air Release</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="10" comment="Range 0-63">
|
|
<decVal max="63"/>
|
|
<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>
|
|
<tooltip>Range 0-63</tooltip>
|
|
</variable>
|
|
<variable CV="3" item="Accel" default="0" comment="Range 0-63">
|
|
<decVal max="63"/>
|
|
<label>Acceleration</label>
|
|
<label xml:lang="it">Accellerazione</label>
|
|
<label xml:lang="fr">Accelération</label>
|
|
<label xml:lang="de">Anfahrverzögerung</label>
|
|
<tooltip>Range 0-63</tooltip>
|
|
</variable>
|
|
<variable CV="4" item="Decel" default="0" comment="Range 0-63">
|
|
<decVal max="63"/>
|
|
<label>Deceleration</label>
|
|
<label xml:lang="it">Decellerazione (1-63)</label>
|
|
<label xml:lang="fr">Décélération (1-63)</label>
|
|
<label xml:lang="de">Bremszeit (1-63)</label>
|
|
<tooltip>Range 0-63</tooltip>
|
|
</variable>
|
|
<variable CV="5" item="Vhigh" default="63" comment="Range 0-63">
|
|
<decVal max="63"/>
|
|
<label>Max Voltage</label>
|
|
<label xml:lang="it">Volt Massimi:</label>
|
|
<label xml:lang="de">Höchstgeschwindigkeit</label>
|
|
<tooltip>Range 0-63</tooltip>
|
|
</variable>
|
|
<variable CV="6" item="Motor Option 1" default="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
|
|
<label>Adaptive Back EMF control enable</label>
|
|
</variable>
|
|
<variable CV="7" item="Decoder Version" readOnly="yes">
|
|
<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"/>
|
|
<!-- MRC CVs -->
|
|
<xi:include href="http://jmri.org/xml/decoders/mrc/FunctionExchange.xml"/>
|
|
<variable CV="49" item="Sound Setting 1" default="16" comment="Range 0-16">
|
|
<decVal max="16"/>
|
|
<label>Master Volume Control</label>
|
|
<tooltip>Range 0-16 (0=Sound Off)</tooltip>
|
|
</variable>
|
|
<variable CV="50" item="Sound Option 2" default="0" comment="Range 0-3">
|
|
<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>
|
|
</enumVal>
|
|
<label>Horn Type</label>
|
|
<tooltip>Range 0-3</tooltip>
|
|
</variable>
|
|
<variable CV="51" item="Sound Setting 2" 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="0" comment="Range 0-3">
|
|
<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>
|
|
</enumVal>
|
|
<label>Bell Type</label>
|
|
<tooltip>Range 0-3</tooltip>
|
|
</variable>
|
|
<variable CV="53" item="Sound Setting 3" 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>Prime Mover Volume</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<variable CV="56" item="Sound Setting 5" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Brake Squeal Volume</label>
|
|
<tooltip>Range 0-15</tooltip>
|
|
</variable>
|
|
<variable CV="57" item="Sound Setting 6" default="12" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Dynamic Brake Volume</label>
|
|
<tooltip>[range 0-15] Note: Bell, Dynamic Brake and Rail Wheel Clack cannot play at the same time</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="Sound Option 9" default="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
|
|
<label>F3 controls Air Release enable</label>
|
|
</variable>
|
|
<variable CV="64" item="Sound Setting 12" 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"/>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
|
|
<!-- Motor Control Back EMF -->
|
|
<xi:include href="http://jmri.org/xml/decoders/mrc/motorBEMF_cv112_113_114_124.xml"/>
|
|
<!-- MRC CVs continue -->
|
|
<variable CV="115" item="Sound Option 5" default="0">
|
|
<enumVal>
|
|
<enumChoice choice="Brake 0">
|
|
<choice>Brake 0</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Brake 1">
|
|
<choice>Brake 1</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Brake Sound Off">
|
|
<choice>Brake Sound Off</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Brake Sound Type</label>
|
|
</variable>
|
|
<variable CV="116" item="Global lighting option 5" default="120" comment="Range 0-255">
|
|
<decVal max="255"/>
|
|
<label>Brightness of Dim Light</label>
|
|
<tooltip>[Range 0-255] Brightness of dim light in Rule 17 or dim-bright-off mode</tooltip>
|
|
</variable>
|
|
<variable CV="117" item="Global lighting option 1" tooltip="selects the Headlight Mode" default="0">
|
|
<xi:include href="http://jmri.org/xml/decoders/mrc/enum-LightEffect17.xml"/>
|
|
<label>Headlight Effect</label>
|
|
</variable>
|
|
<variable CV="120" item="Global lighting option 4" default="255">
|
|
<decVal max="255"/>
|
|
<label>Light Brightness</label>
|
|
<tooltip>Range 0-255</tooltip>
|
|
</variable>
|
|
<variable CV="121" item="Sound Option 8" default="0">
|
|
<enumVal>
|
|
<enumChoice choice="Constant">
|
|
<choice>Constant</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Synch to Prime Mover">
|
|
<choice>Synch to Prime Mover</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Air Compressor Mode</label>
|
|
</variable>
|
|
<variable CV="122" item="Sound Option 6" default="0">
|
|
<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 CV="123" item="Sound Option 7" default="0">
|
|
<enumVal>
|
|
<enumChoice choice="Alco 244" value="0">
|
|
<choice>Alco 244</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Alco 539T" value="1">
|
|
<choice>Alco 539T</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>
|