75 lines
4.0 KiB
XML
75 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="../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" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder-4-15-2.xsd">
|
|
<version author="Bob Jacobsen rgj1927@pacbell.net" version="1" lastUpdated="20080821"/>
|
|
<version author="Peter Ulvestad" version="2" lastUpdated="20131222"/>
|
|
<!-- Version 2 - Corrected CV 29 default, Renamed family to match branding. -->
|
|
<!-- Decoder used in Hornby engines -->
|
|
<decoder>
|
|
<family name="Digital" mfg="Hornby" highVersionID="13" lowVersionID="13">
|
|
<model model="R8249" numOuts="4" numFns="4" nmraWarrant="yes" nmraWarrantStart="200808" maxTotalCurrent="0.5A" maxMotorCurrent="0.5A">
|
|
<size length="17" width="10" height="3.5" units="mm"/>
|
|
</model>
|
|
</family>
|
|
<programming direct="yes" paged="yes" register="yes" ops="yes"/>
|
|
<variables>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
|
|
<variable CV="3" default="5" item="Accel">
|
|
<decVal max="255"/>
|
|
<label>Acceleration Rate </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 Rate </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="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="48">
|
|
<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>
|
|
<variable CV="10" item="EMF Feedback Cutout" default="128">
|
|
<decVal max="128"/>
|
|
<label>EMF Feedback Cutout</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"/>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29analog.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" default="1"/>
|
|
<constant item="F2 controls output 4" minOut="4" default="1"/>
|
|
</variables>
|
|
<resets>
|
|
<factReset label="HARD RESET all CVs reset to default values" CV="8" default="8"/>
|
|
</resets>
|
|
</decoder>
|
|
</decoder-config>
|