205 lines
9.6 KiB
XML
205 lines
9.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
|
|
<!-- Copyright (C) JMRI 2003, 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" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder-4-15-2.xsd">
|
|
<version author="Bob Blackwell afticarr@sympatico.ca)" version="1" lastUpdated="20060812"/>
|
|
<!-- ZTC Speed Stabilized / WhisperDrive decoder -->
|
|
<version author="Alain Le Marchand" version="2" lastUpdated="2014/03/02"/>
|
|
<!-- Version 2 - Fixed manufacturer label from "Kuehn" to "Kuehn Ing." as per current decoderIndex.xml file (Alain Le Marchand) -->
|
|
<decoder>
|
|
<family name="ZTC WhisperDrive" mfg="Kuehn Ing." lowVersionID="0" highVersionID="255">
|
|
<model model="ZTC217" numOuts="2">
|
|
<output name="1" label="White">
|
|
<label xml:lang="it">Bianco</label>
|
|
<label xml:lang="cs">Bílá</label>
|
|
</output>
|
|
<output name="2" label="Yellow">
|
|
<label xml:lang="it">Giallo</label>
|
|
<label xml:lang="cs">Žlutá</label>
|
|
</output>
|
|
</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 0-255">
|
|
<decVal/>
|
|
<label>Start Volts</label>
|
|
<label xml:lang="it">Volt Partenza</label>
|
|
<label xml:lang="fr">V démarr.</label>
|
|
<label xml:lang="de">Anfahrspannung</label>
|
|
<comment>Range 0-255</comment>
|
|
<comment xml:lang="it">Valori 0-255</comment>
|
|
<label xml:lang="cs">Rozjezdové napětí</label>
|
|
<comment xml:lang="cs">Meze 0-255</comment>
|
|
</variable>
|
|
<variable item="Accel" CV="3" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Accel</label>
|
|
<label xml:lang="it">Accellerazione</label>
|
|
<comment>Range 0-15</comment>
|
|
<comment xml:lang="it">Valori 0-15</comment>
|
|
<label xml:lang="cs">Zrychlení</label>
|
|
<comment xml:lang="cs">Meze 0-15</comment>
|
|
</variable>
|
|
<variable item="Decel" CV="4" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Decel</label>
|
|
<label xml:lang="it">Decellerazione</label>
|
|
<comment>Range 0-15</comment>
|
|
<comment xml:lang="it">Valori 0-15</comment>
|
|
<label xml:lang="cs">Zpomalení</label>
|
|
<comment xml:lang="cs">Meze 0-15</comment>
|
|
</variable>
|
|
<variable item="Vhigh" CV="5" comment="Range 0-255">
|
|
<decVal max="255"/>
|
|
<label>Vhigh</label>
|
|
<label xml:lang="it">Volt Massimi</label>
|
|
<comment>Range 0-255</comment>
|
|
<comment xml:lang="it">Valori 0-255</comment>
|
|
<label xml:lang="cs">Maximální napětí</label>
|
|
<comment xml:lang="cs">Meze 0-255</comment>
|
|
</variable>
|
|
<variable item="Vmid" CV="6" comment="Range 1-13">
|
|
<decVal min="0" max="13"/>
|
|
<label>Vmid</label>
|
|
<label xml:lang="it">Volt Intermedi</label>
|
|
<comment>Range 1-13</comment>
|
|
<comment xml:lang="it">Valori 1-13</comment>
|
|
<label xml:lang="cs">Střední napětí</label>
|
|
<comment xml:lang="cs">Meze 1-13</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>
|
|
<label xml:lang="cs">Verze dekodéru </label>
|
|
</variable>
|
|
<variable CV="8" readOnly="yes" item="Manufacturer" default="157">
|
|
<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>
|
|
<label xml:lang="cs">ID výrobce </label>
|
|
</variable>
|
|
<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 item="Motor Drive Selection" CV="54" mask="XXXXXXXV" default="0">
|
|
<enumVal>
|
|
<enumChoice choice="WhisperDrive ON">
|
|
<choice>WhisperDrive ON</choice>
|
|
<choice xml:lang="it">WhisperDrive ON</choice>
|
|
<choice xml:lang="cs">WhisperDrive zapnuto (tichý chod)</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="WhisperDrive OFF">
|
|
<choice>WhisperDrive OFF</choice>
|
|
<choice xml:lang="it">WhisperDrive OFF</choice>
|
|
<choice xml:lang="cs">WhisperDrive vypnuto (tichý chod)</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Motor Drive Selection</label>
|
|
<label xml:lang="it">Selezione Driver Motore</label>
|
|
<label xml:lang="cs">Volba pohonu motoru</label>
|
|
</variable>
|
|
<variable CV="55" item="Static Compensation" default="128" comment="Range 0-255">
|
|
<decVal min="0" max="255"/>
|
|
<label>Static Compensation</label>
|
|
<label xml:lang="it">Compensazione Statica</label>
|
|
<comment>Range 0-255</comment>
|
|
<comment xml:lang="it">Valori 0-255</comment>
|
|
<label xml:lang="cs">Statická kompenzace (složka P)</label>
|
|
<comment xml:lang="cs">Meze 0-255</comment>
|
|
</variable>
|
|
<variable CV="56" item="Dynamic Compensation" default="48" comment="Range 0-255">
|
|
<decVal min="0" max="255"/>
|
|
<label>Dynamic Compensation</label>
|
|
<label xml:lang="it">Compensazione Dinamica</label>
|
|
<comment>Range 0-255</comment>
|
|
<comment xml:lang="it">Valori 0-255</comment>
|
|
<label xml:lang="cs">Dynamická kompenzace (složka I)</label>
|
|
<comment xml:lang="cs">Meze 0-255</comment>
|
|
</variable>
|
|
<variable CV="57" item="Decay Rate" default="0" comment="Range 0-15">
|
|
<decVal min="0" max="15"/>
|
|
<label>Decay Rate</label>
|
|
<label xml:lang="it">Grado Decay</label>
|
|
<comment>Range 0-15</comment>
|
|
<comment xml:lang="it">Valori 0-15</comment>
|
|
<label xml:lang="cs">Míra rozkladu</label>
|
|
<comment xml:lang="cs">Meze 0-15</comment>
|
|
</variable>
|
|
<variable item="Directional Headlights" CV="61" mask="XXXXXXXV">
|
|
<enumVal>
|
|
<enumChoice choice="Headlights are directional and operate automatically">
|
|
<choice>Headlights are directional and operate automatically</choice>
|
|
<choice xml:lang="it">Luci direzionali ed automatiche</choice>
|
|
<choice xml:lang="cs">Světla jsou závislá na směru a přepínají se automaticky</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Headlights are independently controlled (F0-Front, F4-Rear)">
|
|
<choice>Headlights are independently controlled (F0-Front, F4-Rear)</choice>
|
|
<choice xml:lang="it">Luci indipendenti e controllate da : F0=davanti , F4=retro</choice>
|
|
<choice xml:lang="cs">Světla jsou ovládána nezávisle (F0 - přední, F4 - zadní)</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Directional Headlights</label>
|
|
<label xml:lang="it">Luci di direzione</label>
|
|
<label xml:lang="cs">Směrová světla</label>
|
|
</variable>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/kickStart_63.xml"/>
|
|
<!-- Define the fixed Function-Output mapping -->
|
|
<constant item="F1 controls output 3" minOut="3" default="1"/>
|
|
<constant item="F2 controls output 4" minOut="4" default="1"/>
|
|
<constant item="F3 controls output 5" minOut="5" default="1"/>
|
|
<constant item="F4 controls output 6" minOut="6" default="1"/>
|
|
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
|
|
|
|
</variables>
|
|
</decoder>
|
|
<pane>
|
|
<column>
|
|
<row>
|
|
<column>
|
|
<display item="Static Compensation" format="hslider" label="">
|
|
<label/>
|
|
</display>
|
|
<display item="Static Compensation"/>
|
|
<display item="Dynamic Compensation" format="hslider" label="">
|
|
<label/>
|
|
</display>
|
|
<display item="Dynamic Compensation"/>
|
|
<display item="Decay Rate" format="hslider" label="">
|
|
<label/>
|
|
</display>
|
|
<display item="Decay Rate"/>
|
|
</column>
|
|
</row>
|
|
<separator/>
|
|
<row>
|
|
<column>
|
|
<display item="Motor Drive Selection" layout="above" label="Motor Drive Selection">
|
|
<label>Motor Drive Selection</label>
|
|
<label xml:lang="it">Selezione Driver Motore</label>
|
|
<label xml:lang="cs">Volba pohonu motoru</label>
|
|
</display>
|
|
</column>
|
|
</row>
|
|
</column>
|
|
<name>ZTC</name>
|
|
</pane>
|
|
</decoder-config>
|