<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<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.xsd">
  <version author="Bjørn Kvisli bjorn.kvisli@gmail.com" version="1" lastUpdated="20121012"/>
  <decoder>
    <family name="ARNOLD Digital" mfg="Arnold - Rivarossi" highVersionID="1" lowVersionID="255" comment="Arnold loco decoder">
      <model model="81220"/>
    </family>
    <programming/>
    <variables>
      <xi:include href="http://jmri.org/xml/decoders/nmra/shortAddressOnly.xml"/>
      <variable CV="2" item="Vstart" default="0">
        <decVal min="0" max="255"/>
        <label>Minimum Speed (0-255)</label>
        <label xml:lang="it">Volt Partenza (0-255)</label>
        <label xml:lang="fr">V démarr. (0-255)</label>
        <label xml:lang="de">Startspannung (0-255)</label>
      </variable>
      <variable CV="3" item="Accel" default="2" comment="Range 0-255">
        <decVal min="0" max="255"/>
        <label>Acceleration Time (0-255)</label>
        <label xml:lang="it">Accellerazione (0-255)</label>
        <label xml:lang="fr">Accelération (0-255)</label>
        <label xml:lang="de">Anfahrverzögerung (0-255)</label>
      </variable>
      <variable CV="4" item="Decel" default="4" comment="Range 0-255">
        <decVal min="0" max="255"/>
        <label>Deceleration Time (0-255)</label>
        <label xml:lang="it">Decellerazione (0-255)</label>
        <label xml:lang="fr">Décélération (0-255)</label>
        <label xml:lang="de">Bremszeit (0-255)</label>
      </variable>
      <variable CV="5" item="Vhigh" default="255">
        <decVal min="0" max="255"/>
        <label>Maximum Speed (0-255):</label>
        <label xml:lang="it">Volt Massimi (0-255):</label>
        <label xml:lang="de">Höchstgeschwindigkeit</label>
      </variable>
      <variable item="Undocumented CV7" CV="7">
        <decVal/>
        <label>Undocumented CV7</label>
      </variable>
      <variable item="Undocumented CV8" CV="8">
        <decVal/>
        <label>Undocumented CV8</label>
      </variable>
      <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 item="BEMF On Off" CV="49" mask="XXXXXXXV">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OnOff.xml"/>
        <label>BEMF On Off</label>
      </variable>
      <variable item="Short Circuit Detection" CV="49" mask="XXXXXXVX">
        <enumVal>
          <enumChoice choice="Always"/>
          <enumChoice choice="At Start"/>
        </enumVal>
        <label>Short Circuit Detection</label>
      </variable>
      <variable item="Data Memory" CV="49" mask="XXXXXVXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OnOff.xml"/>
        <label>Data Memory</label>
      </variable>
      <variable CV="49" mask="XXXXVXXX" default="0" item="Operation Mode" tooltip="DCC or Analog">
        <enumVal>
          <enumChoice choice="DCC On"/>
          <enumChoice choice="Analog On"/>
        </enumVal>
        <label>Operation Mode</label>
      </variable>
      <variable item="Motorola Detection" CV="49" mask="XXXVXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OnOff.xml"/>
        <label>Motorola Detection</label>
      </variable>
      <variable CV="50" default="20" item="Pulse Width" tooltip="Deterimines load compensation. Low number=fast compensation">
        <decVal max="25"/>
        <label>Width Of Pulse For Motor (0-25)</label>
      </variable>
    </variables>
  </decoder>
  <pane nameFmt="item">
    <name>Arnold</name>
    <column>
      <display item="Motorola Detection"/>
      <display item="Short Circuit Detection"/>
      <display item="Data Memory"/>
      <display item="Operation Mode"/>
      <display item="Pulse Width"/>
    </column>
  </pane>
</decoder-config>
