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

213 lines
13 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2016 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">
<copyright xmlns="http://docbook.org/ns/docbook">
<year>2022</year>
<holder>JMRI</holder>
</copyright>
<authorgroup xmlns="http://docbook.org/ns/docbook">
<author>
<personname>
<firstname>Michael</firstname>
<surname>Mosher</surname>
</personname>
</author>
<author>
<personname>
<firstname>Bob</firstname>
<surname>Jacobsen</surname>
</personname>
</author>
</authorgroup>
<revhistory xmlns="http://docbook.org/ns/docbook">
<revision>
<revnumber>1</revnumber>
<date>2022-12-01</date>
<authorinitials>MM</authorinitials>
<revremark>New file, based on TSU2 Diesel file with var changed to linked file for both BLU and TSU2</revremark>
</revision>
<revision>
<revnumber>2</revnumber>
<date>2023-10-01</date>
<authorinitials>BJ</authorinitials>
<revremark>Added Blunami PNP8</revremark>
</revision>
<revision>
<revnumber>3</revnumber>
<date>2023-10-09</date>
<authorinitials>MM</authorinitials>
<revremark>Added Blunami PNP8 and 4408 models with productID change for 11 bit Soundtraxx ID</revremark>
</revision>
<revision>
<revnumber>4</revnumber>
<date>2024-05-22</date>
<authorinitials>MM</authorinitials>
<revremark>Added Blunami 21PNEM models</revremark>
</revision>
</revhistory>
<!-- Decoder Model information follows -->
<decoder>
<family name="Blunami Diesel" mfg="SoundTraxx (Throttle-Up)" lowVersionID="72" comment="These are the -retail- version Blunami Diesel decoders">
<model model="BLU-21PNEM8 Alco Diesels" numOuts="8" numFns="30" maxMotorCurrent="1A" connector="21MTC" productID="2160" comment="Model 885611">
<size length="30.5" width="15.5" height="6.5" units="mm"/>
</model>
<model model="BLU-21PNEM8 Baldwin Diesels" numOuts="8" numFns="30" maxMotorCurrent="1A" connector="21MTC" productID="2161" comment="Model 885612">
<size length="30.5" width="15.5" height="6.5" units="mm"/>
</model>
<model model="BLU-21PNEM8 EMD Diesels" numOuts="8" numFns="30" maxMotorCurrent="1A" connector="21MTC" productID="2158" comment="Model 885609">
<size length="30.5" width="15.5" height="6.5" units="mm"/>
</model>
<model model="BLU-21PNEM8 EMD-2 Diesels" numOuts="8" numFns="30" maxMotorCurrent="1A" connector="21MTC" productID="2162" comment="Model 885623">
<size length="30.5" width="15.5" height="6.5" units="mm"/>
</model>
<model model="BLU-21PNEM8 GE Diesels" numOuts="8" numFns="30" maxMotorCurrent="1A" connector="21MTC" productID="2159" comment="Model 885610">
<size length="30.5" width="15.5" height="6.5" units="mm"/>
</model>
<model model="BLU-2200 Alco Diesels" numOuts="6" numFns="30" maxMotorCurrent="2A" connector="9pin" productID="2141" comment="Model 885607">
<size length="41.9" width="18.8" height="6.8" units="mm"/>
</model>
<model model="BLU-2200 Baldwin Diesels" numOuts="6" numFns="30" maxMotorCurrent="2A" connector="9pin" productID="2142" comment="Model 885608">
<size length="41.9" width="18.8" height="6.8" units="mm"/>
</model>
<model model="BLU-2200 EMD Diesels" numOuts="6" numFns="30" maxMotorCurrent="2A" connector="9pin" productID="2139" comment="Model 885605">
<size length="41.9" width="18.8" height="6.8" units="mm"/>
</model>
<model model="BLU-2200 EMD-2 Diesels" numOuts="6" numFns="30" maxMotorCurrent="2A" connector="9pin" productID="2143" comment="Model 886022">
<size length="41.9" width="18.8" height="6.8" units="mm"/>
</model>
<model model="BLU-2200 GE Diesels" numOuts="6" numFns="30" maxMotorCurrent="2A" connector="9pin" productID="2140" comment="Model 885606">
<size length="41.9" width="18.8" height="6.8" units="mm"/>
</model>
<model model="BLU-4408 Alco Diesels" numOuts="8" numFns="30" maxMotorCurrent="4A" connector="other" productID="2148" comment="Model 885619">
<size length="69" width="30.5" height="14" units="mm"/>
</model>
<model model="BLU-4408 Baldwin Diesels" numOuts="8" numFns="30" maxMotorCurrent="4A" connector="other" productID="2149" comment="Model 885620">
<size length="69" width="30.5" height="14" units="mm"/>
</model>
<model model="BLU-4408 EMD Diesels" numOuts="8" numFns="30" maxMotorCurrent="4A" connector="other" productID="2146" comment="Model 885617">
<size length="69" width="30.5" height="14" units="mm"/>
</model>
<model model="BLU-4408 EMD-2 Diesels" numOuts="8" numFns="30" maxMotorCurrent="4A" connector="other" productID="2150" comment="Model 886025">
<size length="69" width="30.5" height="14" units="mm"/>
</model>
<model model="BLU-4408 GE Diesels" numOuts="8" numFns="30" maxMotorCurrent="4A" connector="other" productID="2147" comment="Model 885618">
<size length="69" width="30.5" height="14" units="mm"/>
</model>
<model model="BLU-PNP8 Alco Diesels" numOuts="8" numFns="30" maxMotorCurrent="2A" connector="DropIn" productID="2154" comment="Model 885615">
<size length="74" width="17" height="5" units="mm"/>
</model>
<model model="BLU-PNP8 Baldwin Diesels" numOuts="8" numFns="30" maxMotorCurrent="2A" connector="DropIn" productID="2155" comment="Model 885616">
<size length="74" width="17" height="5" units="mm"/>
</model>
<model model="BLU-PNP8 EMD Diesels" numOuts="8" numFns="30" maxMotorCurrent="2A" connector="DropIn" productID="2152" comment="Model 885613">
<size length="74" width="17" height="5" units="mm"/>
</model>
<model model="BLU-PNP8 EMD-2 Diesels" numOuts="8" numFns="30" maxMotorCurrent="2A" connector="DropIn" productID="2156" comment="Model 885624">
<size length="74" width="17" height="5" units="mm"/>
</model>
<model model="BLU-PNP8 GE Diesels" numOuts="8" numFns="30" maxMotorCurrent="2A" connector="DropIn" productID="2153" comment="Model 885614">
<size length="74" width="17" height="5" units="mm"/>
</model>
<model model="BLU PNP8" numOuts="8" numFns="30" productID="16910442" /> <!-- CV 253-256 contents observed in a decoder -->
<output name="3" label=" FX3 "/>
<output name="4" label=" FX4 "/>
<output name="5" label="Airhorn| ">
<label xml:lang="it">Tromba| </label>
</output>
<output name="6" label="Bell| ">
<label xml:lang="it">Campana| </label>
</output>
<output name="7" label="Dynamic|Brakes">
<label xml:lang="it">Freni|Dinamici</label>
</output>
<output name="8" label="Short|Horn">
<label xml:lang="it">Breve|Tromba</label>
</output>
<output name="9" label="Straight|to 8"/>
<output name="10" label="General|Service"/>
<output name="11" label="Dimming| ">
<label xml:lang="it">Smorzam| </label>
</output>
<output name="12" label="Mute| ">
<label xml:lang="it">Silenzio| </label>
</output>
<output name="13" label="HEP|Mode"/>
<output name="14" label="Ind/Train|Brake"/>
<output name="15" label="Coupler| ">
<label xml:lang="it">Accoppiatore| </label>
</output>
<functionlabels>
<functionlabel num="0" lockable="true">Headlight</functionlabel>
<functionlabel num="1" lockable="true">Bell</functionlabel>
<functionlabel num="2" lockable="false">Horn</functionlabel>
<functionlabel num="3" lockable="true">Short Horn</functionlabel>
<functionlabel num="4" lockable="true">Dynamic Brake</functionlabel>
<functionlabel num="5" lockable="true">RPM+</functionlabel>
<functionlabel num="6" lockable="true">RPM-</functionlabel>
<functionlabel num="7" lockable="true">Dimmer</functionlabel>
<functionlabel num="8" lockable="true">Mute</functionlabel>
<functionlabel num="9" lockable="true">Xing Signal</functionlabel>
<functionlabel num="10" lockable="true">Straight to Eight</functionlabel>
<functionlabel num="11" lockable="true">Ind/Train Brake</functionlabel>
<functionlabel num="12" lockable="true">Brake Select</functionlabel>
<functionlabel num="13" lockable="true">Coupler</functionlabel>
<functionlabel num="14" lockable="true">Half Speed</functionlabel>
<functionlabel num="15" lockable="true">Handbrake</functionlabel>
<functionlabel num="16" lockable="true">HEP Mode</functionlabel>
<functionlabel num="17" lockable="true">Fuel Loading</functionlabel>
<functionlabel num="18" lockable="true">General Service</functionlabel>
<functionlabel num="20" lockable="true">Steam Generator</functionlabel>
<functionlabel num="21" lockable="true">Sander Valve</functionlabel>
<functionlabel num="22" lockable="true">Cab Chatter</functionlabel>
<functionlabel num="23" lockable="true">All Aboard</functionlabel>
<functionlabel num="24" lockable="true">FX3 Output</functionlabel>
<functionlabel num="25" lockable="true">FX4 Output</functionlabel>
<functionlabel num="26" lockable="true">FX5 Output</functionlabel>
<functionlabel num="27" lockable="true">FX6 Output</functionlabel>
<functionlabel num="28" lockable="true">FX7,8 Output</functionlabel>
</functionlabels>
</family>
<programming direct="yes" paged="yes" register="yes" ops="yes">
<capability>
<name>Indexed CV access</name>
<parameter name="PI">31</parameter>
<parameter name="SI">32</parameter>
<parameter name="cvFirst">false</parameter>
</capability>
</programming>
<!-- Configuration Variable (CV) information follows -->
<variables>
<xi:include href="http://jmri.org/xml/decoders/soundtraxx/SoundTraxx_Blu_Tsu2_Diesel_cv.xml"/>
</variables>
<resets>
<factReset label="Reset all CVs to factory defaults" CV="8" default="8"/>
<factReset label="Reset CVs 1-128 to factory defaults" CV="8" default="9"/>
<factReset label="Reset CVs 129-256 to factory defaults" CV="8" default="10"/>
<factReset label="Reset CVs 1.257-1.512 to factory defaults" CV="8" default="11"/>
<factReset label="Reset CVs 2.257-2.512 to factory defaults" CV="8" default="12"/>
<factReset label="Reset CVs 3.257-3.512 to factory defaults" CV="8" default="13"/>
</resets>
</decoder>
<!-- References to external Pane format definitions below -->
<xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUaltSoundLevelsPane.xml"/>
<xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSU2PaneLighting.xml"/>
<xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUPaneEqualizer.xml"/>
<xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUPaneDDE.xml"/>
<xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUPaneReverb.xml"/>
<xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSU2PaneASCdiesel.xml"/>
<xi:include href="http://jmri.org/xml/decoders/soundtraxx/ECOPaneFnMap.xml"/>
<xi:include href="http://jmri.org/xml/decoders/soundtraxx/ECOlegacyPaneFnMap.xml"/>
<xi:include href="http://jmri.org/xml/decoders/soundtraxx/ECOPaneID.xml"/>
</decoder-config>