<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!DOCTYPE decoder-config SYSTEM "../DTD/decoder-config.dtd">

<!-- Copyright (C) JMRI 2008 All rights reserved -->
<!-- $Id: SoundTraxx_Tsu_Diesel.xml,v 1.3 2009/10/02 21:58:40 jacobsen Exp $ -->
<!--                                                                        -->
<!-- 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>

	<version author="Jack Shall lcrr@bellsouth.net" version="1" lastUpdated="20090602"/>
	<version author="Jack Shall lcrr@bellsouth.net" version="2" lastUpdated="20090723"/>
	<version author="Jack Shall lcrr@bellsouth.net" version="3" lastUpdated="20090925"/>

	<!-- This file contains the Tsunami definitions for ALL of the internal combustion engine locomotives	-->

	<!-- version 1	Based on the "Soundtraxx_Tsu_(various diesels)" series of files.					-->
	<!--			Co-authored by Michael Mosher.	Special thanks to Bob Jacobsen and Phil Utley		-->
	<!--			for their assistance, and Marc Fournier for getting the ball rolling.				-->
	<!--			This file incorporates the "include" attribute to allow proper display of			-->
	<!--			various elements based on their pertinence to a particular model.  When adding		-->
	<!--			models, the productID must be attached to the proper sets of horn selections.		-->
	<!-- version 2	Fixed bug in CV112 where auto/manual control of air compressor and radiator fans	-->
	<!--			was reversed (this was corrected in Tsunami Diesel Tech. Ref. v1.10).  Fixed bug	-->
	<!--			in CV116, bit 4 "Engine RPM Interlock".  Added CV116, bit 5 "Auto Engine Start		-->
	<!--			Enable" and CV118 "Motor Recovery Speed".  Updated some tool tips.					-->
	<!-- version 3	Added Alco 539 models 827011, 827012, 828049.										-->															-->



<!-- Decoder Model information follows -->

<decoder>
	<family name="Tsunami Diesel" mfg="Throttle-Up (SoundTraxx)"
		comment="These are the -retail- version Tsunami diesel decoders">
		<model model="TSU-750 Alco 244" numOuts="2" numFns="14" connector="other"
			productID="827004" comment="Model 827004">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="FX5" label=" Rule 17"/>
			<output name="FX6" label="Mode"/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-750 Alco 539 (Non-Turbo)" numOuts="2" numFns="14" connector="other"
			productID="827011" comment="Model 827011">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="FX5" label=" Rule 17"/>
			<output name="FX6" label="Mode"/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-750 Alco 539 (Turbo)" numOuts="2" numFns="14" connector="other"
			productID="827012" comment="Model 827012">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="FX5" label=" Rule 17"/>
			<output name="FX6" label="Mode"/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-750 EMD 567" numOuts="2" numFns="14" connector="other"
			productID="827001" comment="Model 827001">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="FX5" label=" Rule 17"/>
			<output name="FX6" label="Mode"/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-750 Fairbanks-Morse H-12" numOuts="2" numFns="14" connector="other"
			productID="827008" comment="Model 827008">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="FX5" label=" Rule 17"/>
			<output name="FX6" label="Mode"/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-750 Galloping Goose" numOuts="2" numFns="14" connector="other"
			productID="827010" comment="Model 827010">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="FX5" label=" Rule 17"/>
			<output name="FX6" label="Mode"/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-1000 Alco 244" numOuts="4" numFns="14" connector="9pin"
			productID="827104" comment="Model 827104">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-1000 Alco 251 (V12)" numOuts="4" numFns="14" connector="9pin"
			productID="827105" comment="Model 827105">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-1000 Alco 251 (V16)" numOuts="4" numFns="14" connector="9pin"
			productID="827106" comment="Model 827106">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-1000 EMD 567" numOuts="4" numFns="14" connector="9pin"
			productID="827101" comment="Model 827101">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-1000 EMD 645" numOuts="4" numFns="14" connector="9pin"
			productID="827102" comment="Model 827102">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-1000 EMD 645 (Non-Turbo)" numOuts="4" numFns="14" connector="9pin"
			productID="827109" comment="Model 827109">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-1000 EMD 710" numOuts="4" numFns="14" connector="9pin"
			productID="827103" comment="Model 827103">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-1000 Fairbanks-Morse H-12" numOuts="4" numFns="14" connector="9pin"
			productID="827108" comment="Model 827108">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-1000 GE FDL-16" numOuts="4" numFns="14" connector="9pin"
			productID="827107" comment="Model 827107">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-1000 Galloping Goose" numOuts="4" numFns="14" connector="9pin"
			productID="827110" comment="Model 827110">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-AT1000 Alco 244" numOuts="4" numFns="14" connector="other"
			productID="828043" comment="Model 828043">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-AT1000 Alco 251 (V12)" numOuts="4" numFns="14" connector="other"
			productID="828044" comment="Model 828044">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-AT1000 Alco 251 (V16)" numOuts="4" numFns="14" connector="other"
			productID="828045" comment="Model 828045">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-AT1000 Alco 539 (Turbo)" numOuts="4" numFns="14" connector="other"
			productID="828049" comment="Model 828049">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-AT1000 EMD 567" numOuts="4" numFns="14" connector="other"
			productID="828040" comment="Model 828040">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-AT1000 EMD 645" numOuts="4" numFns="14" connector="other"
			productID="828041" comment="Model 828041">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-AT1000 EMD 645 (Non-Turbo)" numOuts="4" numFns="14" connector="other"
			productID="828048" comment="Model 828048">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-AT1000 EMD 710" numOuts="4" numFns="14" connector="other"
			productID="828042" comment="Model 828042">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-AT1000 Fairbanks-Morse H-12" numOuts="4" numFns="14" connector="other"
			productID="828047" comment="Model 828047">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-AT1000 GE FDL-16" numOuts="4" numFns="14" connector="other"
			productID="828046" comment="Model 828046">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-GN1000 EMD 567" numOuts="4" numFns="14" connector="other"
			productID="828050" comment="Model 828050">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-GN1000 EMD 645" numOuts="4" numFns="14" connector="other"
			productID="828051" comment="Model 828051">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-GN1000 EMD 710" numOuts="4" numFns="14" connector="other"
			productID="828052" comment="Model 828052">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
		<model model="TSU-GN1000 GE FDL-16" numOuts="4" numFns="14" connector="other"
			productID="828056" comment="Model 828056">
			<versionCV lowVersionID="64"/>
			<output name="Air Horn"/>
			<output name="Bell"/>
			<output name="3" label="  FX5  "/>
			<output name="4" label="  FX6  "/>
			<output name="Dynamics"/>
			<output name="Short Horn"/>
			<output name="Fans(+)"/>
			<output name="Dimming"/>
			<output name="Mute"/>
			<output name="Comp(-)"/>
			<output name="Brakes"/>
			<output name="Coupler"/>
		</model>
	</family>

	<programming direct="yes" paged="yes" register="yes" ops="yes"></programming>


<!-- Configuration Variable (CV) information follows -->

	<variables>

		<variable label="Primary Address (1-127)" CV="1"
            item="Short Address" default="3"
			tooltip="Sets the Primary (short, 2 digit) address">
			<shortAddressVal/>
		</variable>

		<variable label="Start Voltage (0-255)" CV="2"
			item="Vstart" default="0"
			comment="A value of 255 corresponds to full voltage available"
			tooltip="Sets the starting voltage at throttle speed step 1">
			<decVal/>
		</variable>

		<variable label="Acceleration Rate (0-255)" CV="3"
			item="Accel" default="0"
			tooltip="Sets the acceleration rate (delay).  Higher number = slower rate">
			<decVal/>
		</variable>

		<variable label="Braking Rate (0-255)" CV="4"
			item="Decel" default="0"
			tooltip="Sets the deceleration rate (delay).  Higher number = slower rate">
			<decVal/>
		</variable>

		<variable label="Manufacturer Version ID" CV="7" readOnly="yes"
			item="Decoder Version"
			tooltip="This is the decoder software version identifier (read only)">
			<decVal/>
		</variable>

		<variable label="Manufacturer ID" CV="8" readOnly="yes"
			item="Manufacturer">
			<decVal/>
		</variable>

		<variable label="BEMF Cutout (0-127 or 128-255)" CV="10"
			item="EMF Feedback Cutout" default="0"
			tooltip="&lt;html&gt;Up to 127, this sets the speed step above which the intensity of BEMF control will be reduced&lt;br&gt;
				to zero.  Values over 127 cause the BEMF to decrease as a percentage (up to 50%).&lt;/html&gt;">
			<decVal/>
		</variable>

		<variable label="Packet Time Out Value (0-255)" CV="11"
			item="Packet Time-out Value" default="0"
			tooltip="&lt;html&gt;Sets the time period that is allowed to elapse between receipts of a valid packet&lt;br&gt;
				addressed to the decoder before a throttle shutdown occurs.  Enter zero to disable.&lt;/html&gt;">
			<decVal/>
		</variable>

		<variable label="Power Source Conversion Type" CV="12" mask="XXXXXXXV"
			item="Analog Power Conversion" default="1"
			tooltip="&lt;html&gt;Defines the type of power source the decoder should&lt;br&gt;
				switch to whenever a DCC signal is not present.&lt;br&gt;
				(Tip: Alternate Power Source must be enabled)&lt;/html&gt;">
			<enumVal>
				<enumChoice choice="No alternate power source available"/>
				<enumChoice choice="Analog power supply"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F1" CV="13" mask="XXXXXXXV"
			default="0"
			tooltip="Check to enable function F1 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F2" CV="13" mask="XXXXXXVX"
			default="0"
			tooltip="Check to enable function F2 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F3" CV="13" mask="XXXXXVXX"
			default="0"
			tooltip="Check to enable function F3 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F4" CV="13" mask="XXXXVXXX"
			default="0"
			tooltip="Check to enable function F4 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F5" CV="13" mask="XXXVXXXX"
			default="0"
			tooltip="Check to enable function F5 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F6" CV="13" mask="XXVXXXXX"
			default="0"
			tooltip="Check to enable function F6 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F7" CV="13" mask="XVXXXXXX"
			default="0"
			tooltip="Check to enable function F7 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F8" CV="13" mask="VXXXXXXX"
			default="0"
			tooltip="Check to enable function F8 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F0(f)" CV="14" mask="XXXXXXXV"
			default="0"
			tooltip="Check to enable function F0(f) when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F0(r)" CV="14" mask="XXXXXXVX"
			default="0"
			tooltip="Check to enable function F0(r) when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F9" CV="14" mask="XXXXXVXX"
			default="0"
			tooltip="Check to enable function F9 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F10" CV="14" mask="XXXXVXXX"
			default="0"
			tooltip="Check to enable function F10 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F11" CV="14" mask="XXXVXXXX"
			default="0"
			tooltip="Check to enable function F11 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Function Status - F12" CV="14" mask="XXVXXXXX"
			default="0"
			tooltip="Check to enable function F12 when the unit is operating in analog power mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="CV Unlock Register (0-7)" CV="15" mask="XXXXXVVV"
			item="Advanced Group 1 Option 1" default="0"
			tooltip="&lt;html&gt;Enter the Lock ID Code to unlock access to the decoder CVs.&lt;br&gt;
				(Tip: Establish the unlock code with CV Lock ID Code)&lt;/html&gt;">
			<decVal/>
		</variable>

		<variable label="CV Lock ID Code (0-7)" CV="16" mask="XXXXXVVV"
			item="Advanced Group 1 Option 2" default="0"
			tooltip="Sets the unlock code that must be entered into the CV Unlock Register in order to access the decoder CVs">
			<decVal/>
		</variable>

		<variable label="Extended Address (0001-9999)" CV="17"
			item="Long Address" default="3"
			tooltip="Sets the Extended (long, 4 digit) address">
			<longAddressVal/>
		</variable>

