228 lines
12 KiB
XML
228 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
|
|
<!-- Copyright (C) JMRI 2003, 2004. 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="Nigel Cliffe" version="1" lastUpdated="20101110"/>
|
|
<!-- Version 1 - from information at http://www.uli-johann.homepage.t-online.de/decoderdcc1.htm -->
|
|
<decoder>
|
|
<family name="Fleischmann Loco Decoders" mfg="Fleischmann">
|
|
<model model="DCC Twin mode decoder" numOuts="2" numFns="6" maxMotorCurrent="1.0A" formFactor="HO, N">
|
|
<versionCV lowVersionID="62" highVersionID="73"/>
|
|
<output name="1" label="White"/>
|
|
<output name="2" label="Yellow"/>
|
|
<output name="AC" label="Accel-Decel"/>
|
|
<output name="SH" label="Shunting Spd"/>
|
|
</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="2" item="Vstart" default="5">
|
|
<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>
|
|
</variable>
|
|
<variable item="Accel" CV="3" default="5">
|
|
<decVal/>
|
|
<label>Acceleration</label>
|
|
<label xml:lang="it">Accellerazione </label>
|
|
<label xml:lang="fr">Accelération</label>
|
|
<label xml:lang="de">Anfahrverzögerung </label>
|
|
</variable>
|
|
<variable item="Decel" CV="4" default="3">
|
|
<decVal/>
|
|
<label>Deceleration</label>
|
|
<label xml:lang="it">Decellerazione</label>
|
|
<label xml:lang="fr">Décélération</label>
|
|
<label xml:lang="de">Bremszeit</label>
|
|
</variable>
|
|
<variable item="Vhigh" CV="5" default="132">
|
|
<decVal/>
|
|
<label>Vhigh</label>
|
|
</variable>
|
|
<variable item="Vmid" CV="6">
|
|
<decVal/>
|
|
<label>Vmid</label>
|
|
</variable>
|
|
<!-- CV 7-8 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/mfgVersionId.xml"/>
|
|
<variable CV="9" default="20" item="Motor PWM Frequency" tooltip="0=100Hz, 15-22=variable-kHz" comment="Range 0/15-22">
|
|
<enumVal>
|
|
<enumChoice choice="100 Hz" value="0"/>
|
|
<enumChoice choice="15 kHz" value="15"/>
|
|
<enumChoice choice="16 kHz" value="16"/>
|
|
<enumChoice choice="17 kHz" value="17"/>
|
|
<enumChoice choice="18 kHz" value="18"/>
|
|
<enumChoice choice="19 kHz" value="19"/>
|
|
<enumChoice choice="20 kHz" value="20"/>
|
|
<enumChoice choice="21 kHz" value="21"/>
|
|
<enumChoice choice="22 kHz" value="22"/>
|
|
</enumVal>
|
|
<label>Motor PWM Frequency</label>
|
|
</variable>
|
|
<variable CV="12" mask="XXXXXXXV" item="Advanced Group 1 Option 1" default="1" tooltip="allow alternative mode (analogue), set action in">
|
|
<enumVal>
|
|
<enumChoice choice="Off"/>
|
|
<enumChoice choice="Analogue permitted"/>
|
|
</enumVal>
|
|
<label>Alternative mode (analogue)</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"/>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29table1-28.xml"/>
|
|
<variable CV="30" mask="XXXXXXXV" item="Advanced Group 2 Option 1" readOnly="yes" default="0">
|
|
<decVal/>
|
|
<label>Error Information (read only)</label>
|
|
</variable>
|
|
<!-- Function Mapping follows -->
|
|
<variable item="FL(f) controls output 1" CV="33" mask="XXXXXXXV" minOut="1" default="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>FL(f) controls output 1</label>
|
|
</variable>
|
|
<variable item="FL(f) controls output 2" CV="33" mask="XXXXXXVX" minOut="2">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>FL(f) controls output 2</label>
|
|
</variable>
|
|
<variable item="FL(r) controls output 1" CV="34" mask="XXXXXXXV" minOut="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>FL(r) controls output 1</label>
|
|
</variable>
|
|
<variable item="FL(r) controls output 2" CV="34" mask="XXXXXXVX" minOut="2" default="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>FL(r) controls output 2</label>
|
|
</variable>
|
|
<variable item="F1 controls output 1" CV="35" mask="XXXXXXXV" minOut="1" minFn="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>F1 controls output 1</label>
|
|
</variable>
|
|
<variable item="F1 controls output 2" CV="35" mask="XXXXXXVX" minOut="2" minFn="1">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>F1 controls output 2</label>
|
|
</variable>
|
|
<variable item="F1 controls output AC" CV="37" mask="XVXXXXXX" minOut="2" minFn="3">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>F1 controls output AC</label>
|
|
</variable>
|
|
<variable item="F2 controls output 1" CV="36" mask="XXXXXXXV" minOut="1" minFn="2">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>F2 controls output 1</label>
|
|
</variable>
|
|
<variable item="F2 controls output 2" CV="36" mask="XXXXXXVX" minOut="2" minFn="2">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>F2 controls output 2</label>
|
|
</variable>
|
|
<variable item="F2 controls output SH" CV="37" mask="VXXXXXXX" minOut="2" minFn="3">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>F2 controls output SH</label>
|
|
</variable>
|
|
<variable item="F3 controls output 1" CV="37" mask="XXXXXXXV" minOut="1" minFn="3">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>F3 controls output 1</label>
|
|
</variable>
|
|
<variable item="F3 controls output 2" CV="37" mask="XXXXXXVX" minOut="2" minFn="3">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>F3 controls output 2</label>
|
|
</variable>
|
|
<variable item="F4 controls output 4" CV="38" mask="XXXXXXXV" minOut="4" minFn="4">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>F4 controls output 4</label>
|
|
</variable>
|
|
<variable item="F5 controls output 4" CV="39" mask="XXXXXXXV" minOut="2" minFn="5">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>F5 controls output 4</label>
|
|
</variable>
|
|
<variable item="F6 controls output 4" CV="40" mask="XXXXXXXV" minOut="2" minFn="6">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>F6 controls output 4</label>
|
|
</variable>
|
|
<variable CV="51" mask="XXXXXXXV" default="1" item="Advanced Group 2 Option 5">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>Motor Control</label>
|
|
</variable>
|
|
<variable CV="51" mask="XXXXXXVX" default="0" item="Advanced Group 2 Option 6">
|
|
<enumVal>
|
|
<enumChoice choice="Off">
|
|
<choice>No</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="On">
|
|
<choice>Yes</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Motor Cycles Summary</label>
|
|
</variable>
|
|
<variable CV="51" mask="XXVXXXXX" default="1" item="Advanced Group 2 Option 4">
|
|
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
|
|
<label>Lamp indicates error state</label>
|
|
</variable>
|
|
<variable CV="52" mask="XXXXXVVV" item="Advanced Group 1 Option 7" default="7">
|
|
<enumVal>
|
|
<enumChoice choice="0"/>
|
|
<enumChoice choice="1"/>
|
|
<enumChoice choice="2"/>
|
|
<enumChoice choice="3"/>
|
|
<enumChoice choice="4"/>
|
|
<enumChoice choice="5"/>
|
|
<enumChoice choice="6"/>
|
|
<enumChoice choice="7"/>
|
|
</enumVal>
|
|
<label>Light Dimming</label>
|
|
</variable>
|
|
<variable CV="53" default="15" item="EMF Static Config" tooltip="P adjustment, 11-17" comment="Range 11-17">
|
|
<enumVal>
|
|
<enumChoice choice="off" value="0"/>
|
|
<enumChoice choice="11" value="11"/>
|
|
<enumChoice choice="12" value="12"/>
|
|
<enumChoice choice="13" value="13"/>
|
|
<enumChoice choice="14" value="14"/>
|
|
<enumChoice choice="15" value="15"/>
|
|
<enumChoice choice="16" value="16"/>
|
|
<enumChoice choice="17" value="17"/>
|
|
</enumVal>
|
|
<label>Motor BEMF tuning, P adjustment</label>
|
|
</variable>
|
|
<variable CV="54" default="8" item="EMF Dynamic Config" tooltip="I adjustment, 5-10" comment="Range 5-10">
|
|
<enumVal>
|
|
<enumChoice choice="off" value="0"/>
|
|
<enumChoice choice="5" value="5"/>
|
|
<enumChoice choice="6" value="6"/>
|
|
<enumChoice choice="7" value="7"/>
|
|
<enumChoice choice="8" value="8"/>
|
|
<enumChoice choice="9" value="9"/>
|
|
<enumChoice choice="10" value="10"/>
|
|
</enumVal>
|
|
<label>Motor BEMF tuning, I adjustment</label>
|
|
</variable>
|
|
<variable CV="57" item="Advanced Group 2 Option 2" default="13">
|
|
<decVal/>
|
|
<label>Motor Switch-off Threshold</label>
|
|
</variable>
|
|
<variable CV="66" item="Forward Trim" default="128" tooltip="<html>Allows the decoders overall throttle response in the forward direction to be adjusted up or down.<br> Values 1-127 will decrease motor voltage, 129-255 will increase it. A value of zero will disable.<br> Tip: this feature only active when speed tables are enabled.</html>">
|
|
<decVal/>
|
|
<label>Forward Trim (0-255)</label>
|
|
</variable>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
|
|
<variable CV="95" item="Reverse Trim" default="128" tooltip="<html>Allows the decoders overall throttle response in the reverse direction to be adjusted up or down.<br> Values 1-127 will decrease motor voltage, 129-255 will increase it. A value of zero will disable.<br> Tip: this feature only active when speed tables are enabled.</html>">
|
|
<decVal/>
|
|
<label>Reverse Trim (0-255)</label>
|
|
</variable>
|
|
</variables>
|
|
<resets>
|
|
<factReset label="HARD RESET all CVs reset to default values" CV="64" default="0"/>
|
|
</resets>
|
|
</decoder>
|
|
</decoder-config>
|