182 lines
9.2 KiB
XML
182 lines
9.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
|
|
<!-- Copyright (C) JMRI 2003 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="Matthew Harris - matthew.john.harris@gmail.com" version="2.0" lastUpdated="20080818"/>
|
|
<version author="Matthew Harris - matthew.john.harris@gmail.com" version="1.0" lastUpdated="20080814"/>
|
|
<!-- Version 2.0: Updated various CV's to agree with the document -->
|
|
<!-- provided by Marc Fournier found at the following link: -->
|
|
<!-- http://www.lenz.com/products/decoders/currentdecoders/nornalcv.htm -->
|
|
<!-- Version 1.0: Created based on the manual found at: -->
|
|
<!-- http://www.lenz.com/manuals/decoders/le103.pdf -->
|
|
<!-- These are the version 4.1 decoders -->
|
|
<decoder>
|
|
<family name="Lenz version 4.1 decoders" mfg="Lenz" lowVersionID="41" highVersionID="43">
|
|
<model model="LE103" numOuts="2" nmraWarrant="yes" nmraWarrantStart="199611">
|
|
<output name="1" label="A - White"/>
|
|
<output name="2" label="B - Yellow"/>
|
|
</model>
|
|
</family>
|
|
<programming direct="byteOnly" paged="yes" register="yes" ops="no"/>
|
|
<variables>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
|
|
<variable CV="2" item="Vstart" comment="Range 1-15" default="4">
|
|
<decVal min="1" max="15"/>
|
|
<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 1-15</comment>
|
|
<comment xml:lang="de">Range 1-15</comment>
|
|
</variable>
|
|
<variable CV="3" item="Accel" comment="Range 1-31" default="1">
|
|
<decVal min="1" max="31"/>
|
|
<label>Acceleration momentum</label>
|
|
<label xml:lang="it">Accellerazione (1-31)</label>
|
|
<label xml:lang="fr">Accelération (1-31)</label>
|
|
<label xml:lang="de">Anfahrverzögerung (0131)</label>
|
|
<comment>Range 1-31</comment>
|
|
<comment xml:lang="it">Valori 1-31</comment>
|
|
</variable>
|
|
<variable CV="4" item="Decel" comment="Range 1-31" default="1">
|
|
<decVal min="1" max="31"/>
|
|
<label>Brake momentum</label>
|
|
<comment>Range 1-31</comment>
|
|
<label xml:lang="it">Decellerazione (1-31)</label>
|
|
<label xml:lang="fr">Décélération (1-31)</label>
|
|
<label xml:lang="de">Bremszeit (1-31)</label>
|
|
<comment xml:lang="it">Valori 1-31</comment>
|
|
</variable>
|
|
<variable CV="7" item="Decoder Version" readOnly="yes">
|
|
<decVal/>
|
|
<label>Version ID</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" item="Manufacturer" default="99">
|
|
<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>
|
|
<variable item="Manufacturer ID - Reset" CV="8" default="99">
|
|
<decVal/>
|
|
<label>Manufacturer ID - Reset</label>
|
|
<label xml:lang="de">Manufacturer ID - Reset</label>
|
|
</variable>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
|
|
<variable CV="23" item="AccelTrim" default="0">
|
|
<decVal/>
|
|
<label>Acceleration Trim</label>
|
|
<label xml:lang="de">AccelTrim</label>
|
|
</variable>
|
|
<variable CV="24" item="DecelTrim" default="0">
|
|
<decVal/>
|
|
<label>Deceleration Trim</label>
|
|
<label xml:lang="de">DecelTrim</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/cv29table1-28.xml"/>
|
|
<variable CV="50" mask="XXXXXXVX" item="Accel/Decel Trim" default="0" comment="Switch on/off Acceleration/Deceleration trim">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
|
<label>Accel/Decel Trim</label>
|
|
<comment>Switch on/off Acceleration/Deceleration trim</comment>
|
|
<label xml:lang="de">Accel/Decel Trim</label>
|
|
<comment xml:lang="de">Switch on/off Acceleration/Deceleration trim</comment>
|
|
</variable>
|
|
<!-- CV=50 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv50_DCbrake.xml"/>
|
|
<!-- CV=51 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv51_DirectionalHeadlights.xml"/>
|
|
<variable CV="51" mask="XXXXXXVX" item="Global lighting option 1" default="0" comment="Only relevant for 'Directional Lights'">
|
|
<enumVal>
|
|
<enumChoice choice="Disabled">
|
|
<choice>Disabled</choice>
|
|
<choice xml:lang="fr">Désactivé</choice>
|
|
<choice xml:lang="it">Disabilitato</choice>
|
|
<choice xml:lang="de">Deaktiviert</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="F1 dims headlight">
|
|
<choice>F1 dims headlight</choice>
|
|
<choice xml:lang="de">F1 dims headlight</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Directional Headlight Dimming</label>
|
|
<comment>Only relevant for 'Directional Lights'</comment>
|
|
<label xml:lang="de">Global lighting option 1</label>
|
|
<comment xml:lang="de">Only relevant for 'Directional Lights'</comment>
|
|
</variable>
|
|
<variable CV="51" mask="XXXXXVXX" item="Global lighting option 2" default="0" comment="Only relevant for 'Rule 17 Independent Front/Rear Lights'">
|
|
<enumVal>
|
|
<enumChoice choice="Disabled">
|
|
<choice>Disabled</choice>
|
|
<choice xml:lang="fr">Désactivé</choice>
|
|
<choice xml:lang="it">Disabilitato</choice>
|
|
<choice xml:lang="de">Deaktiviert</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="F4 dims Front Light">
|
|
<choice>F4 dims Front Light</choice>
|
|
<choice xml:lang="de">F4 dims Front Light</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Rule 17 Front Light Dimming</label>
|
|
<comment>Only relevant for 'Rule 17 Independent Front/Rear Lights'</comment>
|
|
<label xml:lang="de">Global lighting option 2</label>
|
|
<comment xml:lang="de">Only relevant for 'Rule 17 Independent Front/Rear Lights'</comment>
|
|
</variable>
|
|
<variable CV="51" mask="XXXXVXXX" item="Global lighting option 3" default="0" comment="Only relevant for 'Rule 17 Independent Front/Rear Lights'">
|
|
<enumVal>
|
|
<enumChoice choice="Disabled">
|
|
<choice>Disabled</choice>
|
|
<choice xml:lang="fr">Désactivé</choice>
|
|
<choice xml:lang="it">Disabilitato</choice>
|
|
<choice xml:lang="de">Deaktiviert</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="F4 dims Rear Light">
|
|
<choice>F4 dims Rear Light</choice>
|
|
<choice xml:lang="de">F4 dims Rear Light</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Rule 17 Rear Light Dimming</label>
|
|
<comment>Only relevant for 'Rule 17 Independent Front/Rear Lights'</comment>
|
|
<label xml:lang="de">Global lighting option 3</label>
|
|
<comment xml:lang="de">Only relevant for 'Rule 17 Independent Front/Rear Lights'</comment>
|
|
</variable>
|
|
<variable CV="52" item="Global lighting option 4" default="0">
|
|
<decVal/>
|
|
<label>Dimming Value</label>
|
|
<label xml:lang="de">Global lighting option 4</label>
|
|
</variable>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
|
|
<!-- Define the fixed Function-Output mapping -->
|
|
<constant item="FL(f) controls output 1" minOut="1" default="1"/>
|
|
<constant item="FL(r) controls output 2" minOut="2" default="1"/>
|
|
</variables>
|
|
</decoder>
|
|
<pane>
|
|
<name>Lenz</name>
|
|
<name xml:lang="de">Lenz</name>
|
|
<column>
|
|
<display item="Accel/Decel Trim"/>
|
|
<display item="AccelTrim"/>
|
|
<display item="DecelTrim"/>
|
|
</column>
|
|
</pane>
|
|
</decoder-config>
|