<!-- Consisting Information follows -->

		<variable label="Consist Address (0-127)" CV="19" mask="XVVVVVVV"
			item="Consist Address" default="0"
			comment="Stores consist address. Range 0-127 (direction set in bit 7)">
			<decVal max="127"/>
		</variable>

		<variable label="Loco Direction In Consist" CV="19" mask="VXXXXXXX"
			item="Consist Direction" default="0"
			comment="A consist address over 127 will also set this bit">
			<enumVal>
				<enumChoice choice="Normal"></enumChoice>
				<enumChoice choice="Reversed"></enumChoice>
			</enumVal>
		</variable>

		<variable label="Consist Address Activation for F1" CV="21" mask="XXXXXXXV"
			item="Consist Address Active For F1" default="0" minFn="1">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
		</variable>

		<variable label="Consist Address Activation for F2" CV="21" mask="XXXXXXVX"
			item="Consist Address Active For F2" default="0" minFn="2">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
		</variable>

		<variable label="Consist Address Activation for F3" CV="21" mask="XXXXXVXX"
			item="Consist Address Active For F3" default="0" minFn="3">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
		</variable>

		<variable label="Consist Address Activation for F4" CV="21" mask="XXXXVXXX"
			item="Consist Address Active For F4" default="0" minFn="4">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
		</variable>

		<variable label="Consist Address Activation for F5" CV="21" mask="XXXVXXXX"
            item="Consist Address Active For F5" default="0" minFn="5">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
        </variable>

		<variable label="Consist Address Activation for F6" CV="21" mask="XXVXXXXX"
            item="Consist Address Active For F6" default="0" minFn="6">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
        </variable>

		<variable label="Consist Address Activation for F7" CV="21" mask="XVXXXXXX"
            item="Consist Address Active For F7" default="0" minFn="7">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
        </variable>

		<variable label="Consist Address Activation for F8" CV="21" mask="VXXXXXXX"
			item="Consist Address Active For F8" default="0" minFn="8">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
		</variable>
				
		<variable label="Consist Address Activation for F0(f) in Forward" CV="22" mask="XXXXXXXV"
			item="Consist Address Active For FL in Forward" default="0">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
		</variable>

		<variable label="Consist Address Activation for F0(r) in Reverse" CV="22" mask="XXXXXXVX"
			item="Consist Address Active For FL in Reverse" default="0">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
		</variable>

		<variable label="Consist Address Activation for F9" CV="22" mask="XXXXXVXX"
			item="Consist Address Active For F9" default="0" minFn="9">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
		</variable>

		<variable label="Consist Address Activation for F10" CV="22" mask="XXXXVXXX"
			item="Consist Address Active For F10" default="0" minFn="10">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
		</variable>

		<variable label="Consist Address Activation for F11" CV="22" mask="XXXVXXXX"
			item="Consist Address Active For F11" default="0" minFn="11">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
		</variable>

		<variable label="Consist Address Activation for F12" CV="22" mask="XXVXXXXX"
			item="Consist Address Active For F12" default="0" minFn="12">
			<enumVal>
				<enumChoice choice="Respond to locomotive address only"/>
				<enumChoice choice="Respond to consist address"/>
			</enumVal>
		</variable>

		<variable label="Consist Acceleration Rate (0-127)" CV="23" mask="XVVVVVVV"
			item="Consist Acceleration Adjustment" default="0"
			comment="Additional consist acceleration (combined with CV3)"
			tooltip="When loco is in a consist, it's base acceleration rate is modified by this amount">
			<decVal max="127"/>
		</variable>

		<variable label="Consist Acceleration Sign" CV="23" mask="VXXXXXXX"
			item="Consist Acceleration Adjustment Sign" default="0">
			<enumVal>
				<enumChoice choice="Add value to base acceleration rate (increases acceleration delay)"/>
				<enumChoice choice="Subtract value from base acceleration rate (decreases acceleration delay)"/>
			</enumVal>
		</variable>

		<variable label="Consist Braking Rate (0-127)" CV="24" mask="XVVVVVVV"
			item="Consist Deceleration Adjustment" default="0"
			comment="Additional consist braking (combined with CV4)"
			tooltip="When loco is in a consist, it's baseline braking rate is modified by this amount">
			<decVal max="127"/>
		</variable>

		<variable label="Consist Braking Sign" CV="24" mask="VXXXXXXX"
			item="Consist Deceleration Adjustment Sign" default="0"
			tooltip="Determines whether value is added to or subtracted from loco baseline braking rate">
			<enumVal>
				<enumChoice choice="Add value to baseline braking rate (increases braking delay)"/>
				<enumChoice choice="Subtract value from baseline braking rate (decreases braking delay)"/>
			</enumVal>
		</variable>

		<variable label="Speed Table Selection" CV="25" mask="XXXVVVVV" default="0"
			tooltip="Select a manufacturers speed curve, or use a curve you define yourself.">
			<enumVal>
				<enumChoice choice="Disabled, Speed Curves not used"/>
				<enumChoice choice="Disabled, Speed Curves not used"/>
				<enumChoice choice="Linear Speed Curve (Straight Line)"/>
				<enumChoice choice="Logarithmic Curve 1"/>
				<enumChoice choice="Logarithmic Curve 2"/>
				<enumChoice choice="Logarithmic Curve 3"/>
				<enumChoice choice="Logarithmic Curve 4"/>
				<enumChoice choice="Logarithmic Curve 5"/>
				<enumChoice choice="Logarithmic Curve 6"/>
				<enumChoice choice="Logarithmic Curve 7"/>
				<enumChoice choice="Exponential Curve 1"/>
				<enumChoice choice="Exponential Curve 2"/>
				<enumChoice choice="Exponential Curve 3"/>
				<enumChoice choice="Exponential Curve 4"/>
				<enumChoice choice="Exponential Curve 5"/>
				<enumChoice choice="Exponential Curve 6"/>
				<enumChoice choice="User Defined Speed Table"/>
			</enumVal>
		</variable>

		<variable label="Locomotive's Normal Direction of Motion" CV="29" mask="XXXXXXXV"
			item="Locomotive Direction" default="0">
			<enumVal>
				<enumChoice choice="Forward"/>
				<enumChoice choice="Reverse"/>
			</enumVal>
		</variable>

		<variable label="Speed Steps" CV="29" mask="XXXXXXVX" 
			item="Speed Step Mode" default="1">
			<enumVal>
				<enumChoice choice="14"/>
				<enumChoice choice="28/128"/>
			</enumVal>
		</variable>

		<variable label="Alternate Power Source Enable" CV="29" mask="XXXXXVXX"
			item="Analog (DC) Operation" default="0">
			<enumVal>
				<enumChoice choice="NMRA Digital Only"/>
				<enumChoice choice="Alternate Power Source Enabled"/>
			</enumVal>
		</variable>

		<variable label="Use Speed Table" CV="29" mask="XXXVXXXX"
			item="Speed Table Definition" default="0">
			<enumVal>
				<enumChoice choice="Use Start Voltage (Vstart)"/>
				<enumChoice choice="Use Speed Table"/>
			</enumVal>
		</variable>

		<variable label="Extended Address Mode" CV="29" mask="XXVXXXXX"
			item="Address Format" default="0">
			<enumVal>
				<enumChoice choice="Use 2 digit address (primary address)"/>
				<enumChoice choice="Use 4 digit address (extended address)"/>
			</enumVal>
		</variable>

		<variable label="CV Lock Enable" CV="30" mask="XXXXXXXV"
			item="Advanced Group 1 Option 3" default="0"
			tooltip="Enable locking of CVs when decoder is used in a multi-decoder installation">
			<enumVal>
				<enumChoice choice="Normal operation (no locking)"/>
				<enumChoice choice="Enable CV Lock as set in CVs 15 and 16"/>
			</enumVal>
		</variable>

		<variable label="CV Clear (CVCLR)" CV="30" mask="XXXXXXVX"
			item="Advanced Group 1 Option 4" default="0"
			tooltip="Tip: To do a one-time decoder reset, use the menu [Reset] selection">
			<enumVal>
				<enumChoice choice="Normal operation"/>
				<enumChoice choice="Reset all CVs to default values at next power cycle"/>
			</enumVal>
		</variable>

		<variable label="Function Group 2 and 3 Exchange" CV="30" mask="XXXXXVXX" 
			item="Advanced Group 1 Option 5" default="0"
			tooltip="Function Group 2 (F5-F8) assignments are swapped with Function Group 3 (F9-F12)">
			<enumVal>
				<enumChoice choice="Normal"/>
				<enumChoice choice="Exchange Group 2 (F5-F8) and Group 3 (F9-F12)"/>
			</enumVal>
		</variable>

