201 lines
9.9 KiB
XML
201 lines
9.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
|
|
<!-- Copyright (C) JMRI 2005 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" showEmptyPanes="no" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder-4-15-2.xsd">
|
|
<version author="Michael Mosher" version="3" lastUpdated="20200109"/>
|
|
<version author="Bob Jacobsen" version="2" lastUpdated="20190727"/> <!-- xinclude for CV19 -->
|
|
<version author="Alain Carasso" version="1" lastUpdated="20130224"/>
|
|
<!-- Version 3 - change mfg to match name in NMRA.xml -->
|
|
<decoder>
|
|
<family name="Wekomm for LSM" mfg="Wekomm Engineering, GmbH">
|
|
<model model="Wekomm_RRR"/>
|
|
<functionlabels>
|
|
<functionlabel num="0" lockable="true">Cab Lights</functionlabel>
|
|
<functionlabel num="1" lockable="true">Trailing Lights</functionlabel>
|
|
<functionlabel num="2" lockable="true">Safelights</functionlabel>
|
|
<functionlabel num="3" lockable="true">Interior lights</functionlabel>
|
|
<functionlabel num="4" lockable="true">Warning lights</functionlabel>
|
|
<functionlabel num="5" lockable="true">3rd Front light</functionlabel>
|
|
<functionlabel num="9" lockable="true">Reverse lights</functionlabel>
|
|
<functionlabel num="10" lockable="true">Failed lights</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="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" default="86" item="Manufacturer" readOnly="yes" comment="8 to reset" tooltip="Readonly default=86">
|
|
<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 Consist address (can also use CV27-28 for Long Secondary address-->
|
|
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAddr.xml"/>
|
|
|
|
<!-- CV 27-28 managed as long address-->
|
|
<variable CV="27" item="Secondary Address">
|
|
<longAddressVal/>
|
|
<label>Consist 2nd Address</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"/>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29RailCom.xml"/>
|
|
<variable CV="29" mask="VXXXXXXX" default="0" item="Decoder Type" tooltip="VXXXXXXX default=0">
|
|
<enumVal>
|
|
<enumChoice choice="MultiFuncton"/>
|
|
<enumChoice choice="Accessory"/>
|
|
</enumVal>
|
|
<label>Decoder Type</label>
|
|
</variable>
|
|
<!-- CV 33; 35-42 Function mapping-->
|
|
<variable CV="33" item="Fx (0-28) activates Cab lights" default="00">
|
|
<decVal max="28"/>
|
|
<label>Fx (0-28) activates Cab lights</label>
|
|
</variable>
|
|
<variable CV="35" item="Fx (0-28) activates Tail lights" default="01">
|
|
<decVal max="28"/>
|
|
<label>Fx (0-28) activates Tail lights</label>
|
|
</variable>
|
|
<variable CV="36" item="Fx (0-28) activates Safelights" default="02">
|
|
<decVal max="28"/>
|
|
<label>Fx (0-28) activates Safelights</label>
|
|
</variable>
|
|
<variable CV="37" item="Fx (0-28) activates Cars Lights" default="03">
|
|
<decVal max="28"/>
|
|
<label>Fx (0-28) activates Cars Lights</label>
|
|
</variable>
|
|
<variable CV="38" item="Fx (0-28) activates Warning" default="04">
|
|
<decVal max="28"/>
|
|
<label>Fx (0-28) activates Warning</label>
|
|
</variable>
|
|
<variable CV="39" item="Fx (0-28) activates 3rd Light" default="05">
|
|
<decVal max="28"/>
|
|
<label>Fx (0-28) activates 3rd Light</label>
|
|
</variable>
|
|
<variable CV="41" item="Fx (0-28) to reverse Cab Lights" default="09">
|
|
<decVal max="28"/>
|
|
<label>Fx (0-28) to reverse Cab Lights</label>
|
|
</variable>
|
|
<variable CV="42" item="Fx (0-28) activates failed Lights" default="10">
|
|
<decVal max="28"/>
|
|
<label>Fx (0-28) activates failed Lights</label>
|
|
</variable>
|
|
<variable CV="52" item="Lights level (0-255)" default="15">
|
|
<decVal max="255"/>
|
|
<label>Lights level (0-255)</label>
|
|
</variable>
|
|
<variable CV="84" item="Number of failed lights (0-13)" default="3">
|
|
<decVal max="13"/>
|
|
<label>Number of failed lights (0-13)</label>
|
|
</variable>
|
|
<!-- CV 110-116 Magnet, Analog Function-->
|
|
<variable CV="110" mask="XXXXXXVV" default="3" item="External Magnet" tooltip="XXXXXXVV default=3">
|
|
<enumVal>
|
|
<enumChoice choice="Magnet active for Consist Address"/>
|
|
<enumChoice choice="Range is F5-F8 / F9-F12"/>
|
|
</enumVal>
|
|
<label>Magnet authorized (Range 0 - 3)</label>
|
|
</variable>
|
|
<variable CV="116" mask="XXXXXVVV" default="7" item="Analog Lights Activated" tooltip="XXXXXVVV default=7">
|
|
<enumVal>
|
|
<enumChoice choice="Cab lights"/>
|
|
<enumChoice choice="Cars lights"/>
|
|
<enumChoice choice="Tail lights"/>
|
|
</enumVal>
|
|
<label>Analog Lights Activated (Range 0 - 7)</label>
|
|
</variable>
|
|
</variables>
|
|
<resets>
|
|
<factReset label="Reset All CVs" CV="8" default="8">
|
|
<label xml:lang="it">Reset delle CV ai valori di fabbrica</label>
|
|
</factReset>
|
|
</resets>
|
|
</decoder>
|
|
<pane>
|
|
<name>RRR Functions Mapping</name>
|
|
<column>
|
|
<row>
|
|
<display item="Fx (0-28) activates Cab lights" label="" layout="above"/>
|
|
<display item="Fx (0-28) activates Cab lights" label="Fx (0-28) activates Cab lights " layout="above" tooltip="Fx (0-28) activates Cab lights" format="hslider"/>
|
|
</row>
|
|
<separator/>
|
|
<separator/>
|
|
<row>
|
|
<display item="Fx (0-28) activates Tail lights" label="" layout="above"/>
|
|
<display item="Fx (0-28) activates Tail lights" label="Fx (0-28) activates Tail lights " layout="above" tooltip="Fx (0-28) activates Tail lights" format="hslider"/>
|
|
</row>
|
|
<separator/>
|
|
<separator/>
|
|
<row>
|
|
<display item="Fx (0-28) activates Safelights" label="" layout="above"/>
|
|
<display item="Fx (0-28) activates Safelights" label="Fx (0-28) activates Safelights " layout="above" tooltip="Fx (0-28) activates Safelights" format="hslider"/>
|
|
</row>
|
|
<separator/>
|
|
<separator/>
|
|
<row>
|
|
<display item="Fx (0-28) activates Cars Lights" label="" layout="above"/>
|
|
<display item="Fx (0-28) activates Cars Lights" label="Fx (0-28) activates Cars Lights " layout="above" tooltip="Fx (0-28) activates Cars Lights" format="hslider"/>
|
|
</row>
|
|
<separator/>
|
|
<separator/>
|
|
<row>
|
|
<display item="Fx (0-28) activates Warning" label="" layout="above"/>
|
|
<display item="Fx (0-28) activates Warning" label="Fx (0-28) activates Warning " layout="above" tooltip="Fx (0-28) activates Warning" format="hslider"/>
|
|
</row>
|
|
<separator/>
|
|
<separator/>
|
|
<row>
|
|
<display item="Fx (0-28) activates 3rd Light" label="" layout="above"/>
|
|
<display item="Fx (0-28) activates 3rd Light" label="Fx (0-28) activates 3rd Light " layout="above" tooltip="Fx (0-28) activates 3rd Light" format="hslider"/>
|
|
</row>
|
|
<separator/>
|
|
<separator/>
|
|
<row>
|
|
<display item="Fx (0-28) to reverse Cab Lights" label="" layout="above"/>
|
|
<display item="Fx (0-28) to reverse Cab Lights" label="Fx (0-28) to reverse Cab Lights" layout="above" tooltip="Fx (0-28) to reverse Cab Lights" format="hslider"/>
|
|
</row>
|
|
<separator/>
|
|
<separator/>
|
|
<row>
|
|
<display item="Fx (0-28) activates failed Lights" label="" layout="above"/>
|
|
<display item="Fx (0-28) activates failed Lights" label="Fx (0-28) activates failed Lights " layout="above" tooltip="Fx (0-28) activates failed Lights" format="hslider"/>
|
|
</row>
|
|
<separator/>
|
|
<separator/>
|
|
<row>
|
|
<display item="Lights level (0-255)" label="" layout="above"/>
|
|
<display item="Lights level (0-255)" label="Lights level (0-255) " layout="above" tooltip="Lights level (0-255)" format="hslider"/>
|
|
</row>
|
|
<separator/>
|
|
<separator/>
|
|
<row>
|
|
<display item="Number of failed lights (0-13)" label="" layout="above"/>
|
|
<display item="Number of failed lights (0-13)" label="Number of failed lights (0-13) " layout="above" tooltip="Number of failed lights (0-13)" format="hslider"/>
|
|
</row>
|
|
<separator/>
|
|
<separator/>
|
|
</column>
|
|
</pane>
|
|
</decoder-config>
|