<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2005, 2015, 2018 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="Peter Fowler petefowler131@gmail.com" version="1.00" lastUpdated="20241213"/>

  <!--  Version 1 - First version of Hornby TXS sound decoder, based on HM7000 manual version R1.3.0 from Hornby website and Hornby TTS decoder definition-->
  <decoder>
    <family name="Hornby TXS Sound Decoder" mfg="Hornby" comment="">
      <!-- Steam Locomotives-->
      <model model="Hornby TXS Generic Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="999" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(5)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(5)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Westinghouse Pump</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS A1/A3 Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="1,37" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(5)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(5)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Westinghouse Pump</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS A4 Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="2,38" >
      <versionCV lowVersionID="254" highVersionID="254"/>
      <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
      <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
      <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(5)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(5)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Bell</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model> 
      <model model="Hornby TXS P2 Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="8" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(4)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffering Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model> 
      <model model="Hornby TXS A1 Class Tornado Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="10" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(4)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Westinghouse Pump</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Princess Coronation Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="11,52" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(4)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>
          <functionlabel num="18" lockable="false">Coal Pusher</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>                         
      <model model="Hornby TXS 2P Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="16" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(2)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS 4F Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="17" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(3)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(3)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Britannia Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="19" >
      <versionCV lowVersionID="254" highVersionID="254"/>
      <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
      <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
      <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(3)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Coal Pusher</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model> 
      <model model="Hornby TXS Merchant Navy Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="20" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(4)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Westinghouse Pump</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model> 
      <model model="Hornby TXS S15 Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="21" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(3)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>      
      <model model="Hornby TXS B12 Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="24" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(2)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS W1 Class (Original) Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="25" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(5)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(5)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS 9F 2-10-0" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="26" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(4)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Wagons Passing</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>             
      <model model="Hornby TXS 5MT Black 5 4-6-0" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="29">
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(4)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffering Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode(CV120)</functionlabel>
          <functionlabel num="26" lockable="true">Activate Coupling Mode(CV121,122)</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Turbomotive" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="31" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(5)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Fancy(2)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Engage Reverse Turbine</functionlabel>
          <functionlabel num="6" lockable="true">Oil Pump</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Steam Train Passing</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Buffer Up</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS A1/A3 Class Flying Scotsman Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="33" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play (5)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play Fancy (5)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Scotland the Brave</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS P2 Prince of Wales Class Steam - ASU fitted" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="34" >
      <versionCV lowVersionID="254" highVersionID="254"/>
      <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
      <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
      <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(3)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(3)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Westinghouse Pump</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model> 
      <model model="Hornby TXS A1 A3 Class Flying Scotsman Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="36,40" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistles UK (5)</functionlabel>
          <functionlabel num="3" lockable="false">Whistles USA/Australia (5)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Scotland the Brave</functionlabel>
          <functionlabel num="19" lockable="false">Water Fill</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS B17 Streamline Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="53" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(4)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS BR 2MT Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="54" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(2)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS King Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="59" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(6)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(6)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffering Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model> 
      <model model="Hornby TXS Hall Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="61" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(8)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(8)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffering Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>      
      <model model="Hornby TXS W1 Class (Rebuilt) Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="65" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(5)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(5)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffering Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>                         
      <model model="Hornby TXS Duke of Gloucester Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="66" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(4)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(4)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Westinghouse Pump</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Castle Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="67" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(6)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(6)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Princess Royal Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="68" >
      <versionCV lowVersionID="254" highVersionID="254"/>
      <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
      <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
      <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(6)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(6)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model> 
      <model model="Hornby TXS Lord Nelson Class Steam" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="69" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Background Steam/exhaust/coasting</functionlabel>
          <functionlabel num="2" lockable="false">Whistle Play 1(8)</functionlabel>
          <functionlabel num="3" lockable="false">Whistle Play 2(8)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Cylinder Cock</functionlabel>
          <functionlabel num="6" lockable="true">Wheel Slip</functionlabel>
          <functionlabel num="7" lockable="true">Coal Shovelling</functionlabel>
          <functionlabel num="8" lockable="true">Injector</functionlabel>
          <functionlabel num="9" lockable="true">Safety Valve</functionlabel>
          <functionlabel num="10" lockable="false">Guard's Whistle</functionlabel>
          <functionlabel num="11" lockable="false">Coupling</functionlabel>       
          <functionlabel num="12" lockable="false">Cariage Break Squeal</functionlabel> 
          <functionlabel num="13" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Blower</functionlabel>
          <functionlabel num="15" lockable="false">Door Slamming</functionlabel>
          <functionlabel num="16" lockable="true">Fireman's Breakfast</functionlabel>
          <functionlabel num="17" lockable="true">Blow Down</functionlabel>       
          <functionlabel num="18" lockable="false">Water Fill</functionlabel>
          <functionlabel num="19" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="20" lockable="true">Toggle Chuff/Coast</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model> 
      <!-- Diesel Locomotives-->
      <model model="Hornby TXS Class 43 Valenta Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="3,41" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (4)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (4)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Compressor (Manual)</functionlabel>
          <functionlabel num="11" lockable="true">Windscreen Wipers</functionlabel>       
          <functionlabel num="12" lockable="true">Roof Fan</functionlabel> 
          <functionlabel num="13" lockable="false">Guard to Driver Buzzer</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Cab Door Shut</functionlabel>
          <functionlabel num="16" lockable="true">Primer</functionlabel>
          <functionlabel num="17" lockable="false">Fire Bell Test</functionlabel>       
          <functionlabel num="18" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="19" lockable="false">Automatic Warning System Test</functionlabel>
          <functionlabel num="20" lockable="false">Drivers Safety Beeper</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model> 

      <model model="Hornby TXS Class 43 MTU Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="4,44" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (5)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (4)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Compressor (Manual)</functionlabel>
          <functionlabel num="11" lockable="true">Windscreen Wipers</functionlabel>       
          <functionlabel num="12" lockable="true">Roof Fan</functionlabel> 
          <functionlabel num="13" lockable="false">Guard to Driver Buzzer</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Cab Door Shut</functionlabel>
          <functionlabel num="16" lockable="true">Primer</functionlabel>
          <functionlabel num="17" lockable="false">Fire Bell Test</functionlabel>       
          <functionlabel num="18" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="19" lockable="false">Automatic Warning System Test</functionlabel>
          <functionlabel num="20" lockable="false">Drivers Safety Beeper</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>

      <model model="Hornby TXS Class 08 Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="9" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (2)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Whistles (2)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Compressor (Manual)</functionlabel>
          <functionlabel num="11" lockable="false">Reverser</functionlabel>       
          <functionlabel num="12" lockable="true">Spirax Valve</functionlabel> 
          <functionlabel num="13" lockable="false">Air Dump</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Air Release</functionlabel>
          <functionlabel num="16" lockable="false">Detonators</functionlabel>
          <functionlabel num="17" lockable="false">Coupling</functionlabel>       
          <functionlabel num="18" lockable="true">Primer</functionlabel>
          <functionlabel num="19" lockable="true">Exhauster</functionlabel>
          <functionlabel num="20" lockable="false">Hand Brake</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 37 Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="13" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (4)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (5)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Compressor (Manual)</functionlabel>
          <functionlabel num="11" lockable="true">Spirax Valve</functionlabel>       
          <functionlabel num="12" lockable="true">Fan</functionlabel> 
          <functionlabel num="13" lockable="false">AWS Warning System Test</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Air Release</functionlabel>
          <functionlabel num="16" lockable="false">Cab Door</functionlabel>
          <functionlabel num="17" lockable="false">AWS Warning Siren</functionlabel>       
          <functionlabel num="18" lockable="true">Primer</functionlabel>
          <functionlabel num="19" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="20" lockable="false">Wagons Clanging</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 67 Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="15" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (8)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (7)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Compressor (Manual)</functionlabel>
          <functionlabel num="11" lockable="true">Cooling Fan</functionlabel>       
          <functionlabel num="12" lockable="true">Spirax Valve</functionlabel> 
          <functionlabel num="13" lockable="false">Carriage Brake Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Cab Door</functionlabel>
          <functionlabel num="16" lockable="false">Buffering</functionlabel>
          <functionlabel num="17" lockable="false">AWS Warning Siren</functionlabel>       
          <functionlabel num="18" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="19" lockable="false">Coupling</functionlabel>
          <functionlabel num="20" lockable="true">Carriages Passing</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 31 Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="18" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (3)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (5)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Compressor (Manual)</functionlabel>
          <functionlabel num="11" lockable="true">Fan</functionlabel>       
          <functionlabel num="12" lockable="true">Spirax Valve</functionlabel> 
          <functionlabel num="13" lockable="false">Carriage Brake Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Cab Door</functionlabel>
          <functionlabel num="16" lockable="false">Buffering Up</functionlabel>
          <functionlabel num="17" lockable="true">Primer</functionlabel>       
          <functionlabel num="18" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="19" lockable="false">Coupling</functionlabel>
          <functionlabel num="20" lockable="false">Wagons Clanging</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 50 Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="22,50" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (4)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (4)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Radiator Fan</functionlabel>
          <functionlabel num="11" lockable="false">Air Release</functionlabel>       
          <functionlabel num="12" lockable="true">Spirax Valve</functionlabel> 
          <functionlabel num="13" lockable="true">Traction Motor Blowers</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Oil Primer</functionlabel>
          <functionlabel num="16" lockable="false">Cab Door</functionlabel>
          <functionlabel num="17" lockable="true">BIS Fire Bell</functionlabel>       
          <functionlabel num="18" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="19" lockable="true">Lift Pump</functionlabel>
          <functionlabel num="20" lockable="false">Buffering Up</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 66 Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="23" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (5)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (2)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Radiator Fan</functionlabel>
          <functionlabel num="11" lockable="true">Wipers</functionlabel>       
          <functionlabel num="12" lockable="true">Spirax Valve</functionlabel> 
          <functionlabel num="13" lockable="false">Brake Application</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Brake Release</functionlabel>
          <functionlabel num="16" lockable="false">Door Slam</functionlabel>
          <functionlabel num="17" lockable="false">Buffering</functionlabel>       
          <functionlabel num="18" lockable="true">Primer and Alarm</functionlabel>
          <functionlabel num="19" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="20" lockable="false">Wagons Buffering</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 55 Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="32" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (5)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (2)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Radiator Fan</functionlabel>
          <functionlabel num="11" lockable="true">Windscreen Wipers</functionlabel>       
          <functionlabel num="12" lockable="true">Spirax Valve</functionlabel> 
          <functionlabel num="13" lockable="false">Carriage Brake Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Brake Release</functionlabel>
          <functionlabel num="16" lockable="true">Passing Carriages</functionlabel>
          <functionlabel num="17" lockable="false">Coupling</functionlabel>       
          <functionlabel num="18" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="19" lockable="false">Wagons Buffering</functionlabel>
          <functionlabel num="20" lockable="false">Cab Door</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 56 Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="42" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (5)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (2)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Compressor</functionlabel>
          <functionlabel num="11" lockable="false">Wagons Buffering</functionlabel>       
          <functionlabel num="12" lockable="true">Spirax Valve</functionlabel> 
          <functionlabel num="13" lockable="false">Bell</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Brake Release</functionlabel>
          <functionlabel num="16" lockable="false">Cab Door</functionlabel>
          <functionlabel num="17" lockable="false">Coupling</functionlabel>       
          <functionlabel num="18" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="19" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="20" lockable="false">Cab Beep</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 47 Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="43" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (5)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (2)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Compressor</functionlabel>
          <functionlabel num="11" lockable="true">Spirax Valve</functionlabel>       
          <functionlabel num="12" lockable="true">Cooling Fan</functionlabel> 
          <functionlabel num="13" lockable="false">Carriage Brake Squeal</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="true">Tripple Pump</functionlabel>
          <functionlabel num="16" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="17" lockable="false">Door Slam</functionlabel>
          <functionlabel num="18" lockable="false">Coupling</functionlabel>       
          <functionlabel num="19" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="20" lockable="false">Wagons Clanging</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 60 Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="45" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (4)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (2)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Compressor</functionlabel>
          <functionlabel num="11" lockable="false">Wagons Buffering</functionlabel>       
          <functionlabel num="12" lockable="true">Spirax Valve</functionlabel> 
          <functionlabel num="13" lockable="true">Fan</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Coulping</functionlabel>
          <functionlabel num="16" lockable="false">Door Slam</functionlabel>
          <functionlabel num="17" lockable="false">Buffering</functionlabel>
          <functionlabel num="18" lockable="true">Primer</functionlabel>       
          <functionlabel num="19" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="20" lockable="false">Wagons Clanging</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 66 Diesel - Coronation Edition" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="46" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (5)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (3)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Compressor</functionlabel>
          <functionlabel num="11" lockable="true">Wipers</functionlabel>       
          <functionlabel num="12" lockable="true">Spirax Valve</functionlabel> 
          <functionlabel num="13" lockable="false">Brake Application</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Brake Release</functionlabel>
          <functionlabel num="16" lockable="false">Door Slam</functionlabel>
          <functionlabel num="17" lockable="false">Buffering</functionlabel>
          <functionlabel num="18" lockable="true">Primer and Alarm</functionlabel>       
          <functionlabel num="19" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="20" lockable="false">God Save The King</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 20 Diesel" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="58" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (6)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (6)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Notch Up</functionlabel>
          <functionlabel num="6" lockable="false">Notch Down</functionlabel>
          <functionlabel num="7" lockable="false">Return to Idle</functionlabel>
          <functionlabel num="8" lockable="true">Thrash</functionlabel>
          <functionlabel num="9" lockable="true">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Destroying Vacuum</functionlabel>
          <functionlabel num="11" lockable="true">Spirax Valve</functionlabel>       
          <functionlabel num="12" lockable="true">Cooling Fan</functionlabel> 
          <functionlabel num="13" lockable="true">Primer</functionlabel>
          <functionlabel num="14" lockable="false">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Brake Release</functionlabel>
          <functionlabel num="16" lockable="false">Door Slam</functionlabel>
          <functionlabel num="17" lockable="false">Buffer Up</functionlabel>
          <functionlabel num="18" lockable="false">Coupling</functionlabel>       
          <functionlabel num="19" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="20" lockable="false">Wagons Clanging</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <!-- Electric and Electric/Diesel-->
      
      <model model="Hornby TXS Class 91 Electric" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="5" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (4)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (3)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Cab Start Up</functionlabel>
          <functionlabel num="6" lockable="false">Detonators</functionlabel>
          <functionlabel num="7" lockable="true">Spirax Valve</functionlabel>
          <functionlabel num="8" lockable="true">Mk4 Doors Open/Close</functionlabel>
          <functionlabel num="9" lockable="false">AWS Warning System</functionlabel>
          <functionlabel num="10" lockable="true">Compressor</functionlabel>
          <functionlabel num="11" lockable="true">Wipers</functionlabel>       
          <functionlabel num="12" lockable="true">Slow Speed Rail Clack</functionlabel> 
          <functionlabel num="13" lockable="false">Pantograph Arc</functionlabel>
          <functionlabel num="14" lockable="false">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Cab Door Close</functionlabel>
          <functionlabel num="16" lockable="false">Door Slam</functionlabel>
          <functionlabel num="17" lockable="true">General Station Sounds</functionlabel>
          <functionlabel num="18" lockable="false">Passing at Speed</functionlabel>       
          <functionlabel num="19" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="20" lockable="false">Air Release</functionlabel>
          <functionlabel num="21" lockable="true">White Headlights Off</functionlabel>
          <functionlabel num="22" lockable="true">Red Rear Lights Off</functionlabel>
          <functionlabel num="23" lockable="true">Cab Light</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 73 Diesel/Electric" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="6" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (6)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (6)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="true">Engine Mode Select/Transition (Diesel Default)</functionlabel>
          <functionlabel num="6" lockable="true">Ignition</functionlabel>
          <functionlabel num="7" lockable="false">General sounds just before moving off</functionlabel>
          <functionlabel num="8" lockable="false">Air Release</functionlabel>
          <functionlabel num="9" lockable="false">Diesel Cold Start overide</functionlabel>
          <functionlabel num="10" lockable="true">Compressor</functionlabel>
          <functionlabel num="11" lockable="true">Flange Squeal</functionlabel>       
          <functionlabel num="12" lockable="true">Passing with Electric Arcing</functionlabel> 
          <functionlabel num="13" lockable="false">Carriages Passing</functionlabel>
          <functionlabel num="14" lockable="false">Moving @20mph over points with bell</functionlabel>
          <functionlabel num="15" lockable="true">Moving @20mph over points</functionlabel>
          <functionlabel num="16" lockable="false">Cab Warning Bell</functionlabel>
          <functionlabel num="17" lockable="true">General Station Sounds</functionlabel>
          <functionlabel num="18" lockable="false">Coupling</functionlabel>       
          <functionlabel num="19" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="20" lockable="true">Wagons Clanging</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 800 Diesel/Electric" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="7" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (8)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (8)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>
          <functionlabel num="5" lockable="true">Engine Mode Select/Transition (Diesel Default)</functionlabel>
          <functionlabel num="6" lockable="true">Detonators</functionlabel>
          <functionlabel num="7" lockable="true">Air Conditioning</functionlabel>
          <functionlabel num="8" lockable="true">Doors Open/Close</functionlabel>
          <functionlabel num="9" lockable="false">AWS Warning Siren</functionlabel>
          <functionlabel num="10" lockable="true">Compressor</functionlabel>
          <functionlabel num="11" lockable="true">Wipers</functionlabel>       
          <functionlabel num="12" lockable="true">Slow Speed Rail Clack</functionlabel> 
          <functionlabel num="13" lockable="false">Pantograph Arc</functionlabel>
          <functionlabel num="14" lockable="false">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Cab Door Close</functionlabel>
          <functionlabel num="16" lockable="true">Coupling Engage</functionlabel>
          <functionlabel num="17" lockable="true">General Station Sounds</functionlabel>
          <functionlabel num="18" lockable="false">Passing at Speed</functionlabel>       
          <functionlabel num="19" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="20" lockable="false">Communications</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Class 423 VEP Electric" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="27" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (4)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (3)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>
          <functionlabel num="5" lockable="false">Cab Start Up</functionlabel>
          <functionlabel num="6" lockable="false">Route Blinds</functionlabel>
          <functionlabel num="7" lockable="true">Poppet Valve</functionlabel>
          <functionlabel num="8" lockable="false">Coach Doors Slam</functionlabel>
          <functionlabel num="9" lockable="false">AWS Warning Siren</functionlabel>
          <functionlabel num="10" lockable="true">Compressor</functionlabel>
          <functionlabel num="11" lockable="true">Wipers</functionlabel>       
          <functionlabel num="12" lockable="true">Slow Speed Rail Clack</functionlabel> 
          <functionlabel num="13" lockable="false">3rd Rail Arc</functionlabel>
          <functionlabel num="14" lockable="true">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Door Slam</functionlabel>
          <functionlabel num="16" lockable="false">Coupling</functionlabel>
          <functionlabel num="17" lockable="true">General Station Sounds</functionlabel>
          <functionlabel num="18" lockable="false">Communication Ring</functionlabel>       
          <functionlabel num="19" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="20" lockable="false">Guard to Drive Bell</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Aux 3</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
      <model model="Hornby TXS Mk4 DVT (unpowered)" numOuts="4" numFns="30" maxMotorCurrent="1.0A" formFactor="HO" maxTotalCurrent="1.0A" productID="70" >
        <versionCV lowVersionID="254" highVersionID="254"/>
        <output name="Headlight" label="Wh" maxcurrent="0.1A"/>
        <output name="Rear Light" label="Ye" maxcurrent="0.1A"/>
        <output name="Aux" label="Gr" maxcurrent="0.1A"/>
        <functionlabels>
          <functionlabel num="0" lockable="true">Lights</functionlabel>
          <functionlabel num="1" lockable="true">Sound Enable/Engine Start</functionlabel>
          <functionlabel num="2" lockable="false">Multiple Horns (4)</functionlabel>
          <functionlabel num="3" lockable="false">Mutiple Horns Fancy (5)</functionlabel>
          <functionlabel num="4" lockable="false">Brake</functionlabel>       
          <functionlabel num="5" lockable="false">Cab Start Up</functionlabel>
          <functionlabel num="6" lockable="false">Detonators</functionlabel>
          <functionlabel num="7" lockable="true">Spirax Valve</functionlabel>
          <functionlabel num="8" lockable="true">Mk4 Doors Open/Close</functionlabel>
          <functionlabel num="9" lockable="false">AWS Warning System</functionlabel>
          <functionlabel num="10" lockable="true">Compressor</functionlabel>
          <functionlabel num="11" lockable="true">Wipers</functionlabel>       
          <functionlabel num="12" lockable="true">Slow Speed Rail Clack</functionlabel> 
          <functionlabel num="13" lockable="false">Pantograph Arc</functionlabel>
          <functionlabel num="14" lockable="false">Flange Squeal</functionlabel>
          <functionlabel num="15" lockable="false">Cab Door Close</functionlabel>
          <functionlabel num="16" lockable="false">Door Slam</functionlabel>
          <functionlabel num="17" lockable="true">General Station Sounds</functionlabel>
          <functionlabel num="18" lockable="false">Passing at Speed</functionlabel>       
          <functionlabel num="19" lockable="false">Guards Whistle</functionlabel>
          <functionlabel num="20" lockable="false">Air Release</functionlabel>
          <functionlabel num="21" lockable="true">Aux 1</functionlabel>
          <functionlabel num="22" lockable="true">Aux 2</functionlabel>
          <functionlabel num="23" lockable="true">Cab Light</functionlabel>
          <functionlabel num="24" lockable="true">Aux 4</functionlabel>
          <functionlabel num="25" lockable="true">Shunting Mode</functionlabel>
          <functionlabel num="26" lockable="false">Activate Coupling Mode</functionlabel>
          <functionlabel num="27" lockable="false">Dynamic Brake (CV123)</functionlabel>
          <functionlabel num="28" lockable="true">AFC Enable</functionlabel>
        </functionlabels> 
      </model>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <variables>
      <xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
      <variable CV="2" item="Vstart" default="02" tooltip="sets the motor voltage at Speed Step 1, range 0-255, (default - 02) CV5" comment="Range 0-255, 0 in CV 2, 6, 5 produces straight line acceleration">
        <decVal/>
        <label>Start voltage</label>
        <comment>Range 1-255, 0 in CV 2, 6, 5 produces straight line acceleration</comment>
      </variable>
      <variable CV="3" item="Accel" default="15" tooltip="Sets the acceleration rate (delay or momentum), range 0-255, (default - 15) CV3" comment="Range 0-255">
        <decVal max="255"/>
        <label>Accel Base Rate (CV3)</label>
        <comment>Range 0-255 - If the content of this parameter equals "0" then there is no programmed momentum during acceleration. (i.e., there will be no throttle lag</comment>
      </variable>
      <variable CV="4" item="Decel" default="15" tooltip="Sets the deceleration rate (delay or momentum), range 0-255, (default - 15) CV4" comment="Range 0-255">
        <decVal max="255"/>
        <label>Decel Base Rate (CV4)</label>
        <comment>Range 0-255 - If the content of this parameter equals "0" then there is no programmed momentum during deceleration.</comment>
      </variable>
      <variable CV="5" item="Vhigh" default="255" tooltip="sets the motor voltage at top throttle Speed Setting, range 0-255, (default - 255) CV5">
        <decVal/>
        <label>Maximum Voltage</label>
        <comment>Range 0-255, A value of 255 corresponds to 100%. 0 in CV 2, 6, 5 produces straight line acceleration</comment>
      </variable>
      <variable CV="6" item="Vmid" tooltip="sets the motor voltage at midrange throttle Speed Setting, range 0-255,(default - 71) CV6">
        <decVal/>
        <label>Midpoint Voltage</label>
        <comment>Range 0-255 (default - 72), 0 in CV 2, 6, 5 produces straight line acceleration</comment>
      </variable>
      <variable CV="7" readOnly="yes" item="Decoder Version" default="254">
        <decVal/>
        <label>Decoder Version: </label>
      </variable>
      <variable CV="8" readOnly="yes" item="Manufacturer" default="48">
        <decVal/>
        <label>Manufacturer ID: </label>
      </variable>
      <variable CV="10" item="Back-EMF Cut-out" default="127" tooltip="Back EMF Cutoff">
        <decVal min="1" max="127"/>
        <label>Back EMF Cutoff</label>
        <comment>Range 1-127</comment>
      </variable>
      <variable CV="12" item="Decoder Control mode select" default="0" tooltip="Decoder Control mode select DCC/BLE/DC">
        <decVal min="0" max="2"/>
        <label>Decoder Control mode select</label>
        <comment>0:DCC(NMRA) 1:DC 2:Radio(BLE)</comment>
      </variable>

      <variable CV="19" item="Consist setup" default="0" tooltip="Decoder based consist set up">
        <decVal min="0" max="255"/>
        <label>Extended Address Low Byte</label>
        <comment>Default = 0 (Not part of a consist) Address range is 1-127 Add 128 to the address number to reverse direction of the locomotive.</comment>
      </variable>

<!-- Decoder ABC configuration -->
 
      <variable CV="27" item="ABC Configuration" mask="XXXXXXVV">
        <enumVal>
        <enumChoice choice="ADCC/ABC Off">
          <choice>ADCC/ABC Off</choice>
        </enumChoice>
        <enumChoice choice="ABC Unit Left">
          <choice>ABC Unit Left</choice>
        </enumChoice>
        <enumChoice choice="ABC Unit Right">
          <choice>ABC Unit Right</choice>
        </enumChoice>
        <enumChoice choice="Both Rails Detected">
          <choice>Both Rails Detected</choice>
        </enumChoice>
        </enumVal>
        <label>ABC Configuration</label>
      </variable>
      <!-- Decoder ABC configuration -->
  
      <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/cv29table3-28.xml"/>

      <!-- Lighting Effects-->
      <variable CV="51" item="Output 1 effect generated" mask="XXXXXVVV" default="0">
        <enumVal>
        <enumChoice choice="Constant bright light">
          <choice>Constant bright light</choice>
        </enumChoice>
        <enumChoice choice="Random flicker (fire box)">
          <choice>Random flicker (fire box)</choice>
        </enumChoice>
        <enumChoice choice="Mars light">
          <choice>Mars light</choice>
        </enumChoice>
        <enumChoice choice="Flashing light">
          <choice>Flashing light</choice>
        </enumChoice>
        <enumChoice choice="Single pulse strobe">
          <choice>Single pulse strobe</choice>
        </enumChoice>
        <enumChoice choice="Double pulse strobe">
          <choice>Double pulse strobe</choice>
        </enumChoice>
        <enumChoice choice="Rotary beacon">
          <choice>Rotary beacon</choice>
        </enumChoice>
        <enumChoice choice="Gyra light">
          <choice>Gyra light</choice>
        </enumChoice>
        </enumVal>
        <label>Lighting Effect F0F(White)</label>
      </variable>
   
      <variable CV="52" item="Output 2 effect generated" mask="XXXXXVVV" default="0">
        <enumVal>
        <enumChoice choice="Constant bright light">
          <choice>Constant bright light</choice>
        </enumChoice>
        <enumChoice choice="Random flicker (fire box)">
          <choice>Random flicker (fire box)</choice>
        </enumChoice>
        <enumChoice choice="Mars light">
          <choice>Mars light</choice>
        </enumChoice>
        <enumChoice choice="Flashing light">
          <choice>Flashing light</choice>
        </enumChoice>
        <enumChoice choice="Single pulse strobe">
          <choice>Single pulse strobe</choice>
        </enumChoice>
        <enumChoice choice="Double pulse strobe">
          <choice>Double pulse strobe</choice>
        </enumChoice>
        <enumChoice choice="Rotary beacon">
          <choice>Rotary beacon</choice>
        </enumChoice>
        <enumChoice choice="Gyra light">
          <choice>Gyra light</choice>
        </enumChoice>
        </enumVal>
        <label>Lighting Effect F0R (Yellow)</label>
      </variable>
   
      <variable CV="53" item="Output 3 effect generated" mask="XXXXXVVV" default="0">
        <enumVal>
        <enumChoice choice="Constant bright light">
          <choice>Constant bright light</choice>
        </enumChoice>
        <enumChoice choice="Random flicker (fire box)">
          <choice>Random flicker (fire box)</choice>
        </enumChoice>
        <enumChoice choice="Mars light">
          <choice>Mars light</choice>
        </enumChoice>
        <enumChoice choice="Flashing light">
          <choice>Flashing light</choice>
        </enumChoice>
        <enumChoice choice="Single pulse strobe">
          <choice>Single pulse strobe</choice>
        </enumChoice>
        <enumChoice choice="Double pulse strobe">
          <choice>Double pulse strobe</choice>
        </enumChoice>
        <enumChoice choice="Rotary beacon">
          <choice>Rotary beacon</choice>
        </enumChoice>
        <enumChoice choice="Gyra light">
          <choice>Gyra light</choice>
        </enumChoice>
        </enumVal>
        <label>Lighting Effect F1/F21</label>
      </variable>
   
      <variable CV="54" item="Output 4 effect generated" mask="XXXXXVVV" default="0">
        <enumVal>
        <enumChoice choice="Constant bright light">
          <choice>Constant bright light</choice>
        </enumChoice>
        <enumChoice choice="Random flicker (fire box)">
          <choice>Random flicker (fire box)</choice>
        </enumChoice>
        <enumChoice choice="Mars light">
          <choice>Mars light</choice>
        </enumChoice>
        <enumChoice choice="Flashing light">
          <choice>Flashing light</choice>
        </enumChoice>
        <enumChoice choice="Single pulse strobe">
          <choice>Single pulse strobe</choice>
        </enumChoice>
        <enumChoice choice="Double pulse strobe">
          <choice>Double pulse strobe</choice>
        </enumChoice>
        <enumChoice choice="Rotary beacon">
          <choice>Rotary beacon</choice>
        </enumChoice>
        <enumChoice choice="Gyra light">
          <choice>Gyra light</choice>
        </enumChoice>
        </enumVal>
        <label>Lighting Effect F2/F22</label>
      </variable>
   
  <!--Lighting Brightness-->
      <variable CV="55" item="Function F0F behavior" default="8" tooltip="Range 0-8">
        <decVal min="0" max="8"/>
        <label>Lighting Brightness F0F (0-8)</label>
        <comment>Range 0-8</comment>
      </variable>
      <variable CV="56" item="Function F0R behavior" default="8" tooltip="Range 0-8">
        <decVal min="0" max="8"/>
        <label>Lighting Brightness F0R (0-8)</label>
        <comment>Range 0-8</comment>
      </variable>
      <variable CV="57" item="Function 1 behavior" default="8" tooltip="Range 0-8">
        <decVal min="0" max="8"/>
        <label>Lighting Brightness F1/21 (0-8)</label>
        <comment>Range 0-8</comment>
      </variable>
      <variable CV="56" item="Function 2 behavior" default="8" tooltip="Range 0-8">
        <decVal min="0" max="8"/>
        <label>Lighting Brightness F2/F22 (0-8)</label>
        <comment>Range 0-8</comment>
      </variable>    
  
<!-- Auto Function Control F28 - treat as special HM7000 Function-->
<!--Loco Running selections-->

      <variable CV="59" item="Running Control" default="0" mask="XXXXXXXV" tooltip="Select for Random, Unselect for Sequential">
        <enumVal>
          <enumChoice choice="Random">
            <choice>Random</choice>
          </enumChoice>
          <enumChoice choice="SEquential">
            <choice>Sequential</choice>
          </enumChoice>
        </enumVal>
        <label>Play Mode while running</label>
        <comment>Play Mode while running</comment>
        </variable>  
<!--CV60 Loco Running Spot Sound Select F2 to F7-->            
      <variable item="Running Option 1" CV="60" mask="XXXXXVXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F2</label>
      </variable>
      <variable item="Running Option 2" CV="60" mask="XXXXVXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F3</label>
      </variable>
      <variable item="Running Option 3" CV="60" mask="XXXVXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F4</label>
      </variable>
        <variable item="Running Option 4" CV="60" mask="XXVXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F5</label>
      </variable>
        <variable item="Running Option 5" CV="60" mask="XVXXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F6</label>
      </variable>
        <variable item="Running Option 6" CV="60" mask="VXXXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F7</label>
      </variable>
    <!--CV61 Loco Running Spot Sound Select F8 to F15-->            
      <variable item="Running Option 7" CV="61" mask="XXXXXXXV">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F8</label>
      </variable>
      <variable item="Running Option 8" CV="61" mask="XXXXXXVX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F9</label>
      </variable>   
      <variable item="Running Option 9" CV="61" mask="XXXXXVXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F10</label>
      </variable>
      <variable item="Running Option 10" CV="61" mask="XXXXVXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F11</label>
      </variable>
      <variable item="Running Option 11" CV="61" mask="XXXVXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F12</label>
      </variable>
        <variable item="Running Option 12" CV="61" mask="XXVXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F13</label>
      </variable>
        <variable item="Running Option 13" CV="61" mask="XVXXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F14</label>
      </variable>
        <variable item="Running Option 14" CV="61" mask="VXXXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F15</label>
      </variable>
    <!--CV62 Loco Running Spot Sound Select F16 to F20-->            
      <variable item="Running Option 15" CV="62" mask="XXXXXXXV">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F16</label>
      </variable>
      <variable item="Running Option 16" CV="62" mask="XXXXXXVX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F17</label>
      </variable>   
      <variable item="Running Option 17" CV="62" mask="XXXXXVXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F18</label>
      </variable>
      <variable item="Running Option 18" CV="62" mask="XXXXVXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F19</label>
      </variable>
      <variable item="Running Option 19" CV="62" mask="XXXVXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F20</label>
      </variable>            
    <!--Loco Stationary selections-->
      <variable item="Stationary Control" CV="63" default="0" mask="XXXXXXXV" tooltip="Select for Random, Unselect for Sequential">
        <enumVal>
          <enumChoice choice="Random">
            <choice>Random</choice>
          </enumChoice>
          <enumChoice choice="SEquential">
            <choice>Sequential</choice>
          </enumChoice>
        </enumVal>
        <label>Play Mode while stationary</label>
        <comment>Play Mode while stationary</comment>
      </variable>    
    <!--CV60 Loco Running Spot Sound Select F2 to F7-->            
      <variable item="Stationary Option 1" CV="64" mask="XXXXXVXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F2</label>
      </variable>
      <variable item="Stationary Option 2" CV="64" mask="XXXXVXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F3</label>
      </variable>
      <variable item="Stationary Option 3" CV="64" mask="XXXVXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F4</label>
      </variable>
        <variable item="Stationary Option 4" CV="64" mask="XXVXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F5</label>
      </variable>
        <variable item="Stationary Option 5" CV="64" mask="XVXXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F6</label>
      </variable>
        <variable item="Stationary Option 6" CV="64" mask="VXXXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F7</label>
      </variable>
    <!--CV61 Loco Running Spot Sound Select F8 to F15-->            
      <variable item="Stationary Option 7" CV="65" mask="XXXXXXXV">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F8</label>
      </variable>
      <variable item="Stationary Option 8" CV="65" mask="XXXXXXVX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F9</label>
      </variable>   
      <variable item="Stationary Option 9" CV="65" mask="XXXXXVXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F10</label>
      </variable>
      <variable item="Stationary Option 10" CV="65" mask="XXXXVXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F11</label>
      </variable>
      <variable item="Stationary Option 11" CV="65" mask="XXXVXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F12</label>
      </variable>
        <variable item="Stationary Option 12" CV="65" mask="XXVXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F13</label>
      </variable>
        <variable item="Stationary Option 13" CV="65" mask="XVXXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F14</label>
      </variable>
      <variable item="Stationary Option 14" CV="65" mask="VXXXXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F15</label>
      </variable>
    <!--CV62 Loco Running Spot Sound Select F16 to F20-->            
      <variable item="Stationary Option 15" CV="66" mask="XXXXXXXV">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F16</label>
      </variable>
      <variable item="Stationary Option 16" CV="66" mask="XXXXXXVX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F17</label>
      </variable>   
      <variable item="Stationary Option 17" CV="66" mask="XXXXXVXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F18</label>
      </variable>
      <variable item="Stationary Option 18" CV="66" mask="XXXXVXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F19</label>
      </variable>
      <variable item="Stationary Option 19" CV="66" mask="XXXVXXXX">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
        <label>Include F20</label>
      </variable>   

    <!-- Special HM Decoder Functions-->
      <variable CV="120" item="Shunting Percentage" mask="XXXXXXVV">
        <enumVal>
          <enumChoice choice="0 - 25%">
            <choice>0 - 25%</choice>
          </enumChoice>
          <enumChoice choice="1 - 50%">
            <choice>1 - 50%</choice>
          </enumChoice>
          <enumChoice choice="2 - 75%">
            <choice>2 - 75%</choice>
          </enumChoice>
        </enumVal>
        <label>Shunting Percentage</label>
      </variable> 
      <variable CV="121" item="Creep Speed" default="1" tooltip="Creep mode Coupling Assist (Speed)">
        <decVal min="1" max="15"/>
        <label>Creep Speed</label>
        <comment>Sets Creep Speed</comment>
      </variable>
  
      <variable CV="122" item="Creep Duration" default="0" tooltip="Creep mode Coupling Assist (Duration)">
        <decVal min="0" max="10"/>
        <label>Creep Duration(Seconds)</label>
        <comment> 0 - Continuous Operation(Toggle), 1- 10 - Preset Operation Duration (Momentary)</comment>
      </variable>
      <variable CV="123" item="Brake Deceleration Rate" default="5" tooltip="1-255 - 1=Instant Stop">
        <decVal min="1" max="255"/>
        <label>Brake Deceleration Rate</label>
        <comment>1-255 - 1=Instant Stop</comment>
      </variable>
    <!-- Special HM Decoder Functions-->    

    <!-- Decoder ABC configuration --> 
      <variable CV="125" item="ABC Action Options" mask="XXXXXXVV">
        <enumVal>
          <enumChoice choice="0-Decel(CV4), Stop(CV126), No Shuttle">
            <choice>0-Decel(CV4), Stop Time(CV126), No Shuttle</choice>
          </enumChoice>
          <enumChoice choice="1-Constant Breaking Dist(CV127), No Shuttle">
            <choice>1-Constant Breaking Dist(CV127), No Shuttle</choice>
          </enumChoice>
          <enumChoice choice="2-Decel(CV4), Stop Time(CV126), No Shuttle">
            <choice>2-Decel(CV4), Stop Time(CV126), No Shuttle</choice>
          </enumChoice>
          <enumChoice choice="3-Constant Breaking Dist(CV127), With Shuttle">
            <choice>3-Constant Breaking Dist(CV127), With Shuttle</choice>
          </enumChoice>
        </enumVal>
      </variable>
      <variable CV="126" item="ABC Stop Hold Time" default="5" tooltip="Number of seconds to temporary stop, 0 - stop until normal DCC signal">
        <decVal min="1" max="255"/>
        <label>ABC Stop Hold Time</label>
        <comment>Number of seconds to temporary stop, 0 - stop until normal DCC signal</comment>
      </variable>
      <variable CV="127" item="ABC Constant Breaking Distance" default="25" tooltip="Sets distance covered until stop, specific to each loco(1-255)">
        <decVal min="1" max="255"/>
        <label>ABC Constant Breaking Distance</label>
        <comment>Sets distance covered until stop, specific to each loco(1-255)</comment>
      </variable>
    <!-- End of ABC -->
 
    <!-- Speed Table -->
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
    
      <variable CV="149" default="2" item="Set Control Algorithm" comment="Set Motor Control Algorithm/Auto calibration enable">
        <enumVal>
          <enumChoice choice="1" value="0">
            <choice>0: Arm PID Calibration Process (Stage 1)</choice>
          </enumChoice>
          <enumChoice choice="2" value="1">
            <choice>1: PID Motor Control Algorithm (Expert Mode)</choice>
          </enumChoice>
          <enumChoice choice="3" value="2">
            <choice>2: PA Motor Control Algorithm (Normal Ops)</choice>
          </enumChoice>
        </enumVal>
        <label>Set Motor Control Algorithm/Auto calibration enable</label>
      </variable>
      <variable CV="143" readOnly="yes"  default="0" item="BEMF reversals" tooltip="BEMF reversals (read only)" >
        <decVal />
        <label>BEMF reversals (Read Only)</label>
        <comment>Set by Calibration Process</comment>
      </variable>
      <variable CV="144" default="0" item="Source of Motor Control" comment="Selects Source of Motor Control settings">
        <enumVal>
          <enumChoice choice="1" value="0">
            <choice>0: Internal motor control values for motor control (Stage 1)</choice>
          </enumChoice>
          <enumChoice choice="2" value="1">
            <choice>1: Use the control parameter as defined in CV150-2 (Stage 2)</choice>
          </enumChoice>
        </enumVal>
        <label>Selects Source of Motor Control settings</label>
      </variable>
      <variable CV="145" readOnly="yes"  default="200" item="Motor Speed Rise Time" tooltip="Calibration result of the motor speed rise time " >
        <decVal max="255"/>
        <label>Calibration result of the motor speed rise time </label>
        <comment>Set by Calibration Process</comment>
      </variable>
 
      <variable CV="146" readOnly="yes" default="50" item="Motor Speed Fall Time" tooltip="Calibration result of the motor speed fall time ">
        <decVal max="255"/>
        <label>Calibration result of the motor speed fall time </label>
        <comment>Set by Calibration Process</comment>
      </variable>
      <variable CV="147" readOnly="yes" default="3" item="Best BEMF Scale" tooltip="Calibration result of most suitable motor BEMF Scale" comment="Range 0-255">
        <decVal max="255"/>
        <label>Calibration result of most suitable motor BEMF Scale</label>
        <comment>Set by Calibration Process</comment>
      </variable>

      <variable CV="150" default="0" item="Additional BEMF sampling" tooltip="Number of additional BEMF sampling times in tuning mode" comment="(0-40) Defines the additional BEMF sampling times in tuning mode (CV144=1)">
        <decVal max="40"/>
        <label>Number of additional BEMF sampling times in tuning mode</label>
        <comment>Defines the additional BEMF sampling times in tuning mode (CV144=1)</comment>
      </variable>
      
      
      <variable CV="151" default="1" item="Additional PWM output time" tooltip="Additional PWM output time in tuning mode" comment="(1-20) Defines the additional PWM output time in tuning mode (CV144=1)">
        <decVal max="40"/>
        <label>Additional PWM output time in tuning mode</label>
        <comment>Defines the additional PWM output time in tuning mode (CV144=1)</comment>
      </variable>
      <variable CV="152" default="9" item="PMW Correction" tooltip="Strength of PMW Correction" comment="(0-9) Active strength of PWM correction (CV144=1)">
        <decVal max="9"/>
        <label>Strength of PMW Correction</label>
        <comment>Active strength of PWM correction  (CV144=1)</comment>
      </variable>
      
      <variable CV="153" default="4" item="P Value" tooltip="Default - 4 (0-255) PID Adjust P Value " comment="Default - 4 (0-255) Manual Input (Expert Mode Only)">
        <decVal max="255"/>
        <label>PID Adjust P Value - Default=4 (0-255)</label>
        <comment>Default - 4 (0-255) Manual Input (Expert Mode Only)</comment>
      </variable>
      <variable CV="154" default="8" item="I Value" tooltip="Default - 8 (0-255) PID Adjust I Value " comment="Default - 8 (0-255) Manual Input (Expert Mode Only)">
        <decVal max="255"/>
        <label>PID Adjust I Value - Default=8 (0-255)</label>
        <comment>Default - 8 (0-255) Manual Input (Expert Mode Only)</comment>
      </variable>
      <variable CV="155" default="1" item="D Value" tooltip="Default - 1 (0-255) PID Adjust D Value " comment="Default - 1 (0-255) Manual Input (Expert Mode Only)">
        <decVal max="255"/>
        <label>PID Adjust D Value - Default=1 (0-255)</label>
        <comment>Default - 1 (0-255) Manual Input (Expert Mode Only)</comment>
      </variable>

      <!--GLOBAL SOUND LEVELS -->

      <variable CV="158" default="35" item="Sound Setting 1"  tooltip="Global Volume" comment="Range 0-127"  >
        <decVal max="127"/>
        <label>Global Volume</label>
      </variable>
      <variable CV="159" default="35" item="Sound Setting 2"  tooltip="Volume for F0" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F0 Volume</label>
      </variable>
      <variable CV="160" default="35" item="Sound Setting 3"  tooltip="Volume of Locomotive Motors (Electric)" comment="Range 0-127" >
        <decVal max="127"/>
        <label>Volume of Locomotive Motors (Electric)</label>
      </variable>
      <variable CV="161" default="35" item="Sound Setting 4"  tooltip="Volume of Locomotive Engine (Steam and Diesel)" comment="Range 0-127" >
        <decVal max="127"/>
        <label>Volume of Locomotive Engine (Steam and Diesel)</label>
      </variable>


      <!-- SET SOUND LEVELS for each Function-->

      <variable CV="162" default="35" item="Sound Setting 6"  tooltip="Volume for F2" comment="Range 0-127"  >
        <decVal max="127"/>
        <label>F2 Volume</label>
      </variable>
      <variable CV="163" default="35" item="Sound Setting 7"  tooltip="Volume for F3" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F3 Volume</label>
      </variable>
      <variable CV="164" default="35" item="Sound Setting 8"  tooltip="Volume for F4" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F4 Volume</label>
      </variable>
      <variable CV="165" default="35" item="Sound Setting 9"  tooltip="Volume for F5" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F5 Volume</label>
      </variable>
      <variable CV="166" default="35" item="Sound Setting 10"  tooltip="Volume for F6" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F6 Volume</label>
      </variable>
      <variable CV="167" default="35" item="Sound Setting 11"  tooltip="Volume for F7" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F7 Volume</label>
      </variable>
      <variable CV="168" default="35" item="Sound Setting 12"  tooltip="Volume for F8" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F8 Volume</label>
      </variable>
      <variable CV="169" default="35" item="Sound Setting 13"  tooltip="Volume for F9" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F9 Volume</label>
      </variable>
      <variable CV="170" default="35" item="Sound Setting 14"  tooltip="Volume for F10" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F10 Volume</label>
      </variable>
      <variable CV="171" default="35" item="Sound Setting 15"  tooltip="Volume for F11" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F11 Volume</label>
      </variable>
      <variable CV="172" default="35" item="Sound Setting 16"  tooltip="Volume for F12" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F12 Volume</label>
      </variable>
      <variable CV="173" default="35" item="Sound Setting 17"  tooltip="Volume for F13" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F13 Volume</label>
      </variable>
      <variable CV="174" default="35" item="Sound Setting 18"  tooltip="Volume for F14" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F14 Volume</label>
      </variable>
      <variable CV="175" default="35" item="Sound Setting 19"  tooltip="Volume for F15" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F15 Volume</label>
      </variable>
      <variable CV="176" default="35" item="Sound Setting 20"  tooltip="Volume for F16" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F16 Volume</label>
      </variable>
      <variable CV="177" default="35" item="Sound Setting 21"  tooltip="Volume for F17" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F17 Volume</label>
      </variable>
      <variable CV="178" default="35" item="Sound Setting 22"  tooltip="Volume for F18" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F18 Volume</label>
      </variable>
      <variable CV="179" default="35" item="Sound Setting 23"  tooltip="Volume for F19" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F19 Volume</label>
      </variable>
      <variable CV="180" default="35" item="Sound Setting 24"  tooltip="Volume for F20" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F20 Volume</label>
      </variable>
      <variable CV="181" default="35" item="Sound Setting 25"  tooltip="Volume for F21" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F21 Volume</label>
      </variable>
      <variable CV="182" default="35" item="Sound Setting 26"  tooltip="Volume for F22" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F22 Volume</label>
      </variable>
      <variable CV="183" default="35" item="Sound Setting 27"  tooltip="Volume for F23" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F23 Volume</label>
      </variable>
      <variable CV="184" default="35" item="Sound Setting 28"  tooltip="Volume for F24" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F24 Volume</label>
      </variable>
      <variable CV="185" default="35" item="Sound Setting 29"  tooltip="Volume for F25" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F25 Volume</label>
      </variable>
      <variable CV="186" default="35" item="Sound Setting 30"  tooltip="Volume for F26" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F26 Volume</label>
      </variable>
      <variable CV="187" default="35" item="Sound Setting 31"  tooltip="Volume for F27" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F27 Volume</label>
      </variable>
      <variable CV="188" default="35" item="Sound Setting 32"  tooltip="Volume for F28" comment="Range 0-127" >
        <decVal max="127"/>
        <label>F28 Volume</label>
      </variable>

      <!-- SOUND IDs -->
      
      
      <variable CV="200" item="Decoder Sound Version" readOnly="yes" tooltip="ID of the Sound File" >
        <decVal />
        <label>Sound ID (High Byte):</label>
      </variable>
      <variable CV="201" item="Product Number" readOnly="yes"  >
        <decVal />
        <label>Sound ID (Low Byte):</label>
      </variable>
      <variable CV="202" item="Sound Version (High Byte)" readOnly="yes" tooltip="Version of the Sound File" >
        <decVal />
        <label>Sound Version (High Byte):</label>
      </variable>
      <variable CV="203" item="Sound Version (Low Byte)" readOnly="yes" tooltip="Version of the Sound File" >
        <decVal />
        <label>Sound Version (Low Byte):</label>
      </variable>
      <variable CV="201,200"  item="ProductID1" readOnly="yes" tooltip="Version of the Sound File"  >
        <splitVal factor="1" min="0" />
        <label>ProductID(Sound Profile ID):</label>
      </variable>       
       <!-- Horn/Whistle Selection (F2-F3) -->
      
      <variable CV="205" item="Sound Selection F2" tooltip="Bits 0-7 linked to available sounds" >
        <decVal max="255"/>
        <label>Sound Selection F2</label>
      </variable>
      <variable CV="206" default="0" item="Sound Play Mode F2"  comment="0: Sequential 1: Random">
        <enumVal>
          <enumChoice choice="1" value="0">
            <choice>0: Sequential</choice>
          </enumChoice>
          <enumChoice choice="2" value="1">
            <choice>1: Random</choice>
          </enumChoice>
        </enumVal>
        <label>Sound Play Mode F2</label>
      </variable> 
      <variable CV="207" item="Sound Selection F3" readOnly="yes" tooltip="Bits 0-7 linked to available sounds" >
        <decVal max="255"/>
        <label>Sound Selection F3</label>
      </variable>
      <variable CV="208" default="0" item="Sound Play Mode F3"  comment="0: Sequential 1: Random">
        <enumVal>
          <enumChoice choice="1" value="0">
            <choice>0: Sequential</choice>
          </enumChoice>
          <enumChoice choice="2" value="1">
            <choice>1: Random</choice>
          </enumChoice>
        </enumVal>
        <label>Sound Play Mode F3</label>
      </variable> 
      
      <!-- Diesel Engine Notching 3 Notch System  -->
      
      <variable CV="210" default="5" item="Sound Option 2" tooltip="Trigger Threshold 1 Notch 1"  include="3,4,14,28,32,41,42,43,44,45,46,49,50,51,57,58,60">
        <decVal min="5" max="15"/>
        <label>Trigger Threshold 1 - Notch 1</label>
      </variable>
      <variable CV="211" default="5" item="Sound Option 3" tooltip="Trigger Threshold Window 1"  include="3,4,14,28,32,41,42,43,44,45,46,49,50,51,57,58,60">
        <decVal min="5" max="14"/>
        <label>Trigger Threshold Window 1</label>
      </variable>
      <variable CV="212" default="30" item="Sound Option 4" tooltip="Trigger Threshold 2 Notch 2"  include="3,4,14,28,32,41,42,43,44,45,46,49,50,51,57,58,60">
        <decVal min="25" max="45"/>
        <label>Trigger Threshold 2 - Notch 2</label>
      </variable>
      <variable CV="213" default="5" item="Sound Option 5" tooltip="Trigger Threshold Window 2"  include="3,4,14,28,32,41,42,43,44,45,46,49,50,51,57,58,60">
        <decVal min="5" max="14"/>
        <label>Trigger Threshold Window 2</label>
      </variable>
      <variable CV="214" default="60" item="Sound Option 6" tooltip="Trigger Threshold 3 Notch 3" include="3,4,14,28,32,41,42,43,44,45,46,49,50,51,57,58,60">
        <decVal min="60" max="80"/>
        <label>Trigger Threshold 3 - Notch 3</label>
      </variable>
      <variable CV="215" default="5" item="Sound Option 7" tooltip="Trigger Threshold Window 3"  include="3,4,14,28,32,41,42,43,44,45,46,49,50,51,57,58,60">
        <decVal min="5" max="15"/>
        <label>Trigger Threshold Window 3</label>
      </variable>
 
      <!-- Diesel Engine Notching 4 Notch System - Additional CVs - Note Defaults for CVs 210-215 change for 4 Notch System -->
       <variable CV="216" default="65" item="Sound Option 8" tooltip="Trigger Threshold 4 Notch 4"  include="3,4,14,28,32,41,42,43,44,45,46,49,50,51,57,58,60">
        <decVal min="65" max="70"/>
        <label>Trigger Threshold 4 - Notch 4</label>
      </variable>
      <variable CV="217" default="5" item="Sound Option 9" tooltip="Trigger Threshold Window 4"  include="3,4,14,28,32,41,42,43,44,45,46,49,50,51,57,58,60">
        <decVal min="5" max="14"/>
        <label>Trigger Threshold Window 4</label>
      </variable>
      
      <variable CV="225" default="25" item="Start Delay" tooltip="Start Delay before brake release Diesels only"  include="3,4,14,28,32,41,42,43,44,45,46,49,50,51,57,58,60">
        <decVal min="0" max="255"/>
        <label>Diesel Loco Start Delay</label>
      </variable>
      
      <!-- ELECTRIC ENGINE SOUND STEPS -->
      
      <variable CV="218" default="3" item="Sound Option 2" tooltip="ELECTRIC Trigger Threshold 1 (ETT 1) "  include="5,6,7,9,12,13,15,18,22,23,27,30,64">
        <decVal min="1" max="255"/>
        <label>ELECTRIC Trigger Threshold 1 (ETT 1)</label>
      </variable>
      <variable CV="219" default="30" item="Sound Option 3" tooltip="ELECTRIC Trigger Threshold 2 (ETT 2) "  include="5,6,7,9,12,13,15,18,22,23,27,30,64">
        <decVal min="1" max="255"/>
        <label>ELECTRIC Trigger Threshold 2 (ETT 2)</label>
      </variable>
      <variable CV="220" default="60" item="Sound Option 4" tooltip="ELECTRIC Trigger Threshold 3 (ETT 3) "  include="5,6,7,9,12,13,15,18,22,23,27,30,64">
        <decVal min="1" max="255"/>
        <label>ELECTRIC Trigger Threshold 3 (ETT 3)</label>
      </variable>
      <variable CV="221" default="80" item="Sound Option 5" tooltip="ELECTRIC Trigger Threshold 4 (ETT 4)"  include="5,6,7,9,12,13,15,18,22,23,27,30,64">
        <decVal min="1" max="255"/>
        <label>ELECTRIC Trigger Threshold 4 (ETT 4)</label>
      </variable>
      <variable CV="222" default="100" item="Sound Option 6" tooltip="ELECTRIC Trigger Threshold 5 (ETT 5) " include="5,6,7,9,12,13,15,18,22,23,27,30,64">
        <decVal min="1" max="255"/>
        <label>ELECTRIC Trigger Threshold 5 (ETT 5)</label>
      </variable>
      
      <!-- CHUFF/PUFF Puff Adjustment - ASU/Sensor equipped Steam Locomotives -->
      <variable CV="211" default="127" item="Sound Option 3" tooltip="Puff Strength During Chuff High level steam"  include="33,34,35,48">
        <decVal min="0" max="127"/>
        <label>Puff Strength During Chuff High level steam</label>
      </variable>
      <variable CV="212" default="30" item="Sound Option 4" tooltip="Puff Strength During Idle Idle Steam"  include="33,34,35,48">
        <decVal min="25" max="45"/>
        <label>Puff Strength During Idle Idle Steam</label>
      </variable>           
      
      <!-- CHUFF/PUFF Puff Adjustment - ASU/Sensor equipped Steam Locomotives --> 
      <!-- CVs 221-238 Read Only TBC -->
      
      <!-- WHEEL SLIP All Steam Locomotives -->

      <variable CV="213" default="0" item="Sound Option 5"  comment="0: Sequential 1: Random" include="1,2,10,11,16,17,19,20,21,24,25,26,29,31,36,37,38,40,52,53,54,56,59,61,62,65,66,67,68,69,71,999,33,34,35,48">
        <enumVal>
          <enumChoice choice="1" value="0">
            <choice>0: Manual</choice>
          </enumChoice>
          <enumChoice choice="2" value="1">
            <choice>1: Auto</choice>
          </enumChoice>
        </enumVal>
        <label>Wheel Slip Automatic Mode Enable</label>
      </variable>
      <variable CV="214" default="7" item="Sound Option 6" tooltip="Wheel Slip Triggering Step Difference  " include="1,2,10,11,16,17,19,20,21,24,25,26,29,31,36,37,38,40,52,53,54,56,59,61,62,65,66,67,68,69,71,999,33,34,35,48" >
        <decVal min="5" max="15"/>
        <label>Wheel Slip Triggering Step Difference  </label>
      </variable>
      <variable CV="215" default="2" item="Sound Option 7" tooltip="Wheel Slip Deactivating Speed (Low Range) " include="1,2,10,11,16,17,19,20,21,24,25,26,29,31,36,37,38,40,52,53,54,56,59,61,62,65,66,67,68,69,71,999,33,34,35,48" >
        <decVal min="0" max="5"/>
        <label>Wheel Slip Deactivating Speed (Low Range) </label>
      </variable>
      <variable CV="216" default="25" item="Sound Option 8" tooltip="Wheel Slip Deactivating Speed (High Range) "  include="1,2,10,11,16,17,19,20,21,24,25,26,29,31,36,37,38,40,52,53,54,56,59,61,62,65,66,67,68,69,71,999,33,34,35,48">
        <decVal min="15" max="75"/>
        <label>Wheel Slip Deactivating Speed (High Range) </label>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset All CVs" CV="8" default="8">
      </factReset>
      <factReset label="Reset sound levels only" CV="8" default="5">
      </factReset>
    </resets>
  </decoder>
  
<pane>
  <name>ABC Breaking</name>
  <column>
    <label label="ABC Breaking Settings taken from Hornby HM7000 Manual"/>
    <label label="I don't have capability to test atm"/>
    <label label="so offered as potentially correct"/>
    <separator/>
    <label>
      <text> </text>
    </label>
    <display item="ABC Configuration"/>
    <display item="ABC Action Options"/>
    <label>
      <text> </text>
    </label>

    <display item="ABC Stop Hold Time" format="hslider" label="">
      <label/>
    </display>
    <display item="ABC Stop Hold Time"/>
      <label>
        <text>
        </text>
      </label>

    <display item="ABC Constant Breaking Distance" format="hslider" label="" >
      <label/>
    </display>
    <display item="ABC Constant Breaking Distance"/>
  </column>
</pane>
<pane>
  <name>HM7000 Functions</name>
  <column>
    <label label="Special Function Settings taken from Hornby HM7000 Manual"/>
    <label label=""/>
    <separator/>
    <label>
      <text> </text>
    </label>
    <display item="Shunting Percentage"/>
    <label>
      <text> </text>
    </label>
    <display item="Creep Speed" format="hslider" label="">
      <label/>
    </display>
    <display item="Creep Speed"/>

    <display item="Creep Duration" format="hslider" label="" >
      <label/>
    </display>
    <display item="Creep Duration"/>
    <label>
      <text> </text>
    </label>

    <display item="Brake Deceleration Rate" format="hslider" label="">
      <label/>
    </display>
    <display item="Brake Deceleration Rate"/>   
  </column>
</pane> 
<pane>
  <name>Motor</name>
  <column>
    <display item="Accel"/>
    <display item="Decel"/>
    <label>
      <text> </text>
    </label>
    <separator/>
    <label>
      <text> </text>
    </label>
    <display item="Set Control Algorithm"/>
    <label>
      <text> </text>
    </label>
    <display item="BEMF reversals"/>
    <display item="Motor Speed Rise Time"/>
    <display item="Motor Speed Fall Time"/>
    <display item="Best BEMF Scale"/>
    <label>
      <text> </text>
    </label>
    <display item="Source of Motor Control"/>
    <label>
      <text> </text>
    </label>
    <display item="Additional BEMF sampling" format="hslider" label="">
      <label/>
    </display>
    <display item="Additional BEMF sampling"/>
    <label>
      <text> </text>
    </label>
    <display item="Additional PWM output time" format="hslider" label="">
      <label/>
    </display>
    <display item="Additional PWM output time"/>
    <label>
      <text> </text>
    </label>
    <display item="PMW Correction" format="hslider" label="">
      <label/>
    </display>
    <display item="PMW Correction"/>
    <label>
      <text> </text>
    </label>
    <label>
      <text> </text>
    </label>   
    <display item="P Value"/>
    <display item="I Value"/>
    <display item="D Value"/>
  </column>
</pane>
<pane>
  <name>Misc Sound Settings</name>
  <column>
    <label label="SOUND IDs"/>
    <label label=""/>
    <separator/>
    <label>
    <text> </text>
    </label>
    <display item="Sound ID (High Byte)"/>
    <display item="Sound ID (Low Byte)"/>
    <display item="Sound Version (High Byte)"/>
    <display item="Sound Version (Low Byte)"/>
    <label>
      <text> </text>
    </label>
    <label label="Horn/Whistle Selection (F2-F3)"/>
    <label label=""/>
    <label label="To include sound add a-1, b-2, c-4, d-8, e-16, f-32, g-64, h-128"/>
    <display item="Sound Selection F2"/>
    <display item="Sound Play Mode F2"/>
    <display item="Sound Selection F3"/>
    <display item="Sound Play Mode F3"/>
  </column>
</pane>
<pane>
  <name>Function Map</name>
  <column>  
    <label label="Functions F0-F28 cannot be remapped, however Automatic Sound Functions can be set using this pane"/>
    <label label=""/>
    <label label="Sets the sounds to be played when AFC is enabled (F28)"/>
    <label label=""/>
    <separator/>
    <label>
      <text> </text>
    </label>
 
    <label><text> </text></label>
    <label label="Sounds played when loco is moving"/>
    <label label=""/>
    <display item="Running Control"/>
    <display item="Running Option 1"/>
    <display item="Running Option 2"/>
    <display item="Running Option 3"/>
    <display item="Running Option 4"/>
    <display item="Running Option 5"/>
    <display item="Running Option 6"/>
    <display item="Running Option 7"/>
    <display item="Running Option 8"/>
    <display item="Running Option 9"/>
    <display item="Running Option 10"/>
    <label>
      <text> </text>
    </label>
    <display item="Running Option 11"/>
    <display item="Running Option 12"/>
    <display item="Running Option 13"/>
    <display item="Running Option 14"/>
    <display item="Running Option 15"/>
    <display item="Running Option 16"/>
    <display item="Running Option 17"/>
    <display item="Running Option 18"/>
    <display item="Running Option 19"/>
  </column>
  <column>
    <label><text> </text></label>
    <label label="Sounds played when loco is stationary"/>
    <label label=""/>
    <display item="Stationary Control"/>
    <display item="Stationary Option 1"/>
    <display item="Stationary Option 2"/>
    <display item="Stationary Option 3"/>
    <display item="Stationary Option 4"/>
    <display item="Stationary Option 5"/>
    <display item="Stationary Option 6"/>
    <display item="Stationary Option 7"/>
    <display item="Stationary Option 8"/>
    <label>
      <text> </text>
    </label>
    <display item="Stationary Option 9"/>
    <display item="Stationary Option 10"/>
    <display item="Stationary Option 11"/>
    <display item="Stationary Option 12"/>
    <display item="Stationary Option 13"/>
    <display item="Stationary Option 14"/>
    <display item="Stationary Option 15"/>
    <display item="Stationary Option 16"/>
    <display item="Stationary Option 17"/>
    <display item="Stationary Option 18"/>
    <display item="Stationary Option 19"/>
  </column>
 
</pane>

<pane>
  <name>Basic</name>
  <column>
    <dccaddress/>
    <label>
      <text> </text>
    </label>
    <display item="Short Address" tooltip="Sets the primary (short) address">
    </display>
    <display item="Long Address" tooltip="Sets the extended (long) address">
    </display>
    <display item="Address Format" tooltip="Determines whether loco will use short or long address">
    </display>
  <label>
   <text> </text>
  </label>
  <display item="Locomotive Direction" tooltip="Sets the relative direction of the loco when told to move forward">
  </display>
  <display item="Speed Step Mode" tooltip="Sets the speed step mode for headlight control">
  </display>
  <display item="Analog (DC) Operation" tooltip="Determines whether loco can operate on conventional DC current (enables Power Source Conversion)">
  </display>
 </column>
 <column>
  <label>
   <text> </text>
  </label>
  <label>
   <text> </text>
  </label>
 <display item="User Id #3" tooltip="Sets an extra user ID or number (if used)">
  </display>
  <display item="User Id #4" tooltip="Sets a 2nd extra user ID or number (if used)">
  </display>
  <display item="User Id #1" tooltip="Sets first custom user ID or number">
  </display>
  <display item="User Id #2" tooltip="Sets second custom user ID or number">
  </display>
  <label>
   <text> </text>
  </label>
  <separator/>
  <label>
   <text> </text>
  </label>
  <display item="Manufacturer" tooltip="The manufacturer's ID number (read only)">
  </display>
  <display item="Decoder Version" tooltip="The decoder version number (read only)">
  </display>
  <display item="Product Number" tooltip="The decoder product number (if used) (read only)">
  </display>
  <display item="Decoder Sound Version" tooltip="The decoder product number (if used) (read only)">
  </display>
  
  <display item="ProductID"></display>
  
 </column>
</pane> 
</decoder-config>