<!-- Function Mapping follows -->

		<variable label="FL(f) controls Headlight" CV="33" mask="XXXXXXXV" 
			item="FL(f) controls output 1" minOut="1" default="1">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(f) controls Backup Light" CV="33" mask="XXXXXXVX" 
			item="FL(f) controls output 2" minOut="2" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(f) controls output Air Horn" CV="33" mask="XXXXXVXX" 
			minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(f) controls output Bell" CV="33" mask="XXXXVXXX" 
			minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(f) controls output FX5" CV="33" mask="XXXVXXXX" 
			item="FL(f) controls output 3" minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(f) controls output FX6" CV="33" mask="XXVXXXXX" 
			item="FL(f) controls output 4" minOut="2" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(f) controls output Dynamics" CV="33" mask="XVXXXXXX" 
			minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(f) controls output Short Horn" CV="33" mask="VXXXXXXX" 
			minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="FL(r) controls Headlight" CV="34" mask="XXXXXXXV" 
			item="FL(r) controls output 1" minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(r) controls Backup Light" CV="34" mask="XXXXXXVX" 
			item="FL(r) controls output 2" minOut="2" default="1">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(r) controls output Air Horn" CV="34" mask="XXXXXVXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(r) controls output Bell" CV="34" mask="XXXXVXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(r) controls output FX5" CV="34" mask="XXXVXXXX" 
			item="FL(r) controls output 3" minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(r) controls output FX6" CV="34" mask="XXVXXXXX" 
			item="FL(r) controls output 4" minOut="2" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(r) controls output Dynamics" CV="34" mask="XVXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="FL(r) controls output Short Horn" CV="34" mask="VXXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F1 controls Headlight" CV="35" mask="XXXXXXXV" 
			item="F1 controls output 1"	minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F1 controls Backup Light" CV="35" mask="XXXXXXVX" 
			item="F1 controls output 2"	minOut="2" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F1 controls output Air Horn" CV="35" mask="XXXXXVXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F1 controls output Bell" CV="35" mask="XXXXVXXX" 
			default="1">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F1 controls output FX5" CV="35" mask="XXXVXXXX" 
			item="F1 controls output 3"	minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F1 controls output FX6" CV="35" mask="XXVXXXXX" 
			item="F1 controls output 4"	minOut="2" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F1 controls output Dynamics" CV="35" mask="XVXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F1 controls output Short Horn" CV="35" mask="VXXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F2 controls Headlight" CV="36" mask="XXXXXXXV" 
			item="F2 controls output 1"	minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F2 controls Backup Light" CV="36" mask="XXXXXXVX" 
			item="F2 controls output 2"	minOut="2" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F2 controls output Air Horn" CV="36" mask="XXXXXVXX" 
			default="1">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F2 controls output Bell" CV="36" mask="XXXXVXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F2 controls output FX5" CV="36" mask="XXXVXXXX" 
			item="F2 controls output 3"	minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F2 controls output FX6" CV="36" mask="XXVXXXXX" 
			item="F2 controls output 4"	minOut="2" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F2 controls output Dynamics" CV="36" mask="XVXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F2 controls output Short Horn" CV="36" mask="VXXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F3 controls output Bell" CV="37" mask="XXXXXXXV" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F3 controls output FX5" CV="37" mask="XXXXXXVX" 
			item="F3 controls output 3"	minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F3 controls output FX6" CV="37" mask="XXXXXVXX" 
			item="F3 controls output 4"	minOut="2" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F3 controls output Dynamics" CV="37" mask="XXXXVXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F3 controls output Short Horn" CV="37" mask="XXXVXXXX" 
			default="1">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F3 controls output Fans(+)" CV="37" mask="XVXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F3 controls output Dimming" CV="37" mask="VXXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F4 controls output Bell" CV="38" mask="XXXXXXXV" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F4 controls output FX5" CV="38" mask="XXXXXXVX" 
			item="F4 controls output 3"	minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F4 controls output FX6" CV="38" mask="XXXXXVXX" 
			item="F4 controls output 4"	minOut="2" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F4 controls output Dynamics" CV="38" mask="XXXXVXXX" 
			default="1">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F4 controls output Short Horn" CV="38" mask="XXXVXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F4 controls output Fans(+)" CV="38" mask="XVXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F4 controls output Dimming" CV="38" mask="VXXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F5 controls output Bell" CV="39" mask="XXXXXXXV" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F5 controls output FX5" CV="39" mask="XXXXXXVX" 
			item="F5 controls output 3"	minOut="1" default="1">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F5 controls output FX6" CV="39" mask="XXXXXVXX" 
			item="F5 controls output 4"	minOut="2" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F5 controls output Dynamics" CV="39" mask="XXXXVXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F5 controls output Short Horn" CV="39" mask="XXXVXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F5 controls output Fans(+)" CV="39" mask="XVXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F5 controls output Dimming" CV="39" mask="VXXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F6 controls output Bell" CV="40" mask="XXXXXXXV" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F6 controls output FX5" CV="40" mask="XXXXXXVX" 
			item="F6 controls output 3"	minOut="1" default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F6 controls output FX6" CV="40" mask="XXXXXVXX" 
			item="F6 controls output 4"	minOut="2" default="1">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F6 controls output Dynamics" CV="40" mask="XXXXVXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F6 controls output Short Horn" CV="40" mask="XXXVXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F6 controls output Fans(+)" CV="40" mask="XVXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F6 controls output Dimming" CV="40" mask="VXXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F7 controls output Dynamics" CV="41" mask="XXXXXXXV" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F7 controls output Short Horn" CV="41" mask="XXXXXXVX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F7 controls output Fans(+)" CV="41" mask="XXXXVXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F7 controls output Dimming" CV="41" mask="XXXVXXXX" 
			default="1">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F7 controls output Mute" CV="41" mask="XXVXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F7 controls output Comp(-)" CV="41" mask="XVXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F7 controls output Brakes" CV="41" mask="VXXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F8 controls output Dynamics" CV="42" mask="XXXXXXXV" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F8 controls output Short Horn" CV="42" mask="XXXXXXVX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F8 controls output Fans(+)" CV="42" mask="XXXXVXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F8 controls output Dimming" CV="42" mask="XXXVXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F8 controls output Mute" CV="42" mask="XXVXXXXX" 
			default="1">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F8 controls output Comp(-)" CV="42" mask="XVXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F8 controls output Brakes" CV="42" mask="VXXXXXXX" 
			default="0">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F9 controls output Dynamics" CV="43" mask="XXXXXXXV"
			default="0" minFn="9">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F9 controls output Short Horn" CV="43" mask="XXXXXXVX"
			default="0" minFn="9">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F9 controls output Fans(+)" CV="43" mask="XXXXVXXX"
			default="1" minFn="9">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F9 controls output Dimming" CV="43" mask="XXXVXXXX"
			default="0"  minFn="9">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F9 controls output Mute" CV="43" mask="XXVXXXXX"
			default="0" minFn="9">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F9 controls output Comp(-)" CV="43" mask="XVXXXXXX"
			default="0" minFn="9">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F9 controls output Brakes" CV="43" mask="VXXXXXXX"
			default="0" minFn="9">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F10 controls output Short Horn" CV="44" mask="XXXXXXXV"
			default="0" minFn="10">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F10 controls output Fans(+)" CV="44" mask="XXXXXVXX"
			default="0" minFn="10">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F10 controls output Dimming" CV="44" mask="XXXXVXXX"
			default="0" minFn="10">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F10 controls output Mute" CV="44" mask="XXXVXXXX"
			default="0" minFn="10">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F10 controls output Comp(-)" CV="44" mask="XXVXXXXX"
			default="1" minFn="10">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F10 controls output Brakes" CV="44" mask="XVXXXXXX"
			default="0" minFn="10">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F10 controls output Coupler" CV="44" mask="VXXXXXXX"
			default="0" minFn="10">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F11 controls output Short Horn" CV="45" mask="XXXXXXXV"
			default="0" minFn="11">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F11 controls output Fans(+)" CV="45" mask="XXXXXVXX"
			default="0" minFn="11">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F11 controls output Dimming" CV="45" mask="XXXXVXXX"
			default="0" minFn="11">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F11 controls output Mute" CV="45" mask="XXXVXXXX"
			default="0" minFn="11">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F11 controls output Comp(-)" CV="45" mask="XXVXXXXX"
			default="0" minFn="11">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F11 controls output Brakes" CV="45" mask="XVXXXXXX"
			default="1" minFn="11">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F11 controls output Coupler" CV="45" mask="VXXXXXXX"
			default="0" minFn="11">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>


		<variable label="F12 controls output Short Horn" CV="46" mask="XXXXXXXV"
			default="0" minFn="12">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F12 controls output Fans(+)" CV="46" mask="XXXXXVXX"
			default="0" minFn="12">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F12 controls output Dimming" CV="46" mask="XXXXVXXX"
			default="0" minFn="12">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F12 controls output Mute" CV="46" mask="XXXVXXXX"
			default="0" minFn="12">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F12 controls output Comp(-)" CV="46" mask="XXVXXXXX"
			default="0" minFn="12">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F12 controls output Brakes" CV="46" mask="XVXXXXXX"
			default="0" minFn="12">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

		<variable label="F12 controls output Coupler" CV="46" mask="VXXXXXXX"
			default="1" minFn="12">
			<enumVal> <enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal>
		</variable>

			
			
		<variable label="Analog Horn Control (0-255)" CV="47" mask="XVVVVVVV"
			item="Sound Option 11" default="0"
			tooltip="Value of 0 = Disabled.  See command station instructions for value to enable this feature.">
			<decVal/>
		</variable>

