Files
JIMRI/xml/decoders/Digitrax_CS.xml
T
2026-06-17 14:00:51 +02:00

303 lines
16 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2003, 2005, 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="Michael Mosher mjmx@comcast.net" version="8" lastUpdated="20050112"/>
<version author="Walter Thompson wsthompson@earthlink.net" version="10" lastUpdated="20080412"/>
<!-- made from 150 file (Basic FX) -->
<!-- version 3 added BEMF, transponding control, short address -->
<!-- side effects -->
<!-- version 4 adjusts versionID range -->
<!-- version 5 correct BEMF defaults -->
<!-- version 6 - add consist direction - jake -->
<!-- version 7 - fixed numOuts & numFns numbers and add cv29 defaults -->
<!-- Version 7.1 - changed spelling of "behavior" (Jack Shall) -->
<!-- Version 8 - fixed mask for "Vstart/Vmid/Vfull in 128 step mode" - Bob Jacobsen -->
<!-- Version 9 - fixed labels for Enable/Disable "Vstart/Vmid/Vfull in 128 step mode" - Paul Bender -->
<!-- Version 10 - added factory reset -->
<decoder>
<family name="Basic CS" mfg="Digitrax" lowVersionID="225" highVersionID="239">
<model model="DZ121" numOuts="2" numFns="0"/>
<model model="DN122K2" numOuts="2" numFns="0"/>
</family>
<programming direct="no" paged="yes" register="yes" ops="yes"/>
<variables>
<variable CV="1" comment="Short address" item="Short Address" default="03">
<shortAddressVal>
<shortAddressChanges cv="55"/>
<shortAddressChanges cv="56"/>
<shortAddressChanges cv="57"/>
</shortAddressVal>
<label>Primary Address</label>
<comment>Short address</comment>
</variable>
<xi:include href="http://jmri.org/xml/decoders/digitrax/vStartHighMid.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/accelDecel_31.xml"/>
<!-- CV 7-8 -->
<xi:include href="http://jmri.org/xml/decoders/nmra/mfgVersionId.xml"/>
<variable CV="13" mask="XXXXXXXV" minFn="1" item="Analog Mode Function Status - F1">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>F1 during DC operation</label>
<label xml:lang="it">F1 in Analogico</label>
</variable>
<variable CV="13" mask="XXXXXXVX" minFn="2" item="Analog Mode Function Status - F2">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>F2 during DC operation</label>
<label xml:lang="it">F2 in Analogico</label>
</variable>
<variable CV="13" mask="XXXXXVXX" minFn="3" item="Analog Mode Function Status - F3">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>F3 during DC operation</label>
<label xml:lang="it">F3 in Analogico</label>
</variable>
<variable CV="13" mask="XXXXVXXX" minFn="4" item="Analog Mode Function Status - F4">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>F4 during DC operation</label>
<label xml:lang="it">F4 in Analogico</label>
</variable>
<variable CV="13" mask="XXXVXXXX" minFn="5" item="Analog Mode Function Status - F5">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>F5 during DC operation</label>
<label xml:lang="it">F5 in Analogico</label>
</variable>
<variable CV="13" mask="XXVXXXXX" minFn="6" item="Analog Mode Function Status - F6">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>F6 during DC operation</label>
<label xml:lang="it">F6 in Analogico</label>
</variable>
<variable CV="13" mask="XVXXXXXX" item="Analog Mode Function Status - FL(f)">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>F0 Forward during DC operation</label>
<label xml:lang="it">F0 Avanti in Analogico</label>
</variable>
<variable CV="13" mask="VXXXXXXX" item="Analog Mode Function Status - FL(r)">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>F0 Reverse during DC operation</label>
<label xml:lang="it">F0 indietro in Analogico</label>
</variable>
<variable CV="17" item="Extended Address">
<longAddressVal/>
<label>Long Address</label>
<label xml:lang="it">Indirizzo esteso</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/cv29address.xml"/>
<variable item="Function F0F effect generated" CV="49" mask="XXXXVVVV">
<enumVal>
<enumChoice choice="Normal function of lead">
<choice>Normal function of lead</choice>
<choice xml:lang="it">Funzionamento Normale Luci di testa</choice>
</enumChoice>
<enumChoice choice="Blink">
<choice>Blink</choice>
<choice xml:lang="it">Lampeggio</choice>
</enumChoice>
<enumChoice choice="Mars light">
<choice>Mars light</choice>
<choice xml:lang="it">Luci mars</choice>
</enumChoice>
<enumChoice choice="Blinking headlight">
<choice>Blinking headlight</choice>
<choice xml:lang="it">Lampeggiante</choice>
</enumChoice>
<enumChoice choice="Single pulse strobe">
<choice>Single pulse strobe</choice>
<choice xml:lang="it">Strobe a impulso singolo</choice>
</enumChoice>
<enumChoice choice="Double pulse strobe">
<choice>Double pulse strobe</choice>
<choice xml:lang="it">Strobe impulso doppio</choice>
</enumChoice>
<enumChoice choice="Rotary beacon simulation">
<choice>Rotary beacon simulation</choice>
<choice xml:lang="it">Simulazione Lampeggiante rotante</choice>
</enumChoice>
<enumChoice choice="Reserved (0x07)">
<choice>Reserved (0x07)</choice>
<choice xml:lang="it">Riservato (0x07)</choice>
</enumChoice>
</enumVal>
<label>Function F0F effect generated</label>
<label xml:lang="it">F0 avanti Effetti generati</label>
</variable>
<variable item="Function F0F behavior" CV="49" mask="VVVVXXXX">
<enumVal>
<enumChoice choice="Forward direction">
<choice>Forward direction</choice>
<choice xml:lang="it">Direzione in avanti</choice>
</enumChoice>
<enumChoice choice="Reverse direction">
<choice>Reverse direction</choice>
<choice xml:lang="it">Direzione indietro</choice>
</enumChoice>
<enumChoice choice="Non directional">
<choice>Non directional</choice>
<choice xml:lang="it">Non direzionale</choice>
</enumChoice>
</enumVal>
<label>Function F0F behavior</label>
<label xml:lang="it">F0 avanti comportamento</label>
</variable>
<variable item="Function F0R effect generated" CV="50" mask="XXXXXVVV">
<enumVal>
<enumChoice choice="Normal function of lead">
<choice>Normal function of lead</choice>
<choice xml:lang="it">Funzionamento Normale Luci di testa</choice>
</enumChoice>
<enumChoice choice="Blink">
<choice>Blink</choice>
<choice xml:lang="it">Lampeggio</choice>
</enumChoice>
<enumChoice choice="Mars light">
<choice>Mars light</choice>
<choice xml:lang="it">Luci mars</choice>
</enumChoice>
<enumChoice choice="Blinking headlight">
<choice>Blinking headlight</choice>
<choice xml:lang="it">Lampeggiante</choice>
</enumChoice>
<enumChoice choice="Single pulse strobe">
<choice>Single pulse strobe</choice>
<choice xml:lang="it">Strobe a impulso singolo</choice>
</enumChoice>
<enumChoice choice="Double pulse strobe">
<choice>Double pulse strobe</choice>
<choice xml:lang="it">Strobe impulso doppio</choice>
</enumChoice>
<enumChoice choice="Rotary beacon simulation">
<choice>Rotary beacon simulation</choice>
<choice xml:lang="it">Simulazione Lampeggiante rotante</choice>
</enumChoice>
<enumChoice choice="Reserved (0x07)">
<choice>Reserved (0x07)</choice>
<choice xml:lang="it">Riservato (0x07)</choice>
</enumChoice>
</enumVal>
<label>Function F0R effect generated</label>
<label xml:lang="it">F0 indietro comportamento</label>
</variable>
<variable item="Function F0R behavior" CV="50" mask="VVVVXXXX">
<enumVal>
<enumChoice choice="Forward direction">
<choice>Forward direction</choice>
<choice xml:lang="it">Direzione Avanti</choice>
</enumChoice>
<enumChoice choice="Reverse direction">
<choice>Reverse direction</choice>
<choice xml:lang="it">Direzione Indietro</choice>
</enumChoice>
<enumChoice choice="Non directional">
<choice>Non directional</choice>
<choice xml:lang="it">Non Direzionale</choice>
</enumChoice>
</enumVal>
<label>Function F0R behavior</label>
<label xml:lang="it">Comportamento F0 indietro</label>
</variable>
<xi:include href="http://jmri.org/xml/decoders/digitrax/bemf.xml"/>
<variable CV="61" mask="XXXXXXVX" item="Advanced Ack">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
<label>Digitrax Transponding</label>
<label xml:lang="it">Transpondig Digitrax</label>
</variable>
<variable item="Directional Headlights" CV="61" mask="XXXXXXXV">
<enumVal>
<enumChoice choice="Normal headlight operation">
<choice>Normal headlight operation</choice>
<choice xml:lang="it">Normale funzionamento Luci di testa</choice>
</enumChoice>
<enumChoice choice="Enable configurable strobes">
<choice>Enable configurable strobes</choice>
<choice xml:lang="it">Abilita Strobe configurabili</choice>
</enumChoice>
</enumVal>
<label>Directional Headlights</label>
<label xml:lang="it">Luci di testa direzionali</label>
</variable>
<variable item="Vstart/Vmid/Vfull in 128 step mode" CV="61" mask="XXVXXXXX">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-enabledDisabled.xml"/>
<label>Vstart/Vmid/Vfull in 128 step mode</label>
<label xml:lang="it">Vstart/Vmid/Vfull in modo 128 step</label>
</variable>
<variable item="Short-circuit protection" CV="61" mask="XVXXXXXX" comment="Undocumented feature, occasionally requested by Digitrax tech support">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-enabledDisabled.xml"/>
<label>Short-circuit protection</label>
<label xml:lang="it">protezione Corto-circuito</label>
<comment>Undocumented feature, occasionally requested by Digitrax tech support</comment>
<comment xml:lang="it">Funzione non documentata, occasionalmente richiesta dal servizio assistenza Digitrax</comment>
</variable>
<variable CV="62" mask="VVVVXXXX" item="Global lighting option 1" comment="0 is no keep-alive, use with LEDs">
<decVal max="15"/>
<label>Lamp keep-alive voltage</label>
<label xml:lang="it">Tensione mantenimento Lampade</label>
<comment>0 is no keep-alive, use with LEDs</comment>
<comment xml:lang="it">0=nessuna, usare con LED</comment>
</variable>
<variable CV="62" mask="XXXXVVVV" item="Global lighting option 2" comment="0 is fast, 15 is slow, 4 is recommended for start">
<decVal max="15"/>
<label>FX rate adjust</label>
<label xml:lang="it">Tasso aggiustamento FX</label>
<comment>0 is fast, 15 is slow, 4 is recommended for start</comment>
<comment xml:lang="it">0= veloce, 4 raccomandato all'inizio</comment>
</variable>
<variable CV="63" item="Global lighting option 3" comment="0 is none, 40 is realistic 5 seconds, 255 is about 20 seconds">
<decVal/>
<label>Ditch light hold-over time</label>
<label xml:lang="it">tempo smorzamento luci Ditch</label>
<comment>0 is none, 40 is realistic 5 seconds, 255 is about 20 seconds</comment>
<comment xml:lang="it">0= nessuno, 40 realistico (5 sec), 255= circa 20 sec.</comment>
</variable>
<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"/>
<!-- 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>
<pane>
<column>
<display item="Vstart/Vmid/Vfull in 128 step mode"/>
<display item="Short-circuit protection"/>
<display item="Speed Compensation Control"/>
</column>
<name>Digitrax</name>
</pane>
</decoder-config>