102 lines
4.8 KiB
XML
102 lines
4.8 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="Ian Birchenough(ian@birchenough.demon.co.uk)" version="2" lastUpdated="20060521"/>
|
|
<version author="Phil Grainger (phil.grainger@ca.com)" version="1" lastUpdated="20030805"/>
|
|
<!-- ZTC 215 and 215B decoders -->
|
|
<decoder>
|
|
<family name="ZTC215/215B" mfg="ZTC" lowVersionID="0" highVersionID="255">
|
|
<model model="ZTC215" numOuts="2">
|
|
<output name="1" label="White"/>
|
|
<output name="2" label="Yellow"/>
|
|
</model>
|
|
<model model="ZTC215B" numOuts="2">
|
|
<output name="1" label="White"/>
|
|
<output name="2" label="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 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">Startspannung</label>
|
|
<comment>Range 0-255</comment>
|
|
</variable>
|
|
<variable item="Accel" CV="3" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Accel</label>
|
|
<label xml:lang="it">Accellerazione (0-15)</label>
|
|
<label xml:lang="fr">Accelération (0-15)</label>
|
|
<label xml:lang="de">Anfahrverzögerung (0-15)</label>
|
|
<comment>Range 0-15</comment>
|
|
</variable>
|
|
<variable item="Decel" CV="4" comment="Range 0-15">
|
|
<decVal max="15"/>
|
|
<label>Decel</label>
|
|
<label xml:lang="it">Decellerazione (0-15)</label>
|
|
<label xml:lang="fr">Décélération (0-15)</label>
|
|
<label xml:lang="de">Bremszeit (0-15)</label>
|
|
<comment>Range 0-15</comment>
|
|
</variable>
|
|
<variable item="Vhigh" CV="5" comment="Range 0-255">
|
|
<decVal max="255"/>
|
|
<label>Vhigh</label>
|
|
<comment>Range 0-255</comment>
|
|
</variable>
|
|
<variable item="Vmid" CV="6" comment="Range 1-13">
|
|
<decVal min="0" max="13"/>
|
|
<label>Vmid</label>
|
|
<comment>Range 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>
|
|
</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>
|
|
<!-- CV=29 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29direction.xml"/>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29speedSteps.xml"/>
|
|
<variable CV="29" mask="XXXXXVXX" default="1" item="Analog (DC) Operation">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
|
<label>Analog conversion mode</label>
|
|
</variable>
|
|
<variable item=" Analog (DC) Operation " CV="12" comment="DC Conversion Active?" mask="XXXXXXXV">
|
|
<enumVal>
|
|
<enumChoice choice="Operate on DCC only">
|
|
<choice>Operate on DCC only</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Operate on DCC and DC">
|
|
<choice>Operate on DCC and DC</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label> Analog (DC) Operation </label>
|
|
<comment>DC Conversion Active?</comment>
|
|
</variable>
|
|
</variables>
|
|
</decoder>
|
|
</decoder-config>
|