<!-- Lighting Configuration follows -->

		<variable label="Headlight F0(f) Effect Selection" CV="49" mask="XXXXVVVV"
			item="Function F0F effect generated" default="15"
			tooltip="Determines the effect generated from the headlight">
			<enumVal>
				<enumChoice choice="On/Off"/>
				<enumChoice choice="Dimmable headlight"/>
				<enumChoice choice="Mars light"/>
				<enumChoice choice="Pyle Gyralite"/>
				<enumChoice choice="Oscillating headlight"/>
				<enumChoice choice="Single flash strobe"/>
				<enumChoice choice="Double flash strobe"/>
				<enumChoice choice="D312 rotary beacon"/>
				<enumChoice choice="Prime Stratolite"/>
				<enumChoice choice="Type I ditch light"/>
				<enumChoice choice="Type II ditch light"/>
				<enumChoice choice="FRED (end of train flasher)"/>
				<enumChoice choice="Engine exhaust flicker"/>
				<enumChoice choice="Firebox flicker"/>
				<enumChoice choice="Smart firebox flicker"/>
				<enumChoice choice="Dyno-light"/>
			</enumVal>
		</variable>

		<variable label="Headlight F0(f) Phase Selection" CV="49" mask="XXXVXXXX"
			item="Function F0F options"
			tooltip="Alters the timing of the effect so that it's 180 degrees out of phase with the other effects">
			<enumVal>
				<enumChoice choice="Use phase A (normal)"/>
				<enumChoice choice="Use phase B (opposite)"/>
			</enumVal>
		</variable>

		<variable label="Headlight F0(f) Grade Crossing Logic" CV="49" mask="XXVXXXXX"
			item="Function F0F option 2"
			tooltip="Causes the lighting effect to become active only when the horn has been sounded">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled when horn is ON"/>
			</enumVal>
		</variable>

		<variable label="Headlight F0(f) Rule 17 Mode" CV="49" mask="XVXXXXXX"
			item="Function F0F option 3"
			tooltip="&lt;html&gt;Converts the headlight and backup light to independent, non-directional lights.  Headlight&lt;br&gt;
				is controlled as if it were FX5, Function 5 and the backup light as FX6, Function 6.&lt;/html&gt;">
			<enumVal>
				<enumChoice choice="Disabled (Headlight mapping)"/>
				<enumChoice choice="Enabled (FX5 mapping)"/>
			</enumVal>
		</variable>

		<variable label="Headlight F0(f) Light Type" CV="49" mask="VXXXXXXX"
			item="Function F0F option 4"
			tooltip="Provides special compensation for lighting effect contrast when using LEDs">
			<enumVal>
				<enumChoice choice="Incandescent lamp"/>
				<enumChoice choice="LED"/>
			</enumVal>
		</variable>

		<variable label="Backup Light F0(r) Effect Selection" CV="50" mask="XXXXVVVV"
			item="Function F0R effect generated" default="15"
			tooltip="Determines the effect generated from the backup light">
			<enumVal>
				<enumChoice choice="On/Off"/>
				<enumChoice choice="Dimmable backup light"/>
				<enumChoice choice="Mars light"/>
				<enumChoice choice="Pyle Gyralite"/>
				<enumChoice choice="Oscillating backup light"/>
				<enumChoice choice="Single flash strobe"/>
				<enumChoice choice="Double flash strobe"/>
				<enumChoice choice="D312 rotary beacon"/>
				<enumChoice choice="Prime Stratolite"/>
				<enumChoice choice="Type I ditch light"/>
				<enumChoice choice="Type II ditch light"/>
				<enumChoice choice="FRED (end of train flasher)"/>
				<enumChoice choice="Engine exhaust flicker"/>
				<enumChoice choice="Firebox flicker"/>
				<enumChoice choice="Smart firebox flicker"/>
				<enumChoice choice="Dyno-light"/>
			</enumVal>
		</variable>

		<variable label="Backup Light F0(r) Phase Selection" CV="50" mask="XXXVXXXX"
			item="Function F0R options"
			tooltip="Alters the timing of the effect so that it's 180 degrees out of phase with the other effects">
			<enumVal>
				<enumChoice choice="Use phase A (normal)"/>
				<enumChoice choice="Use phase B (opposite)"/>
			</enumVal>
		</variable>

		<variable label="Backup Light F0(r) Grade Crossing Logic" CV="50" mask="XXVXXXXX"
			item="Function F0R option 2"
			tooltip="Causes the lighting effect to become active only when the horn has been sounded">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled when horn is ON"/>
			</enumVal>
		</variable>

		<variable label="Backup Light F0(r) Rule 17 Mode" CV="50" mask="XVXXXXXX"
			item="Function F0R option 3"
			tooltip="&lt;html&gt;Converts the headlight and backup light to independent, non-directional lights.  Headlight&lt;br&gt;
				is controlled as if it were FX5, Function 5 and the backup light as FX6, Function 6.&lt;/html&gt;">
			<enumVal>
				<enumChoice choice="Disabled (Backup Light mapping)"/>
				<enumChoice choice="Enabled (FX6 mapping)"/>
			</enumVal>
		</variable>

		<variable label="Backup Light F0(r) Light Type" CV="50" mask="VXXXXXXX"
			item="Function F0R option 4"
			tooltip="Provides special compensation for lighting effect contrast when using LEDs">
			<enumVal>
				<enumChoice choice="Incandescent lamp"/>
				<enumChoice choice="LED"/>
			</enumVal>
		</variable>

		<variable label="FX5 Effect Selection" CV="51" mask="XXXXVVVV"
			item="Function 1 effect generated" default="1" minOut="3"
			comment="Don't show this for the TSU-750 models"
			tooltip="Determines the effect generated from the FX5 light output">
			<enumVal>
				<enumChoice choice="On/Off"/>
				<enumChoice choice="Dimmable light"/>
				<enumChoice choice="Mars light"/>
				<enumChoice choice="Pyle Gyralite"/>
				<enumChoice choice="Oscillating light"/>
				<enumChoice choice="Single flash strobe"/>
				<enumChoice choice="Double flash strobe"/>
				<enumChoice choice="D312 rotary beacon"/>
				<enumChoice choice="Prime Stratolite"/>
				<enumChoice choice="Type I ditch light"/>
				<enumChoice choice="Type II ditch light"/>
				<enumChoice choice="FRED (end of train flasher)"/>
				<enumChoice choice="Engine exhaust flicker"/>
				<enumChoice choice="Firebox flicker"/>
				<enumChoice choice="Smart firebox flicker"/>
				<enumChoice choice="Dyno-light"/>
			</enumVal>
		</variable>

		<variable label="FX5 Phase Selection" CV="51" mask="XXXVXXXX"
			item="Function 1 options" minOut="3"
			comment="Don't show this for the TSU-750 models"
			tooltip="Alters the timing of the effect so that it's 180 degrees out of phase with the other effects">
			<enumVal>
				<enumChoice choice="Use phase A (normal)"/>
				<enumChoice choice="Use phase B (opposite)"/>
			</enumVal>
		</variable>

		<variable label="FX5 Grade Crossing Logic" CV="51" mask="XXVXXXXX"
			item="Function 1 option 2" minOut="3"
			comment="Don't show this for the TSU-750 models"
			tooltip="Causes the lighting effect to become active only when the horn has been sounded">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled when horn is ON"/>
			</enumVal>
		</variable>

		<variable label="FX5 Light Type" CV="51" mask="VXXXXXXX"
			item="Function 1 option 4" minOut="3"
			comment="Don't show this for the TSU-750 models"
			tooltip="Provides special compensation for lighting effect contrast when using LEDs">
			<enumVal>
				<enumChoice choice="Incandescent lamp"/>
				<enumChoice choice="LED"/>
			</enumVal>
		</variable>

		<variable label="FX6 Effect Selection" CV="52" mask="XXXXVVVV"
			item="Function 2 effect generated" default="1" minOut="4"
			comment="Don't show this for the TSU-750 models"
			tooltip="Determines the effect generated from the FX6 light output">
			<enumVal>
				<enumChoice choice="On/Off"/>
				<enumChoice choice="Dimmable light"/>
				<enumChoice choice="Mars light"/>
				<enumChoice choice="Pyle Gyralite"/>
				<enumChoice choice="Oscillating light"/>
				<enumChoice choice="Single flash strobe"/>
				<enumChoice choice="Double flash strobe"/>
				<enumChoice choice="D312 rotary beacon"/>
				<enumChoice choice="Prime Stratolite"/>
				<enumChoice choice="Type I ditch light"/>
				<enumChoice choice="Type II ditch light"/>
				<enumChoice choice="FRED (end of train flasher)"/>
				<enumChoice choice="Engine exhaust flicker"/>
				<enumChoice choice="Firebox flicker"/>
				<enumChoice choice="Smart firebox flicker"/>
				<enumChoice choice="Dyno-light"/>
			</enumVal>
		</variable>

		<variable label="FX6 Phase Selection" CV="52" mask="XXXVXXXX"
			item="Function 2 options" minOut="4"
			comment="Don't show this for the TSU-750 models"
			tooltip="Alters the timing of the effect so that it's 180 degrees out of phase with the other effects">
			<enumVal>
				<enumChoice choice="Use phase A (normal)"/>
				<enumChoice choice="Use phase B (opposite)"/>
			</enumVal>
		</variable>

		<variable label="FX6 Grade Crossing Logic" CV="52" mask="XXVXXXXX"
			item="Function 2 option 2" minOut="4"
			comment="Don't show this for the TSU-750 models"
			tooltip="Causes the lighting effect to become active only when the horn has been sounded">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled when horn is ON"/>
			</enumVal>
		</variable>

		<variable label="FX6 Light Type" CV="52" mask="VXXXXXXX"
			item="Function 2 option 4" minOut="4"
			comment="Don't show this for the TSU-750 models"
			tooltip="Provides special compensation for lighting effect contrast when using LEDs">
			<enumVal>
				<enumChoice choice="Incandescent lamp"/>
				<enumChoice choice="LED"/>
			</enumVal>
		</variable>

		<variable label="Hyperlight Flash Rate (0-15)" CV="59" mask="XXXXVVVV"
			item="Global lighting option 2" default="3"
			comment="0 is fast, 15 is slow, 4 is recommended for start"
			tooltip="Sets the overall flash rate of the Hyperlight effects">
			<decVal max="15"/>
		</variable>
			
		<variable label="Grade Crossing Hold Time (0-15)" CV="60" mask="XXXXVVVV"
			item="Global lighting option 3" default="4" 
			comment="0-15 seconds"
			tooltip="Sets the time (in seconds) an effect will stay on after the horn button is released">
			<decVal max="15"/>
		</variable>

		<variable label="F11 Braking Rate (0-127)" CV="61" mask="XVVVVVVV"
			item="Advanced Group 1 Option 6" default="0"
			comment="Additional braking when Fll activated (combined with CV4)"
			tooltip="When F11 is pressed, locos baseline braking rate is modified by this amount">
			<decVal max="127"/>
		</variable>

		<variable label="F11 Braking Sign" CV="61" mask="VXXXXXXX"
			item="Advanced Group 1 Option 7" default="0"
			tooltip="Determines whether value is added to or subtracted from loco baseline braking rate">
			<enumVal>
				<enumChoice choice="Add value to baseline braking rate (increases braking delay)"/>
				<enumChoice choice="Subtract value from baseline braking rate (decreases braking delay)"/>
			</enumVal>
		</variable>

		<variable label="Transponding Control" CV="62" mask="XXXXXXXV"
			item="Advanced Group 1 Option 8" default="0"
			tooltip="Compensates for incompatibilities that may occur when using some methods of transponding">
			<enumVal>
				<enumChoice choice="Normal"/>
				<enumChoice choice="External Compatibility Mode"/>
			</enumVal>
		</variable>

		<variable label="Analog Mode Motor Start Voltage (0-255)" CV="63"
			item="Radio Power Conversion" default="20"
			tooltip="Sets the voltage difference between when the decoder first powers up and when the locomotive starts to move">
			<decVal/>
		</variable>

		<variable label="Analog Mode Max Motor Voltage (0-255)" CV="64"
			item="Zero-1 Power Conversion" default="180"
			tooltip="Sets the maximum average voltage applied to the motor when operating in analog mode">
			<decVal/>
		</variable>

		<variable label="Forward Trim (0-255)" CV="66"
			item="Forward Trim" default="128"
			tooltip="&lt;html&gt;Allows the decoders overall throttle response in the forward direction to be adjusted up or down.&lt;br&gt;
				Values 1-127 will decrease motor voltage, 129-255 will increase it.  A value of zero will disable.&lt;br&gt;
				Tip: this feature only active when speed tables are enabled.&lt;/html&gt;">
			<decVal/>
		</variable>

		<variable label="Speed Table" CV="67">
			<speedTableVal/>
		</variable>

		<variable label="Reverse Trim (0-255)" CV="95"
			item="Reverse Trim" default="128"
			tooltip="&lt;html&gt;Allows the decoders overall throttle response in the reverse direction to be adjusted up or down.&lt;br&gt;
				Values 1-127 will decrease motor voltage, 129-255 will increase it.  A value of zero will disable.&lt;br&gt;
				Tip: this feature only active when speed tables are enabled.&lt;/html&gt;">
			<decVal/>
		</variable>

		<variable label="User Identifier #1 (0-255)" CV="105"
			item="User Id #1"
			tooltip="&lt;html&gt;Use to set a custom user ID or number.  Note: when&lt;br&gt;
				the decoder is reset to default values, this CV is&lt;br&gt;
				preset to the softwares minor revision code.&lt;/html&gt;">
			<decVal/>
		</variable>

		<variable label="User Identifier #2 (0-255)" CV="106"
			item="User Id #2"
			tooltip="&lt;html&gt;Use to set a custom user ID or number.  Note: when&lt;br&gt;
				the decoder is reset to default values, this CV is&lt;br&gt;
				preset to the softwares default CV value configuration.&lt;/html&gt;">
			<decVal/>
		</variable>
			
		<variable label="Auto Air Compressor Enable" CV="112" mask="XXXXXXXV"
			item="Sound Option 2" default="0"
			tooltip="If using manual engine notching, set to Automatic as [RPM-] will be using this function">
			<enumVal>
				<enumChoice choice="Turns on and off manually with a mapped function"/>
				<enumChoice choice="Turns on and off automatically with engine sound"/>
			</enumVal>
		</variable>

		<variable label="Auto Radiator Fan Enable" CV="112" mask="XXXXXXVX"
			item="Sound Option 3" default="0"
			tooltip="If using manual engine notching, set to Automatic as [RPM+] will be using this function">
			<enumVal>
				<enumChoice choice="Turns on and off manually with a mapped function"/>
				<enumChoice choice="Turns on and off automatically with engine sound"/>
			</enumVal>
		</variable>

		<variable label="Quiet Mode Timeout Period" CV="113"
			item="Sound Group 3 Option 3" default="0"
			tooltip="&lt;html&gt;When loco has stopped and all functions are turned off, sound effects will turn&lt;br&gt;
				off automatically after timeout period has elapsed.  Set to zero to disable.&lt;/html&gt;">
			<decVal />
		</variable>
			
		<variable label="Bell Ring Rate" CV="114"
			item="Sound Group 3 Option 2" default="4"
			tooltip="Controls the speed at which the bell rings (higher no. = slower rate">
			<decVal max="15"/>
		</variable>


