218 lines
10 KiB
XML
218 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
|
|
<!-- Copyright (C) JMRI 2005, 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="Marc N Fournier" version="3" lastUpdated="20170323"/>
|
|
<version author="Alain Le Marchand" version="2" lastUpdated="20150501"/>
|
|
<version author="Bill Chown" version="1" lastUpdated="20080226"/>
|
|
<!-- made from the MRC_1656 (Pete Cesaro) file by Bill Chown orrrbrit2004@yahoo.com -->
|
|
<!-- version 2: Regular CV21 on Consist pane - removed MRC pane -->
|
|
<!-- version 3: Added MRC 1651 decoder modelm cv112, cv113 -->
|
|
<decoder>
|
|
<family name="MRC Light Effect Decoders" mfg="MRC" lowVersionID="32" highVersionID="32">
|
|
<model model="5 Function decoder 1650" maxTotalCurrent="1.5A" extFnsMRC="yes" productID="1650">
|
|
<!-- note All functions are NMRA compatible -->
|
|
<size length="25.5" width="12.3" height="4.5" units="mm"/>
|
|
</model>
|
|
<model model="4 Function decoder 1651" maxTotalCurrent="1.5A" extFnsMRC="yes" productID="1651">
|
|
<!-- note All functions are NMRA compatible -->
|
|
<size length="26.5" width="15.0" height="5.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="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="7" item="Decoder Version" readOnly="yes" tooltip="=32 for many MRC 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>
|
|
<!-- 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"/>
|
|
<variable CV="59" item="Function 4 behavior" default="0" tooltip="range 0(Double)-1(Single)" include="1650" comment="Range 0(Double)-1(Single)">
|
|
<enumVal>
|
|
<enumChoice choice="Double Strobe" value="0">
|
|
<choice>Double Strobe</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Single Strobe" value="1">
|
|
<choice>Single Strobe</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Strobe Light</label>
|
|
<comment>Range 0(Double)-1(Single)</comment>
|
|
</variable>
|
|
<variable CV="60" item="Global lighting option 1" default="0" tooltip="range 0, 1 or 2" include="1650,1651" comment="Range 0-2">
|
|
<enumVal>
|
|
<enumChoice choice="Directional" value="0">
|
|
<choice>Directional</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Rule 17" value="1">
|
|
<choice>Rule 17</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Both On/Off" value="2">
|
|
<choice>Both On/Off</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Head/Rear Light</label>
|
|
<comment>Range 0-2</comment>
|
|
</variable>
|
|
<variable CV="61" item="Function 1 options" default="10" tooltip="range 0-32, F2 enables 10 flashes" include="1650" comment="Range 0-32">
|
|
<decVal max="3"/>
|
|
<label>Ditch Light Rate, F1</label>
|
|
<comment>Range 0-32</comment>
|
|
</variable>
|
|
<variable CV="62" item="Function 3 options" default="10" tooltip="range 0-32" include="1650" comment="Range 0-32">
|
|
<decVal max="3"/>
|
|
<label>Mars Light Rate, F3</label>
|
|
<comment>Range 0-32</comment>
|
|
</variable>
|
|
<variable CV="63" item="Function 4 options" default="10" tooltip="range 0-32" include="1650" comment="Range 0-32">
|
|
<decVal max="3"/>
|
|
<label>Strobe Light Rate, F4</label>
|
|
<comment>Range 0-32</comment>
|
|
</variable>
|
|
<variable item="Function 1 effect generated" CV="64" default="1" tooltip="1(default) enables dedicated lighting effects" include="1650">
|
|
<enumVal>
|
|
<enumChoice choice="F1-F4 normal On/Off" value="0">
|
|
<choice>F1-F4 normal On/Off</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="MRC Special Light effects" value="1">
|
|
<choice>MRC Special Light effects</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Accessory Lighting Effects (Not Headlight)</label>
|
|
</variable>
|
|
<!-- CV 105-106 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
|
|
<!-- CV 112-113 ACC1, ACC2 lght control -->
|
|
<variable CV="112" item="Function 1 effect generated" default="0" include="1651" tooltip="ACC1 light type control (green wire)">
|
|
<enumVal>
|
|
<enumChoice choice="Ditch" value="0">
|
|
<choice>Ditch</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Gyra" value="1">
|
|
<choice>Gyra</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Mars" value="2">
|
|
<choice>Mars</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Prime Strato" value="3">
|
|
<choice>Prime Strato</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Single Strobe" value="4">
|
|
<choice>Single Strobe</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Double Strobe" value="5">
|
|
<choice>Double Strobe</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>ACC1 Light type Control</label>
|
|
</variable>
|
|
|
|
<variable CV="113" item="Function 2 effect generated" default="0" include="1651" tooltip="ACC2 light type control (pink wire)">
|
|
<enumVal>
|
|
<enumChoice choice="Ditch" value="0">
|
|
<choice>Ditch</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Gyra" value="1">
|
|
<choice>Gyra</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Mars" value="2">
|
|
<choice>Mars</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Prime Strato" value="3">
|
|
<choice>Prime Strato</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Single Strobe" value="4">
|
|
<choice>Single Strobe</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Double Strobe" value="5">
|
|
<choice>Double Strobe</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>ACC2 Light type Control</label>
|
|
</variable>
|
|
|
|
<variable CV="123" item="EMF Static Config" default="0" tooltip="default Back EMF is Off">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
|
<label>Load Control Back emf</label>
|
|
</variable>
|
|
<variable CV="124" item="Speed Table Selection" default="0" tooltip="sets the motor voltage increase curve with Speed Steps, range 0(default)-2">
|
|
<enumVal>
|
|
<enumChoice choice="Linear">
|
|
<choice>Linear</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Slow increase at slow speed">
|
|
<choice>Slow increase at slow speed</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Fast increase at slow speed">
|
|
<choice>Fast increase at slow speed</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Select Speed Curve</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>
|