Files
2026-06-17 14:00:51 +02:00

163 lines
8.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2005 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" showEmptyPanes="no">
<version author="Alain Le Marchand" version="2.1" lastUpdated="20150502"/>
<version author="Alain Le Marchand" version="2" lastUpdated="20150428"/>
<version author="Alain Carasso" version="1" lastUpdated="20120618"/>
<!-- version 2 - Created from Trix_Snd.xml
CV29: only bits 0, 1,2 and 5
Added models for DB BR V160 and BR 41 locomotives
with decoder version=7 and added volume control CV63 -->
<!-- version 2.1 Renamed "Trix Sound HO BR V41" in "Trix Sound HO BR 41" -->
<decoder>
<family name="Trix_Sound_HO" mfg="Trix Modelleisenbahn">
<model model="Trix Sound HO BR V160" numFns="8" lowVersionID="7" highVersionID="7" productID="V160" formFactor="HO" comment="Trix 22715">
<functionlabels>
<functionlabel num="3" lockable="true">Horn 1</functionlabel>
<functionlabel num="6" lockable="true">Cab 2 Lights</functionlabel>
<functionlabel num="7" lockable="true">Horn 2</functionlabel>
<functionlabel num="8" lockable="true">Cab 1 Lights</functionlabel>
</functionlabels>
</model>
<model show="no" model="Trix Sound HO BR V41" replacementModel="Trix Sound HO BR 41" replacementFamily="Trix_Sound_HO" numFns="10" lowVersionID="7" highVersionID="7" productID="V41" formFactor="HO" comment="Trix 22928">
</model>
<model model="Trix Sound HO BR 41" numFns="10" lowVersionID="7" highVersionID="7" productID="V41" formFactor="HO" comment="Trix 22928">
<functionlabels>
<functionlabel num="1" lockable="true">Smoke Generator</functionlabel>
<functionlabel num="3" lockable="true">Whistle</functionlabel>
<functionlabel num="6" lockable="true">Air Pump</functionlabel>
<functionlabel num="7" lockable="true">Switching Whistle</functionlabel>
<functionlabel num="8" lockable="true">Blowing steam</functionlabel>
<functionlabel num="9" lockable="true">Coal shoveling</functionlabel>
<functionlabel num="10" lockable="true">Rocker grate</functionlabel>
</functionlabels>
</model>
<functionlabels>
<functionlabel num="0" lockable="true">Lights</functionlabel>
<functionlabel num="2" lockable="true">Operating sounds</functionlabel>
<functionlabel num="4" lockable="true">Accel/Decel delay (ABV)</functionlabel>
<functionlabel num="5" lockable="true">Squealing brakes</functionlabel>
</functionlabels>
</family>
<programming direct="yes" paged="no" register="yes" ops="yes"/>
<variables>
<xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
<variable item="Vstart" CV="2" comment="A value of 255 corresponds to 100%" default="20" include="V41">
<decVal max="255"/>
<label>Vstart</label>
<label xml:lang="it">Volt Partenza</label>
<label xml:lang="fr">V démarr.</label>
<label xml:lang="de">Anfahrspannung</label>
<tooltip>Minimum Speed</tooltip>
<tooltip xml:lang="de">Minimalgeschwindigkeit</tooltip>
</variable>
<variable item="Vstart" CV="2" comment="A value of 255 corresponds to 100%" default="13" include="V160">
<decVal max="255"/>
<label>Vstart</label>
<label xml:lang="it">Volt Partenza</label>
<label xml:lang="fr">V démarr.</label>
<label xml:lang="de">Anfahrspannung</label>
<tooltip>Minimum Speed</tooltip>
<tooltip xml:lang="de">Minimalgeschwindigkeit</tooltip>
</variable>
<variable CV="3" item="Accel" default="6" include="V41">
<decVal max="255"/>
<label>Acceleration Rate</label>
<label xml:lang="it">Accellerazione</label>
<label xml:lang="fr">Accelération</label>
<label xml:lang="de">Anfahrverzögerung</label>
<tooltip>0-255</tooltip>
</variable>
<variable CV="3" item="Accel" default="5" include="V160">
<decVal max="255"/>
<label>Acceleration Rate</label>
<label xml:lang="it">Accellerazione</label>
<label xml:lang="fr">Accelération</label>
<label xml:lang="de">Anfahrverzögerung</label>
<tooltip>0-255</tooltip>
</variable>
<variable CV="4" item="Decel" default="4" include="V41">
<decVal max="255"/>
<label>Deceleration Rate</label>
<label xml:lang="it">Decellerazione</label>
<label xml:lang="fr">Décélération</label>
<label xml:lang="de">Bremszeit</label>
<tooltip>0-255</tooltip>
</variable>
<variable CV="4" item="Decel" default="3" include="V160">
<decVal max="255"/>
<label>Deceleration Rate</label>
<label xml:lang="it">Decellerazione</label>
<label xml:lang="fr">Décélération</label>
<label xml:lang="de">Bremszeit</label>
<tooltip>0-255</tooltip>
</variable>
<variable CV="5" item="Vhigh" default="255" include="V41">
<decVal max="255"/>
<label>Vhigh</label>
<label xml:lang="it">Volt Massimi (0-255):</label>
<label xml:lang="fr">Vmax</label>
<label xml:lang="de">Höchstgeschwindigkeit</label>
</variable>
<variable CV="5" item="Vhigh" default="203" include="V160">
<decVal max="255"/>
<label>Vhigh</label>
<label xml:lang="it">Volt Massimi (0-255):</label>
<label xml:lang="fr">Vmax</label>
<label xml:lang="de">Höchstgeschwindigkeit</label>
</variable>
<variable CV="7" item="Decoder Version" default="7" readOnly="yes">
<decVal/>
<label xml:lang="it">Versione Decoder: </label>
<label xml:lang="fr">Version décodeur: </label>
<label xml:lang="de">Decoder Version: </label>
<label>Manufacturer Version No: </label>
</variable>
<variable CV="8" item="Manufacturer" default="131" readOnly="yes">
<decVal/>
<label xml:lang="it">ID Costruttore: </label>
<label xml:lang="fr">ID constructeur: </label>
<label xml:lang="de">Hersteller ID: </label>
<label>Manufacturer ID: </label>
<tooltip>Read-Only, 131 = Trix</tooltip>
</variable>
<!-- CV 13-14 -->
<xi:include href="http://jmri.org/xml/decoders/nmra/analogModeFunction_F15.xml"/>
<!-- CV=19 -->
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
<!-- CV 21-22 -->
<xi:include href="http://jmri.org/xml/decoders/nmra/cv21.22_F15.xml"/>
<!-- 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"/>
<!-- Volume -->
<variable CV="63" item="Sound Setting 1" default="255">
<decVal max="255"/>
<label>Sound Volume</label>
<label xml:lang="fr">Volume</label>
<label xml:lang="de">Lautstärke</label>
<tooltip>0-255</tooltip>
</variable>
</variables>
<resets>
<factReset label="Reset All CVs" CV="8" default="8">
<label xml:lang="fr">Reset - retour aux valeurs d'usine pour tous les CVs</label>
<label xml:lang="it">Reset delle CV ai valori di fabbrica</label>
<label xml:lang="de">Werkreset alle CVs</label>
</factReset>
</resets>
</decoder>
</decoder-config>