Files
2026-06-17 14:00:51 +02:00

124 lines
7.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2002, 2004, 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="jake@physics.berkeley.edu" version="8" lastUpdated="20041005"/>
<version author="Walter Thompson wsthompson@earthlink.net" version="9" lastUpdated="20080412"/>
<!-- Represent the family of Digitrax decoders with STD (not STD*) outputs. -->
<!-- Version 3 - set ops mode programming to no -->
<!-- Version 5 - renaming, adjust decoder models -->
<!-- version 6 - move DN140 to Basic file -->
<!-- version 7 - add consist direction - jake -->
<!-- version 8 - high version 45 to 46, see bug 946665 -->
<!-- version 9 - added factory reset -->
<decoder>
<family name="Basic STD" mfg="Digitrax" lowVersionID="33" highVersionID="46">
<model model="DH121" numOuts="2" numFns="2"/>
</family>
<programming direct="no" paged="yes" register="yes" ops="no"/>
<variables>
<xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
<xi:include href="http://jmri.org/xml/decoders/digitrax/vStartHighMid.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/accelDecel_31.xml"/>
<xi:include href="http://jmri.org/xml/decoders/digitrax/mfgVersionId.xml"/>
<variable item="Analog Mode Function Status - F1" CV="13" mask="XXXXXXXV">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>Analog Mode Function Status - F1</label>
<label xml:lang="it">Stato Funzione Modo</label>
</variable>
<variable item="Analog Mode Function Status - F2" CV="13" mask="XXXXXXVX">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>Analog Mode Function Status - F2</label>
<label xml:lang="it">Stato Funzione Modo - F2</label>
</variable>
<variable item="Analog Mode Function Status - F3" CV="13" mask="XXXXXVXX">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>Analog Mode Function Status - F3</label>
<label xml:lang="it">Stato Funzione Modo - F3</label>
</variable>
<variable item="Analog Mode Function Status - F4" CV="13" mask="XXXXVXXX">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>Analog Mode Function Status - F4</label>
<label xml:lang="it">Stato Funzione Modo - F4</label>
</variable>
<variable item="Analog Mode Function Status - F5" CV="13" mask="XXXVXXXX">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>Analog Mode Function Status - F5</label>
<label xml:lang="it">Stato Funzione Modo - F5</label>
</variable>
<variable item="Analog Mode Function Status - F6" CV="13" mask="XXVXXXXX">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>Analog Mode Function Status - F6</label>
<label xml:lang="it">Stato Funzione Modo - F6</label>
</variable>
<variable item="Analog Mode Function Status - FL(f)" CV="13" mask="XVXXXXXX">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>Analog Mode Function Status - FL(f)</label>
<label xml:lang="it">Stato Funzione Modo - FL(avanti)</label>
</variable>
<variable item="Analog Mode Function Status - FL(r)" CV="13" mask="VXXXXXXX">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>Analog Mode Function Status - FL(r)</label>
<label xml:lang="it">Stato Funzione Modo - FL(indietro)</label>
</variable>
<!-- CV=19 -->
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.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/cv29table3-28.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/kickStart.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/fwdTrim.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/revTrim.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
<variable item="Directional Headlights" CV="61" mask="XXXXXXXV">
<enumVal>
<enumChoice choice="Normal headlight operation">
<choice>Normal headlight operation</choice>
<choice xml:lang="it">Operatività Normale</choice>
</enumChoice>
<enumChoice choice="Reverse light lead controlled by F4">
<choice>Reverse light lead controlled by F4</choice>
<choice xml:lang="it">Luci Indietro controllate da F4</choice>
</enumChoice>
</enumVal>
<label>Directional Headlights</label>
<label xml:lang="it">Luci Direzionali</label>
</variable>
<!-- 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"/>
<constant item="F1 controls output 3" minOut="3" minFn="1" default="1"/>
<constant item="F2 controls output 4" minOut="4" minFn="2" default="1"/>
<constant item="F3 controls output 5" minOut="5" minFn="3" default="1"/>
<constant item="F4 controls output 6" minOut="6" minFn="4" default="1"/>
<constant item="F5 controls output 7" minOut="7" minFn="5" default="1"/>
<constant item="F6 controls output 8" minOut="8" minFn="6" default="1"/>
<constant item="F7 controls output 9" minOut="9" minFn="7" default="1"/>
<constant item="F8 controls output 10" minOut="10" minFn="8" default="1"/>
</variables>
<resets>
<factReset label="Reset All CVs" CV="8" default="8">
<label>Reset All CVs</label>
<label xml:lang="it">Reset delle CV ai valori di fabbrica</label>
</factReset>
<factReset label="Reset All CVs except speed table" CV="8" default="9">
<label>Reset All CVs except speed table</label>
<label xml:lang="it">Reset delle CV salvo Tabella Velocità ai valori di fabbrica</label>
</factReset>
</resets>
</decoder>
</decoder-config>