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

194 lines
12 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2005, 2019 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" allowResetDefaults="no">
<!-- based on the ESU software LokProgrammer V4.1.5 and the ESU manuals: -->
<!-- 51981 LokPilot_V40 Betriebsanleitung_Auflage_3 -->
<!-- 51982 LokPilot_V40 User-manual_Edition_2 -->
<!-- and indexed variables as close as possible to the ESU_LokSound V4_0.zip by Michael Mosher -->
<!-- using enum-OffOn.xml and ienum-OffOn.xml and AdvancedPane.xml as defined by Michael Mosher -->
<!-- and a modified LightsPane with more options for Functions 3 and 4. -->
<!-- This decoder has the regular CVs 1 - 255 and indexed CVs spread over three pages using CV31 and CV32: -->
<!-- index page number 16.0 for CVs 257 - 512 Output Effects -->
<!-- index page number 16.2 for CVs 257 - 512 Function Mapping FS forward - F5 reverse -->
<!-- index page number 16.3 for CVs 257 - 512 Function Mapping F6 forward - F13 reverse -->
<!-- ver1 new file -->
<version author="Jos Wils" version="1" lastUpdated="20110523"/>
<!-- ver2 added support for new mfx&reg; speed table -->
<version author="Dave Heap" version="2" lastUpdated="20130105"/>
<!-- ver3 fixed range and default values CVs 5 and 6 -->
<version author="Dave Heap" version="3" lastUpdated="20130127"/>
<!-- ver4 created new xi:include /xml/decoders/esu/v4standardCVs.xml
moved all non-indexed CVs to v4standardCVs.xml
created new xi:include /xml/decoders/esu/v4cv21.22.xml
created new pane xi:include /xml/decoders/esu/v4extraPane.xml
added new items to /xml/programmers/parts/AnalogControlsPane.xml
corrected minor problem in /xml/programmers/parts/ConsistPane.xml
moved many items to more appropriate panes
updated all non-indexed CVs to match LokProgrammer V4.4.3 definitions -->
<version author="Dave Heap" version="4" lastUpdated="20130429"/>
<!-- ver5 indexed CV fixes -->
<version author="Dave Heap" version="5" lastUpdated="20130606"/>
<!-- ver6 new Function Outputs and Info panes, miscellaneous changes and corrections -->
<version author="Dave Heap" version="6" lastUpdated="20130910"/>
<!-- ver7 new Sound pane, many changes and corrections -->
<version author="Dave Heap" version="7" lastUpdated="20130926"/>
<!-- ver8 add new capability section to define high CV alternate write method -->
<version author="Dave Heap" version="8" lastUpdated="20131028"/>
<!-- ver9 new Function Map pane and supporting JMRI code, expanded Function Output pane -->
<version author="Dave Heap" version="9" lastUpdated="20140107"/>
<!-- ver10 changed all indexed CVs to new form -->
<version author="Dave Heap" version="10" lastUpdated="20140114"/>
<!-- ver11 refactor to use "|" instead of "/" for line break in custom output labels -->
<version author="Dave Heap" version="11" lastUpdated="20140324"/>
<!-- ver12 renamed where necessary to match ESU practice and added decoder-matchable Product IDs -->
<version author="Dave Heap" version="12" lastUpdated="20150427"/>
<!-- ver13 added LokPilot V4.0 M4,LokPilot V4.0 M4 MKL,LokPilot Micro SlideIn V4.0 DCC -->
<version author="Dave Heap" version="13" lastUpdated="20161101"/>
<!-- ver 14 refactor -->
<version author="Dave Heap" version="14" lastUpdated="20190507"/>
<!-- ver 15 refactor -->
<version author="Dave Heap" version="15" lastUpdated="20200726"/>
<!-- ver 16 disable Reset to Defaults -->
<version author="Dave Heap" version="16" lastUpdated="20200818"/>
<decoder>
<family name="ESU LokPilot V4.0" mfg="Electronic Solutions Ulm GmbH" lowVersionID="255" highVersionID="255">
<model model="LokPilot V4.0" numOuts="12" numFns="32" maxMotorCurrent="1.1A" extFnsESU="V4" productID="33554495,33554564">
<size length="21.3" width="15.5" height="5.5" units="mm"/>
<!-- connector="NEM651, NEM 652, 21MTC, Plux12, wires" -->
<protocols>
<protocol>dcc</protocol>
<protocol>selectrix</protocol>
<protocol>motorola</protocol>
</protocols>
</model>
<model model="LokPilot V4.0 DCC" numOuts="12" numFns="32" maxMotorCurrent="1.1A" extFnsESU="V4" productID="33554498,33554565">
<size length="21.3" width="15.5" height="5.5" units="mm"/>
<!-- connector="NEM651, NEM 652, 21MTC" -->
</model>
<model model="LokPilot V4.0 DCC PX" numOuts="12" numFns="32" maxMotorCurrent="1.1A" extFnsESU="V4" productID="33554523">
<size length="21.3" width="15.5" height="5.5" units="mm"/>
<!-- connector="NEM651, NEM 652, 21MTC" -->
</model>
<model model="LokPilot V4.0 M4" numOuts="12" numFns="32" maxMotorCurrent="1.1A" extFnsESU="V4" productID="33554499,33554566">
<size length="21.3" width="15.5" height="5.5" units="mm"/>
<!-- connector="NEM651, NEM 652, 21MTC, Plux12, wires" -->
<protocols>
<protocol>dcc</protocol>
<protocol>selectrix</protocol>
<protocol>motorola</protocol>
</protocols>
</model>
<model model="LokPilot V4.0 M4 MKL" numOuts="12" numFns="32" maxMotorCurrent="1.1A" extFnsESU="V4" productID="33554571">
<size length="21.3" width="15.5" height="5.5" units="mm"/>
<!-- connector="NEM651, NEM 652, 21MTC, Plux12, wires" -->
<protocols>
<protocol>dcc</protocol>
<protocol>selectrix</protocol>
<protocol>motorola</protocol>
</protocols>
</model>
<model model="LokPilot Micro V4.0" numOuts="12" numFns="32" maxMotorCurrent="0.75A" extFnsESU="V4" productID="33554496">
<size length="10.5" width="5.8" height="2.8" units="mm"/>
<!-- connector="NEM651, NEM 652, Next18" -->
<protocols>
<protocol>dcc</protocol>
<protocol>selectrix</protocol>
<protocol>motorola</protocol>
</protocols>
</model>
<model model="LokPilot Micro V4.0 DCC" numOuts="12" numFns="32" maxMotorCurrent="0.75A" extFnsESU="V4" productID="33554502">
<size length="10.5" width="5.8" height="2.8" units="mm"/>
<!-- connector="NEM651, Next18" -->
</model>
<model model="LokPilot Micro SlideIn V4.0 DCC" numOuts="12" numFns="32" maxMotorCurrent="0.75A" extFnsESU="V4" productID="33554574">
<size length="10.5" width="5.8" height="2.8" units="mm"/>
<!-- connector="NEM651, Next18" -->
</model>
<model model="LokPilot Fx V4.0" numOuts="12" numFns="32" extFnsESU="V4" productID="33554518">
<output name="1,32" label="|"/>
<output name="1,33" label="|"/>
<output name="1,34" label="|"/>
<output name="1,35" label="|"/>
<output name="1,36" label="|"/>
<output name="2,7" label="|"/>
<output name="2,8" label="|"/>
<output name="2,9" label="|"/>
<output name="2,10" label="|"/>
<output name="2,11" label="|"/>
<output name="2,12" label="|"/>
<output name="3,4" label="|"/>
<size length="17.5" width="15.5" height="5.5" units="mm"/>
<!-- connector="NEM651, 21MTC" -->
<protocols>
<protocol>dcc</protocol>
<protocol>selectrix</protocol>
<protocol>motorola</protocol>
</protocols>
</model>
<model model="LokPilot XL V4.0" numOuts="12" numFns="32" maxMotorCurrent="4A" extFnsESU="V4" productID="33554517">
<size length="55" width="25" height="10" units="mm"/>
<!-- connector="screw terminals" -->
<protocols>
<protocol>dcc</protocol>
<protocol>selectrix</protocol>
<protocol>motorola</protocol>
</protocols>
</model>
<model show="no" model="LokPilot DCC V4.0" replacementModel="LokPilot V4.0 DCC" replacementFamily="ESU LokPilot V4.0" numOuts="12" numFns="32" maxMotorCurrent="1.1A" extFnsESU="V4" productID="LokPilot V4.0 DCC">
<size length="21.3" width="15.5" height="5.5" units="mm"/>
<!-- connector="NEM651, NEM 652, 21MTC" -->
</model>
<model show="no" model="LokPilot Micro DCC V4.0" replacementModel="LokPilot Micro V4.0 DCC" replacementFamily="ESU LokPilot V4.0" numOuts="12" numFns="32" maxMotorCurrent="0.75A" extFnsESU="V4" productID="LokPilot Micro V4.0 DCC">
<size length="10.5" width="5.8" height="2.8" units="mm"/>
<!-- connector="NEM651, Next18" -->
</model>
<xi:include href="http://jmri.org/xml/decoders/esu/v4lpOutputLabels.xml"/>
</family>
<programming direct="yes" paged="yes" register="yes" ops="yes">
<capability>
<name>High Access via Double Index</name>
<parameter name="Max Regular CV address">256</parameter>
<parameter name="High Address CV">96</parameter>
<parameter name="Low Address CV">97</parameter>
<parameter name="Access Register CV">99</parameter>
<parameter name="Modulo">100</parameter>
</capability>
<capability>
<name>Indexed CV access</name>
<parameter name="PI">31</parameter>
<parameter name="SI">32</parameter>
<parameter name="cvFirst">false</parameter>
</capability>
</programming>
<variables>
<xi:include href="http://jmri.org/xml/decoders/esu/v4standardCVs.xml"/>
</variables>
<resets>
<factReset label="Reset All CVs" CV="8" default="8">
<label xml:lang="it">Reset delle CV ai valori di fabbrica</label>
</factReset>
</resets>
</decoder>
<xi:include href="http://jmri.org/xml/decoders/esu/v4basicSpeedControlPane.xml"/>
<xi:include href="http://jmri.org/xml/decoders/esu/v4speedTablePane.xml"/>
<xi:include href="http://jmri.org/xml/decoders/esu/v4advancedPane.xml"/>
<xi:include href="http://jmri.org/xml/decoders/esu/v4lightsPane.xml"/>
<xi:include href="http://jmri.org/xml/decoders/esu/v4fnOutPane.xml"/>
<xi:include href="http://jmri.org/xml/decoders/esu/v4fnSetPane.xml"/>
<xi:include href="http://jmri.org/xml/decoders/esu/v4infoPane.xml"/>
<xi:include href="http://jmri.org/xml/decoders/esu/v4readMePane.xml"/>
</decoder-config>