<!-- Airhorn Selection follows -->

		<variable label="Airhorn Select" CV="115" mask="XXXXVVVV"
			item="Sound Option 9" default="9"
			comment="Show these horns for the models (productID) listed below"
			include="827001,827004,827008,827011,827012,827101,827104,827106,827108,828040,828043,828045,828047,828049,828050"
			tooltip="Selects which airhorn to use">
			<enumVal>
				<enumChoice choice="Wabco A2"/>
				<enumChoice choice="Wabco E2"/>
				<enumChoice choice="Leslie A125"/>
				<enumChoice choice="Leslie A200"/>
				<enumChoice choice="Leslie A125+A200"/>
				<enumChoice choice="Leslie S2M"/>
				<enumChoice choice="Leslie S3L"/>
				<enumChoice choice="Leslie S5T"/>
				<enumChoice choice="Nathan K3L"/>
				<enumChoice choice="Nathan M3"/>
				<enumChoice choice="Nathan M5"/>
				<enumChoice choice="Nathan P3"/>
				<enumChoice choice="Nathan P5 (early)"/>
				<enumChoice choice="Holden M3H"/>
				<enumChoice choice="Holden K5H"/>
				<enumChoice choice="Hancock Air Whistle"/>
			</enumVal>
		</variable>

		<variable label="Alternate Airhorn Select" CV="115" mask="VVVVXXXX"
			item="Sound Option 10" default="0"
			comment="Show these horns for the models (productID) listed below"
			include="827001,827004,827008,827011,827012,827101,827104,827106,827108,828040,828043,828045,828047,828049,828050"
			tooltip="Choose an alternate airhorn or a short blast of the primary airhorn">
			<enumVal>
				<enumChoice choice="Short horn blast"/>
				<enumChoice choice="Wabco E2"/>
				<enumChoice choice="Leslie A125"/>
				<enumChoice choice="Leslie A200"/>
				<enumChoice choice="Leslie A125+A200"/>
				<enumChoice choice="Leslie S2M"/>
				<enumChoice choice="Leslie S3L"/>
				<enumChoice choice="Leslie S5T"/>
				<enumChoice choice="Nathan K3L"/>
				<enumChoice choice="Nathan M3"/>
				<enumChoice choice="Nathan M5"/>
				<enumChoice choice="Nathan P3"/>
				<enumChoice choice="Nathan P5 (early)"/>
				<enumChoice choice="Holden M3H"/>
				<enumChoice choice="Holden K5H"/>
				<enumChoice choice="Hancock Air Whistle"/>
			</enumVal>
		</variable>

		<variable label="Airhorn Select" CV="115" mask="XXXXVVVV"
			item="Sound Option 9" default="9"
			comment="Show these horns for the models (productID) listed below"
			include="827105,828044"
			tooltip="Selects which airhorn to use">
			<enumVal>
				<enumChoice choice="Wabco A2"/>
				<enumChoice choice="Wabco E2"/>
				<enumChoice choice="Leslie A200"/>
				<enumChoice choice="Leslie A125+A200"/>
				<enumChoice choice="Leslie S2M"/>
				<enumChoice choice="Leslie S3L"/>
				<enumChoice choice="Leslie RS3L"/>
				<enumChoice choice="Leslie S5T"/>
				<enumChoice choice="Nathan K3L"/>
				<enumChoice choice="Nathan M3"/>
				<enumChoice choice="Nathan M5"/>
				<enumChoice choice="Nathan P3"/>
				<enumChoice choice="Nathan P5 (early)"/>
				<enumChoice choice="Holden M3H"/>
				<enumChoice choice="Holden K5H"/>
				<enumChoice choice="Hancock Air Whistle"/>
			</enumVal>
		</variable>

		<variable label="Alternate Airhorn Select" CV="115" mask="VVVVXXXX"
			item="Sound Option 10" default="0"
			comment="Show these horns for the models (productID) listed below"
			include="827105,828044"
			tooltip="Choose an alternate airhorn or a short blast of the primary airhorn">
			<enumVal>
				<enumChoice choice="Short horn blast"/>
				<enumChoice choice="Wabco E2"/>
				<enumChoice choice="Leslie A200"/>
				<enumChoice choice="Leslie A125+A200"/>
				<enumChoice choice="Leslie S2M"/>
				<enumChoice choice="Leslie S3L"/>
				<enumChoice choice="Leslie RS3L"/>
				<enumChoice choice="Leslie S5T"/>
				<enumChoice choice="Nathan K3L"/>
				<enumChoice choice="Nathan M3"/>
				<enumChoice choice="Nathan M5"/>
				<enumChoice choice="Nathan P3"/>
				<enumChoice choice="Nathan P5 (early)"/>
				<enumChoice choice="Holden M3H"/>
				<enumChoice choice="Holden K5H"/>
				<enumChoice choice="Hancock Air Whistle"/>
			</enumVal>
		</variable>

		<variable label="Airhorn Select" CV="115" mask="XXXXVVVV"
			item="Sound Option 9" default="9"
			comment="Show these horns for the models (productID) listed below"
			include="827102,827107,827109,828041,828046,828048,828051,828056"
			tooltip="Selects which airhorn to use">
			<enumVal>
				<enumChoice choice="Wabco E2"/>
				<enumChoice choice="Leslie A125+A200"/>
				<enumChoice choice="Leslie S3L"/>
				<enumChoice choice="Leslie RS3L"/>
				<enumChoice choice="Leslie S5T"/>
				<enumChoice choice="Leslie RS5T"/>
				<enumChoice choice="Nathan K3L"/>
				<enumChoice choice="Nathan K3LA"/>
				<enumChoice choice="Nathan K5LA"/>
				<enumChoice choice="Nathan M3"/>
				<enumChoice choice="Nathan M5"/>
				<enumChoice choice="Nathan P3"/>
				<enumChoice choice="Nathan P5 (early)"/>
				<enumChoice choice="Nathan P5A"/>
				<enumChoice choice="Holden M3H"/>
				<enumChoice choice="Holden K5H"/>
			</enumVal>
		</variable>

		<variable label="Alternate Airhorn Select" CV="115" mask="VVVVXXXX"
			item="Sound Option 10" default="0"
			comment="Show these horns for the models (productID) listed below"
			include="827102,827107,827109,828041,828046,828048,828051,828056"
			tooltip="Choose an alternate airhorn or a short blast of the primary airhorn">
			<enumVal>
				<enumChoice choice="Short Horn"/>
				<enumChoice choice="Leslie A125+A200"/>
				<enumChoice choice="Leslie S3L"/>
				<enumChoice choice="Leslie RS3L"/>
				<enumChoice choice="Leslie S5T"/>
				<enumChoice choice="Leslie RS5T"/>
				<enumChoice choice="Nathan K3L"/>
				<enumChoice choice="Nathan K3LA"/>
				<enumChoice choice="Nathan K5LA"/>
				<enumChoice choice="Nathan M3"/>
				<enumChoice choice="Nathan M5"/>
				<enumChoice choice="Nathan P3"/>
				<enumChoice choice="Nathan P5 (early)"/>
				<enumChoice choice="Nathan P5A"/>
				<enumChoice choice="Holden M3H"/>
				<enumChoice choice="Holden K5H"/>
			</enumVal>
		</variable>

		<variable label="Airhorn Select" CV="115" mask="XXXXVVVV"
			item="Sound Option 9" default="9"
			comment="Show these horns for the models (productID) listed below"
			include="827103,828042,828052"
			tooltip="Selects which airhorn to use">
			<enumVal>
				<enumChoice choice="Wabco E2"/>
				<enumChoice choice="Leslie S2M"/>
				<enumChoice choice="Leslie S3L"/>
				<enumChoice choice="Leslie RS3L"/>
				<enumChoice choice="Leslie S5T"/>
				<enumChoice choice="Leslie RS5T"/>
				<enumChoice choice="Nathan K3L"/>
				<enumChoice choice="Nathan K3LA"/>
				<enumChoice choice="Nathan K5LA"/>
				<enumChoice choice="Nathan M3"/>
				<enumChoice choice="Nathan M5"/>
				<enumChoice choice="Nathan P3"/>
				<enumChoice choice="Nathan P5 (Modern)"/>
				<enumChoice choice="Nathan P5A"/>
				<enumChoice choice="Holden M3H"/>
				<enumChoice choice="Holden K5H"/>
			</enumVal>
		</variable>

		<variable label="Alternate Airhorn Select" CV="115" mask="VVVVXXXX"
			item="Sound Option 10" default="0"
			comment="Show these horns for the models (productID) listed below"
			include="827103,828042,828052"
			tooltip="Choose an alternate airhorn or a short blast of the primary airhorn">
			<enumVal>
				<enumChoice choice="Short Horn"/>
				<enumChoice choice="Leslie S2M"/>
				<enumChoice choice="Leslie S3L"/>
				<enumChoice choice="Leslie RS3L"/>
				<enumChoice choice="Leslie S5T"/>
				<enumChoice choice="Leslie RS5T"/>
				<enumChoice choice="Nathan K3L"/>
				<enumChoice choice="Nathan K3LA"/>
				<enumChoice choice="Nathan K5LA"/>
				<enumChoice choice="Nathan M3"/>
				<enumChoice choice="Nathan M5"/>
				<enumChoice choice="Nathan P3"/>
				<enumChoice choice="Nathan P5 (Modern)"/>
				<enumChoice choice="Nathan P5A"/>
				<enumChoice choice="Holden M3H"/>
				<enumChoice choice="Holden K5H"/>
			</enumVal>
		</variable>

		<variable label="Horn Select" CV="115" mask="XXXXVVVV"
			item="Sound Option 9" default="0"
			include="827010,827110"
			comment="These are the horns for the Galloping Goose"
			tooltip="Selects which horn to use">
			<enumVal>
				<enumChoice choice="RGS Goose #5"/>
				<enumChoice choice="Modern Auto Horn"/>
				<enumChoice choice="Model T Aah-oogah"/>
				<enumChoice choice="Leslie A125"/>
				<enumChoice choice="Leslie A200"/>
				<enumChoice choice="Leslie A125+A200"/>
				<enumChoice choice="Hancock Air Whistle"/>
				<enumChoice choice="Branta Canadensis"/>
			</enumVal>
		</variable>

		<variable label="Alternate Horn Select" CV="115" mask="VVVVXXXX"
			item="Sound Option 10" default="0"
			include="827010,827110"
			comment="These are the horns for the Galloping Goose"
			tooltip="Choose an alternate horn or a short blast of the primary horn">
			<enumVal>
				<enumChoice choice="Short Horn"/>
				<enumChoice choice="Modern Auto Horn"/>
				<enumChoice choice="Model T Aah-oogah"/>
				<enumChoice choice="Leslie A125"/>
				<enumChoice choice="Leslie A200"/>
				<enumChoice choice="Leslie A125+A200"/>
				<enumChoice choice="Hancock Air Whistle"/>
				<enumChoice choice="Branta Canadensis"/>
			</enumVal>
		</variable>

		<variable label="Auto Engine Start Enable" CV="116" mask="XXVXXXXX"
			item="Sound Option 1" default="1"
			tooltip="&lt;html&gt;Determines whether prime mover will start up automatically or manually&lt;br&gt;
				Note: This feature is not available in all decoders&lt;/html&gt;">
			<enumVal>
				<enumChoice choice="Prime mover starts up at speed step 1"/>
				<enumChoice choice="Prime mover starts up when track is powered on"/>
			</enumVal>
		</variable>

		<variable label="Dynamic Brake Override" CV="116" mask="VVXXXXXX"
			item="Sound Option 4" default="0"
			tooltip="Controls how the dynamic brakes interact with the engine RPMs">
			<enumVal>
				<enumChoice choice="Dynamic Brakes operate independently of engine RPMs"/>
				<enumChoice choice="Turning on Dynamic Brakes forces engine RPMs to drop to idle"/>
				<enumChoice choice="Turning on Dynamic Brakes forces engine RPMs to drop to notch 4"/>
				<enumChoice choice="Turning on Dynamic Brakes forces engine RPMs to full speed"/>
			</enumVal>
		</variable>

		<variable label="Engine RPM Interlock" CV="116" mask="XXXVXXXX"
			item="Sound Option 5" default="0"
			tooltip="When this option AND manual (notching) engine control is enabled, locomotive will not move until engine starts">
			<enumVal>
				<enumChoice choice="Interlock is disabled"/>
				<enumChoice choice="Under manual control, no movement until engine starts"/>
			</enumVal>
		</variable>

		<variable label="Engine Notch Rate" CV="116" mask="XXXXVVVV"
			item="Sound Option 6" default="7"
			tooltip="Controls how the engine RPMs interact with the speed step setting of the throttle">
			<enumVal>
				<enumChoice choice="Manual notching, engine RPM controlled by F10/F9"/>
				<enumChoice choice="Engine RPM increases at each speed step"/>
				<enumChoice choice="Engine RPM increases every 2 speed steps"/>
				<enumChoice choice="Engine RPM increases every 3 speed steps"/>
				<enumChoice choice="Engine RPM increases every 4 speed steps"/>
				<enumChoice choice="Engine RPM increases every 5 speed steps"/>
				<enumChoice choice="Engine RPM increases every 6 speed steps"/>
				<enumChoice choice="Engine RPM increases every 7 speed steps"/>
				<enumChoice choice="Engine RPM increases every 8 speed steps"/>
				<enumChoice choice="Engine RPM increases every 9 speed steps"/>
				<enumChoice choice="Engine RPM increases every 10 speed steps"/>
				<enumChoice choice="Engine RPM increases every 11 speed steps"/>
				<enumChoice choice="Engine RPM increases every 12 speed steps"/>
				<enumChoice choice="Engine RPM increases every 13 speed steps"/>
				<enumChoice choice="Engine RPM increases every 14 speed steps"/>
				<enumChoice choice="Engine RPM increases every 15 speed steps"/>
			</enumVal>
		</variable>

		<variable label="Motor Recovery Speed (0-255)" CV="118"
			item="Advanced Group 2 Option 6" default="204"
			tooltip="&lt;html&gt;Adjust the motor response following a momentary power glitch&lt;br&gt;
				0 or 128 = Disabled&lt;br&gt;
				1-127 = Absolute Limiting (will return to this speed step)&lt;br&gt;
				129-255 = Proportional Limiting (a percentage of set speed)&lt;br&gt;
				Note: This feature is not available in all decoders&lt;/html&gt;">
			<decVal/>
		</variable>


