Files
JIMRI/xml/decoders/Fleischmann_FMZ_DCC.xml
2026-06-17 14:00:51 +02:00

190 lines
9.3 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="FMZ/Selectrix/DCC decoder" numOuts="2" numFns="8" maxMotorCurrent=".6A" formFactor="HO, N">
<versionCV lowVersionID="41" highVersionID="52"/>
<output name="1" label="White"/>
<output name="2" label="Yellow"/>
<output name="RA" label="Accel-Decel"/>
<output name="YD" label="Shunting Spd"/>
<size length="16.5" width="9.0" height="4.0" 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 item="Accel" CV="3" default="1">
<decVal/>
<label>Acceleration</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 item="Decel" CV="4" default="1">
<decVal/>
<label>Deceleration</label>
<label xml:lang="it">Decellerazione (0-255)</label>
<label xml:lang="fr">Décélération (0-255)</label>
<label xml:lang="de">Bremszeit (0-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">
<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="12" mask="XXXXVXXX" item="Advanced Group 1 Option 1" default="0" tooltip="&lt;html&gt;Allows operation on Selectrix&lt;br&gt;/html&gt;">
<enumVal>
<enumChoice choice="Selectrix Off"/>
<enumChoice choice="Selectrix On"/>
</enumVal>
<label>Selectrix Data Format</label>
</variable>
<variable CV="12" mask="XXVXXXXX" item="Advanced Group 1 Option 2" default="1" tooltip="&lt;html&gt;Allows operation on Selectrix&lt;br&gt;/html&gt;">
<enumVal>
<enumChoice choice="FMZ Off"/>
<enumChoice choice="FMZ On"/>
</enumVal>
<label>FMZ Data Format</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 -->
<!-- Decoder has virtually no function mapping capability ! -->
<variable CV="39" mask="XVXXXXXX" default="1" item="Advanced Group 1 Option 4">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>F5 can disable accel/decel settings</label>
</variable>
<variable CV="40" mask="XVXXXXXX" default="1" item="Advanced Group 1 Option 5">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>F6 enables Shunt Speed</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="XXXXXVXX" default="0" item="Advanced Group 2 Option 7">
<enumVal>
<enumChoice choice="regular">
<choice>No</choice>
</enumChoice>
<enumChoice choice="irregular">
<choice>Yes</choice>
</enumChoice>
</enumVal>
<label>Motor Cycles Scattering</label>
</variable>
<variable CV="51" mask="XXXVXXXX" default="0" item="Advanced Group 2 Option 8">
<enumVal>
<enumChoice choice="Follow FMZ Central">
<choice>No</choice>
</enumChoice>
<enumChoice choice="Follow CV3 and CV4">
<choice>Yes</choice>
</enumChoice>
</enumVal>
<label>Load Simulation under FMZ</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="&lt;html&gt;Allows the decoders overall throttle response in the forward direction to be adjusted up or down.&lt;br&gt; Values 1-127 will decrease motor voltage, 129-255 will increase it. A value of zero will disable.&lt;br&gt; Tip: this feature only active when speed tables are enabled.&lt;/html&gt;">
<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="&lt;html&gt;Allows the decoders overall throttle response in the reverse direction to be adjusted up or down.&lt;br&gt; Values 1-127 will decrease motor voltage, 129-255 will increase it. A value of zero will disable.&lt;br&gt; Tip: this feature only active when speed tables are enabled.&lt;/html&gt;">
<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>