64 lines
3.7 KiB
XML
64 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="http://jmri.org/xml/XSLT/decoder.xsl"?>
|
|
<!-- Copyright (C) JMRI 2004 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" showEmptyPanes="no" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder-4-15-2.xsd">
|
|
<version author="John McAleely john@mcaleely.com" version="3" lastUpdated="20080502"/>
|
|
<!-- Added different models for R8215 and decoder fitted models. -->
|
|
<!-- Renamed family to match branding. -->
|
|
<!-- Taken strict/literal view of what decoder can do. -->
|
|
<version author="Bob Jacobsen rgj1927@pacbell.net" version="2" lastUpdated="20080415"/>
|
|
<version author="PGM" version="1" lastUpdated="20071116"/>
|
|
<!-- Decoder used in Hornby engines -->
|
|
<decoder>
|
|
<family name="Digital" mfg="Hornby">
|
|
<model model="DCC-Fitted (Motored)" numOuts="2" numFns="1" nmraWarrant="no" maxTotalCurrent="0.5A" formFactor="DCC Fitted" comment="Pendolino, other light only locos"/>
|
|
<model model="R8215" numOuts="4" numFns="4" nmraWarrant="no" maxTotalCurrent="0.5A" connector="NMRAmedium">
|
|
<size length="17" width="10" height="3.5" units="mm"/>
|
|
</model>
|
|
</family>
|
|
<programming direct="no" paged="yes" register="yes" ops="yes"/>
|
|
<variables>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/shortAddressOnly.xml"/>
|
|
<variable CV="3" default="5" item="Accel">
|
|
<decVal max="255"/>
|
|
<label>Acceleration momentum</label>
|
|
<label xml:lang="it">Accellerazione (0-255)</label>
|
|
<label xml:lang="fr">Accelération (0-255)</label>
|
|
<label xml:lang="de">Anfahrverzögerung (0-255)</label>
|
|
</variable>
|
|
<variable CV="4" default="5" item="Decel">
|
|
<decVal max="255"/>
|
|
<label>Deceleration momentum</label>
|
|
<label xml:lang="it">Decellerazione (1-255)</label>
|
|
<label xml:lang="fr">Décélération (1-255)</label>
|
|
<label xml:lang="de">Bremszeit (1-255)</label>
|
|
</variable>
|
|
<variable CV="8" infoOnly="yes" item="Manufacturer" default="48">
|
|
<decVal/>
|
|
<label>Manufacturer 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"/>
|
|
<!-- Hornby don't support changing this, but it should be written as 1 for consistency -->
|
|
<variable CV="29" mask="XXXXXVXX" item="Analog Mode" default="1" writeOnly="yes">
|
|
<decVal min="1" max="1"/>
|
|
<label>Analog Mode</label>
|
|
<label xml:lang="it">Conversione Analogica Abilitata (DCC+Analogico)</label>
|
|
<label xml:lang="fr">Mode analogique activé</label>
|
|
<label xml:lang="de">Analogbetrieb Aktiviert</label>
|
|
</variable>
|
|
</variables>
|
|
</decoder>
|
|
</decoder-config>
|