<!-- Volume Controls follow -->

		<variable label="Master Volume Control" CV="128" mask="VVVVVVVV"
			item="Sound Setting 1" default="192"
			tooltip="Sets the overall volume of all sound channels">
			<decVal/>
		</variable>

		<variable label="Airhorn Volume" CV="129" mask="VVVVVVVV"
			item="Sound Setting 13" default="225"
			tooltip="Sets the volume of the airhorn">
			<decVal/>
		</variable>

		<variable label="Bell Volume" CV="130" mask="VVVVVVVV"
			item="Sound Setting 14" default="128"
			tooltip="Sets the volume of the bell">
			<decVal/>
		</variable>

		<variable label="Engine Exhaust Volume" CV="131" mask="VVVVVVVV"
			item="Sound Setting 15" default="180"
			tooltip="Sets the volume of the diesel engine exhaust">
			<decVal/>
		</variable>

		<variable label="Air Compressor Volume" CV="132" mask="VVVVVVVV"
			item="Sound Setting 23" default="100"
			tooltip="Sets the volume of the air compressor">
			<decVal/>
		</variable>

		<variable label="Dynamic Brake Volume" CV="133" mask="VVVVVVVV"
			item="Sound Setting 16" default="92"
			tooltip="Sets the volume of the dynamic brakes">
			<decVal/>
		</variable>

		<variable label="Radiator Fans Volume" CV="134" mask="VVVVVVVV"
			item="Sound Setting 17" default="140"
			tooltip="Sets the volume of the radiator fans">
			<decVal/>
		</variable>

		<variable label="Coupler Volume" CV="137" mask="VVVVVVVV"
			item="Sound Setting 27" default="128"
			tooltip="Sets the volume of the couplers coupling">
			<decVal/>
		</variable>

		<variable label="Brake Squeal Volume" CV="139" mask="VVVVVVVV"
			item="Sound Setting 25" default="128"
			tooltip="Sets the volume of the brakes squealing">
			<decVal/>
		</variable>

		<variable label="Brake Release Volume" CV="140" mask="VVVVVVVV"
			item="Sound Setting 26" default="64"
			tooltip="Sets the volume of the brakes releasing">
			<decVal/>
		</variable>

		<variable label="Air Tank Poppet Valve Volume" CV="143" mask="VVVVVVVV"
			item="Sound Setting 24" default="80"
			tooltip="Sets the volume of the air reservoir poppet valve releasing">
			<decVal/>
		</variable>

