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

113 lines
5.9 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" lastUpdated="20150428"/>
<version author="Alain Carasso" version="2" lastUpdated="20141005" />
<!-- version 2 - Full refactoring using xinclude files and existing items for display -->
<!-- Renamed file and decoder model for consistency / sorting purposes -->
<decoder>
<family name="Trix_Sound_HO" mfg="Trix Modelleisenbahn" >
<model show="no" model="Trix_Sound_BB12000" replacementModel="Trix Sound HO BB12000" replacementFamily="Trix_Sound_HO"></model>
<model model="Trix Sound HO BB12000" numFns="8" lowVersionID="9" highVersionID="9" formFactor="HO" comment="Trix 22336" ></model>
<functionlabels>
<functionlabel num="0" lockable="true">Lights</functionlabel>
<functionlabel num="1" lockable="true">Sound</functionlabel>
<functionlabel num="2" lockable="false">Horn1</functionlabel>
<functionlabel num="4" lockable="false">ABV</functionlabel>
<functionlabel num="5" lockable="false">Horn2</functionlabel>
<functionlabel num="6" lockable="true">Red Cab2</functionlabel>
<functionlabel num="8" lockable="true">Red Cab1</functionlabel>
</functionlabels>
</family>
<programming direct="yes" paged="no" register="yes" ops="yes"></programming>
<variables>
<xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
<variable item="Vstart" CV="2" default="5">
<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>A value of 255 corresponds to 100%</tooltip>
</variable>
<variable CV="3" item="Accel" default="15">
<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="12">
<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">
<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="9" 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"/>
<variable CV="29" mask="VXXXXXXX" item="Decoder Type" default="0" tooltip="">
<enumVal>
<enumChoice choice="MultiFuncton"/>
<enumChoice choice="Accessory"/>
</enumVal>
<label>Decoder Type</label>
</variable>
<!-- 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"/>
</resets>
</decoder>
</decoder-config>