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

75 lines
4.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2003, 2004 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="Michael Mosher" version="1" lastUpdated="20030706"/>
<decoder>
<family name="Non silent drive non-directional lights" mfg="North Coast Engineering" lowVersionID="21" highVersionID="21">
<model model="D102US" numOuts="2" numFns="1"/>
<model model="DA102US" numOuts="5" numFns="4"/>
</family>
<programming direct="no" paged="yes" 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%">
<decVal/>
<label>Vstart</label>
<label xml:lang="it">Volt Partenza</label>
<label xml:lang="fr">V démarr.</label>
<label xml:lang="de">Anfahrspannung</label>
<comment>A value of 255 corresponds to 100%</comment>
</variable>
<!-- CV 3-4 -->
<xi:include href="http://jmri.org/xml/decoders/nmra/accelDecel_254.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/mfgVersionId.xml"/>
<variable CV="9" item="Total PWM Period" comment="1-255 PWM drive freq in 128us increments" default="195">
<decVal/>
<label>Motor drive frequency</label>
<label xml:lang="it">Periodo PWM (Frequenza pilotaggio Motore)</label>
<comment>1-255 PWM drive freq in 128us increments</comment>
<comment xml:lang="it">Valori 1-255, frequenza in incrementi di 128us</comment>
</variable>
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAccelDecelSigned.xml"/>
<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/cv29AdvAck.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29table3-28.xml"/>
<variable item="Output 1 effect generated" CV="64" mask="XXXXXXXV">
<enumVal>
<enumChoice choice="F0 normal on/off operation">
<choice>F0 normal on/off operation</choice>
</enumChoice>
<enumChoice choice="F0 Mars light simulation">
<choice>F0 Mars light simulation</choice>
</enumChoice>
</enumVal>
<label>Output 1 effect generated</label>
</variable>
<xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
<!-- Define the fixed Function-Output mapping -->
<constant item="FL(f) controls output 1" minOut="1" default="1"/>
<constant item="FL(r) controls output 1" minOut="1" default="1"/>
<constant item="F1 controls output 2" minOut="2" default="1"/>
<constant item="F2 controls output 3" minOut="3" minFn="1" default="1"/>
<constant item="F3 controls output 4" minOut="4" minFn="2" default="1"/>
<constant item="F4 controls output 5" minOut="5" minFn="3" default="1"/>
<constant item="F5 controls output 6" minOut="6" minFn="4" default="1"/>
<constant item="F6 controls output 7" minOut="7" minFn="5" default="1"/>
<constant item="F7 controls output 8" minOut="8" minFn="6" default="1"/>
<constant item="F8 controls output 9" minOut="9" minFn="7" default="1"/>
</variables>
</decoder>
</decoder-config>