<!-- The following sounds CVs (currently) don't map to generic -->
<!-- names, e.g. in the Comprehensive.xml programmer, so they  -->
<!-- appear on pane definitions in this file -->

<!-- Equalizer Controls follow -->

		<variable label="Equalizer Control" CV="153" mask="XXXXXVVV" default="0"
			tooltip="Selects one of six equalizer presets or selects a user adjustable profile">
			<enumVal>
				<enumChoice choice="Flat (off)"/>
				<enumChoice choice="Tiny Speaker (under 1 inch)"/>
				<enumChoice choice="Small Speaker (1-2 inches)"/>
				<enumChoice choice="Medium Speaker (2-4 inches)"/>
				<enumChoice choice="Large Speaker (over 4 inches)"/>
				<enumChoice choice="Edgeport Speaker"/>
				<enumChoice choice="Boom Box"/>
				<enumChoice choice="User Adjustable"/>
			</enumVal>
		</variable>

<!-- Individual Cut/Boost Controls follow -->

		<variable label="62 Hz Cut/Boost" CV="154" mask="VVVVVVVV"
			default="127"
			tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
			<decVal/></variable>
		<variable label="125 Hz Cut/Boost" CV="155" mask="VVVVVVVV"
			default="127"
			tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
			<decVal/></variable>
		<variable label="250 Hz Cut/Boost" CV="156" mask="VVVVVVVV"
			default="127"
			tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
			<decVal/></variable>
		<variable label="500 Hz Cut/Boost" CV="157" mask="VVVVVVVV"
			default="127"
			tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
			<decVal/></variable>
		<variable label="1K Hz Cut/Boost" CV="158" mask="VVVVVVVV"
			default="127"
			tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
			<decVal/></variable>
		<variable label="2K Hz Cut/Boost" CV="159" mask="VVVVVVVV"
			default="127"
			tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
			<decVal/></variable>
		<variable label="4K Hz Cut/Boost" CV="160" mask="VVVVVVVV"
			default="127"
			tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
			<decVal/></variable>


<!-- Reverb Section follows -->

		<variable label="Reverb Control" CV="161" mask="XXXXXVVV" default="0"
			tooltip="Selects one of four reverb presets or selects a user adjustable profile">
			<enumVal>
				<enumChoice choice="Reverb Disabled"/>
				<enumChoice choice="Additional Reverb for Horn"/>
				<enumChoice choice="Light Reverb in Exhaust"/>
				<enumChoice choice="Medium Reverb in Exhaust"/>
				<enumChoice choice="Heavy Reverb in Exhaust"/>
				<enumChoice choice="Reserved (5)"/>
				<enumChoice choice="Reserved (6)"/>
				<enumChoice choice="User Adjustable"/>
			</enumVal>
		</variable>


<!-- Individual Reverb Output Level Controls follow -->

		<variable label="Reverb Output Level" CV="162" mask="VVVVVVVV"
			default="128"
			tooltip="Specifies a percentage of the reverb output that is mixed back into the original audio signal">
			<decVal/>
		</variable>

		<variable label="Reverb Delay" CV="163" mask="VVVVVVVV"
			default="255"
			tooltip="Specifies the total reverb delay time from 0 to 64mS">
			<decVal/>
		</variable>

		<variable label="Reverb Gain" CV="164" mask="VVVVVVVV"
			default="64"
			tooltip="Specifies a percentage of the reverb output that is mixed back into the delay line">
			<decVal/>
		</variable>

		<variable label="Horn Reverb Level" CV="169" mask="VVVVVVVV"
			default="0"
			tooltip="Sets the percentage of the horn signal level to mix into the reverb input">
			<decVal/>
		</variable>

		<variable label="Bell Reverb Level" CV="170" mask="VVVVVVVV"
			default="0"
			tooltip="Sets the percentage of the bell signal level to mix into the reverb input">
			<decVal/>
		</variable>

		<variable label="Engine Exhaust Reverb Level" CV="171" mask="VVVVVVVV"
			default="0"
			tooltip="Sets the percentage of the diesel engine exhaust signal level to mix into the reverb input">
			<decVal/>
		</variable>

		<variable label="Air Compressor Reverb Level" CV="172" mask="VVVVVVVV"
			default="0"
			tooltip="Sets the percentage of the air compressor signal level to mix into the reverb input">
			<decVal/>
		</variable>


<!-- Automatic Sound Controls (ASC) follow -->

		<variable label="Bell-On Set Point" CV="193" mask="XVVVVVVV"
			default="15"
			tooltip="Specifies the throttle speed step where the automatic bell will first turn on">
			<decVal max="127"/>
		</variable>

		<variable label="Bell-Off Set Point" CV="194" mask="XVVVVVVV"
			default="19"
			tooltip="Specifies the throttle speed step where the automatic bell will turn off">
			<decVal max="127"/>
		</variable>

		<variable label="Grade Crossing Airhorn Sensitivity" CV="195" mask="VVVVVVVV"
			default="4"
			tooltip="Specifies the positive rate of throttle change needed to activate the automatic grade crossing horn">
			<decVal/>
		</variable>

		<variable label="Brake Squeal Sensitivity" CV="196" mask="VVVVVVVV"
			default="3"
			tooltip="Specifies the negative rate of throttle change needed to activate the automatic brake squeal">
			<decVal/>
		</variable>

		<variable label="Automatic Grade Crossing Horn Enable (Analog Mode)" CV="197" mask="XXXXXXXV"
			default="0"
			tooltip="Enables the Automatic Grade Crossing Horn in Analog Mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Automatic Horn Signal Enable (Analog Mode)" CV="197" mask="XXXXXXVX"
			default="0"
			tooltip="Enables the Automatic Horn Signal in Analog Mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Automatic Bell Enable (Analog Mode)" CV="197" mask="XXXXXVXX"
			default="0"
			tooltip="Enables the Automatic Bell in Analog Mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Automatic Brake Squeal Enable (Analog Mode)" CV="197" mask="XXXXVXXX"
			default="0"
			tooltip="Enables the Automatic Brake Squeal in Analog Mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Automatic Grade Crossing Horn Enable" CV="198" mask="XXXXXXXV"
			default="0"
			tooltip="Enables the Automatic Grade Crossing Horn in Digital Mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Automatic Horn Signal Enable" CV="198" mask="XXXXXXVX"
			default="0"
			tooltip="Enables the Automatic Horn Signal in Digital Mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Automatic Bell Enable" CV="198" mask="XXXXXVXX"
			default="0"
			tooltip="Enables the Automatic Bell in Digital Mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

		<variable label="Automatic Brake Squeal Enable" CV="198" mask="XXXXVXXX"
			default="0"
			tooltip="Enables the Automatic Brake Squeal in Digital Mode">
			<enumVal>
				<enumChoice choice="Disabled"/>
				<enumChoice choice="Enabled"/>
			</enumVal>
		</variable>

<!-- End of variables for file-specific panes -->

<!-- Advanced Motor Control Features follow -->

		<variable label="Motor Kp Coefficient (0-255)" CV="209" mask="VVVVVVVV"
			item="Advanced Group 2 Option 1" default="25"
			tooltip="Specifies a gain factor for the proportional part of the PID motor control equation">
			<decVal/>
		</variable>

		<variable label="Motor Ki Coefficient (0-255)" CV="210" mask="VVVVVVVV"
			item="Advanced Group 2 Option 2" default="20"
			tooltip="Specifies a gain factor for the integral part of the PID motor control equation">
			<decVal/>
		</variable>

		<variable label="Motor Control Intensity (0-255)" CV="212" mask="VVVVVVVV"
			item="Advanced Group 2 Option 3" default="255"
			tooltip="The CV value is interpreted as n/32 that is fed back from the control loop">
			<decVal/>
		</variable>

		<variable label="Motor Control Sample Period (0-31)" CV="213" mask="VVVVVVVV"
			item="Advanced Group 2 Option 4" default="15"
			tooltip="Specifies the time period in mS (milliseconds) between measurements">
			<decVal max="31"/>
		</variable>

		<variable label="Motor Control Sample Aperture Time (0-255)" CV="214" mask="VVVVVVVV"
			item="Advanced Group 2 Option 5" default="15"
			tooltip="Specifies a gain factor for the derivative part of the PID motor control equation">
			<decVal/>
		</variable>


<!-- highest used so far: -->
<!-- "Advanced Group 1 Option 8" -->
<!-- "Advanced Group 2 Option 6" -->
<!-- "Sound Option 11"  -->
<!-- "Sound Group 1 Option (none yet)" -->
<!-- "Sound Group 2 Option (none yet)" -->
<!-- "Sound Setting 25" -->
	
	</variables>

	<resets>
		<factReset label="Reset all CVs to factory defaults" CV="8" default="8"/>
	</resets>

</decoder>

<pane name="Equalizer">
	<column>
		<row>
			<label label="SEVEN BAND EQUALIZER"/>
		</row>
		<label label=" "/>
		<row>
			<display item="Equalizer Control"/>
		</row>
		<label label=" "/>
		<row>
			<column>
				<row>
					<display item="62 Hz Cut/Boost" layout="above" label=""/>
					<label label=" "/>
					<display item="62 Hz Cut/Boost" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="125 Hz Cut/Boost" layout="above" label=""/>
					<label label=" "/>
					<display item="125 Hz Cut/Boost" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="250 Hz Cut/Boost" layout="above" label=""/>
					<label label=" "/>
					<display item="250 Hz Cut/Boost" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="500 Hz Cut/Boost" layout="above" label=""/>
					<label label=" "/>
					<display item="500 Hz Cut/Boost" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="1K Hz Cut/Boost" layout="above" label=""/>
					<label label=" "/>
					<display item="1K Hz Cut/Boost" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="2K Hz Cut/Boost" layout="above" label=""/>
					<label label=" "/>
					<display item="2K Hz Cut/Boost" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="4K Hz Cut/Boost" layout="above" label=""/>
					<label label=" "/>
					<display item="4K Hz Cut/Boost" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
			</column>
		</row>
	</column>
</pane>

<pane name="Reverb">
	<column>
		<row>
			<label label="REVERB CONTROLS AND MIXER"/>
		</row>
		<label label=" "/>
		<row>
			<display item="Reverb Control"/>
		</row>
		<label label=" "/>
		<row>
			<column>
				<row>
					<display item="Reverb Output Level" layout="above" label=""/>
					<label label=" "/>
					<display item="Reverb Output Level" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="Reverb Delay" layout="above" label=""/>
					<label label=" "/>
					<display item="Reverb Delay" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="Reverb Gain" layout="above" label=""/>
					<label label=" "/>
					<display item="Reverb Gain" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="Horn Reverb Level" layout="above" label=""/>
					<label label=" "/>
					<display item="Horn Reverb Level" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="Bell Reverb Level" layout="above" label=""/>
					<label label=" "/>
					<display item="Bell Reverb Level" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="Engine Exhaust Reverb Level" layout="above" label=""/>
					<label label=" "/>
					<display item="Engine Exhaust Reverb Level" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="Air Compressor Reverb Level" layout="above" label=""/>
					<label label=" "/>
					<display item="Air Compressor Reverb Level" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
			</column>
		</row>
	</column>
</pane>

<pane name="ASC">
	<column>
		<row>
			<label label="AUTOMATIC SOUND CONTROL"/>
		</row>
		<label label=" "/>
		<row>
			<column>
				<display item="Automatic Grade Crossing Horn Enable" format="checkbox"/>
				<display item="Automatic Horn Signal Enable" format="checkbox"/>
				<display item="Automatic Bell Enable" format="checkbox"/>
				<display item="Automatic Brake Squeal Enable" format="checkbox"/>
				<label label=" "/>
			</column>
			<column>
				<label label="          "/>
			</column>
			<column>
				<display item="Automatic Grade Crossing Horn Enable (Analog Mode)" format="checkbox"/>
				<display item="Automatic Horn Signal Enable (Analog Mode)" format="checkbox"/>
				<display item="Automatic Bell Enable (Analog Mode)" format="checkbox"/>
				<display item="Automatic Brake Squeal Enable (Analog Mode)" format="checkbox"/>
				<label label=" "/>
			</column>
		</row>
		<separator/>
		<row>
			<column>
				<label label=" "/>
				<label label="These CVs allow the user to set the parameters"/>
				<label label="for the Automatic Sound Control features."/>
				<label label=" "/>
				<row>
					<display item="Bell-On Set Point" layout="above" label=""/>
					<label label=" "/>
					<display item="Bell-On Set Point" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="Bell-Off Set Point" layout="above" label=""/>
					<label label=" "/>
					<display item="Bell-Off Set Point" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="Grade Crossing Airhorn Sensitivity" layout="above" label=""/>
					<label label=" "/>
					<display item="Grade Crossing Airhorn Sensitivity" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
				<row>
					<display item="Brake Squeal Sensitivity" layout="above" label=""/>
					<label label=" "/>
					<display item="Brake Squeal Sensitivity" layout="above" format="hslider"/>
				</row>
				<label label=" "/>
			</column>
		</row>
	</column>
</pane>

</decoder-config>

 	  	 

 	  	 

