<?xml version="1.0"?>
<!DOCTYPE programmer-config SYSTEM "programmer-config.dtd">

<!-- This file is part of JMRI.  Copyright 2007.                            -->
<!--                                                                        -->
<!-- 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.                                                      -->

<programmer-config>
<!-- $Id: ESU.xml 17977 2011-07-18 17:23:46Z zoo $ -->
		<version author="sip@euronet.nl" 
			version="1.0 beta" lastUpdated="20020810"/>
			<!-- Based on the contribution of many others -->
		
<programmer decoderFilePanes="yes">

	<pane name="Basic">
		<column>
			<dccaddress/>
			<label label=" "/>
			<label label=" "/>
			<display item="Short Address" tooltip="CV 1"/>
			<display item="Long Address" tooltip="CV 17/18"/>
			<display item="Address Format" tooltip="CV 29, bit 5"/>
			<label label=" "/>
			<display item="Locomotive Direction" tooltip="CV 29, bit 0"/>
			<display item="Speed Step Mode" tooltip="CV 29, bit 1"/>
			<display item="Analog (DC) Operation" tooltip="CV 29, bit 2"/>
		</column>
		<column>
<!--			<display item="Decoder Version"/> -->
<!-- 			<display item="Manufacturer"/>    -->
			<label label=" "/>
			<display item="User Id #1" tooltip="CV 105"/>
			<display item="User Id #2" tooltip="CV 106"/>
			<label label=" "/>
		</column>
	</pane>
	
	<pane name="Motor">
		<column>
			<display item="Acceleration" tooltip="CV 3"/>
			<display item="Deceleration" tooltip="CV 4"/>
			<label label=" "/>
			<display item="Forward Trim" tooltip="CV 66"/>
			<display item="Reverse Trim" tooltip="CV 95"/>
			<label label=" "/>
			<display item="Total PWM Period" tooltip="CV 9, read manual"/>
			<separator/>
			<label label="0 = 22kHz, 204 = 87Hz"/> 
		</column>
		<column>
			<display item="BEMF Active" tooltip="CV 49, bit 0"/>
			<label label=" "/>
			<display item="Adjust EMK Voltage" tooltip="CV 56"/>
			<label label=" "/>
			<display item="K Adjustment" tooltip="CV 57"/>
			<display item="I Adjustment" tooltip="CV 58"/>
		</column>
	</pane>
	
	<pane name="Speed Control">
		<column>
			<display item="Speed Table Definition" 
					format="offradiobutton" layout="above" label="CV 29, bit 4"/>
			<row>
				<column>
					<display item="Vstart" layout="below" format="vslider" label=""/>
					<display item="Vstart" layout="below" tooltip="CV 2"/>
				</column>
				<column>
					<display item="Vmid" layout="below" format="vslider" label=""/>
					<display item="Vmid" layout="below" tooltip="CV 6"/>
				</column>
				<column>
					<display item="Vhigh" layout="below" format="vslider" label=""/>
					<display item="Vhigh" layout="below" tooltip="CV 5"/>
				</column>
			</row>
		</column>
		<column>
			<display item="Speed Table Definition" 
					format="onradiobutton" layout="above" label=""/>
			<display item="Speed Table" layout="above" label="CV 67-94"/>
		</column>
	</pane>

	<pane name="Function/Output Map">
		<column>
			<fnmapping/>
		</column>
	</pane>

	<pane name="Output Handling">
		<column>
			<label label="F-9(r) Key Output Control" />
			<separator/>
			<display item="F9(r) controls output 6" format="checkbox" label="Soundslot 1" tooltip="CV 47, bit 0" />
			<display item="F9(r) controls output 7" format="checkbox" label="Soundslot 2" tooltip="CV 47, bit 1" />
			<display item="F9(r) controls output 8" format="checkbox" label="Soundslot 3" tooltip="CV 47, bit 2" />
			<display item="F9(r) controls output 9" format="checkbox" label="Soundslot 4" tooltip="CV 47, bit 3" />
			<display item="F9(r) controls output 10" format="checkbox" label="Soundslot 5" tooltip="CV 47, bit 4" />
			<display item="F9(r) controls output 11" format="checkbox" label="Soundslot 6" tooltip="CV 47, bit 5" />
			<display item="F9(r) controls output 12" format="checkbox" label="Soundslot 7" tooltip="CV 47, bit 6" />
			<display item="F9(r) controls output 13" format="checkbox" label="Soundslot 8" tooltip="CV 47, bit 7" />
			<label label=" " />
			<label label="F-10(r) Key Output Control" />
			<separator/>
			<display item="F10(r) controls output 6" format="checkbox" label="Soundslot 1" tooltip="CV 48, bit 0" />
			<display item="F10(r) controls output 7" format="checkbox" label="Soundslot 2" tooltip="CV 48, bit 1" />
			<display item="F10(r) controls output 8" format="checkbox" label="Soundslot 3" tooltip="CV 48, bit 2" />
			<display item="F10(r) controls output 9" format="checkbox" label="Soundslot 4" tooltip="CV 48, bit 3" />
			<display item="F10(r) controls output 10" format="checkbox" label="Soundslot 5" tooltip="CV 48, bit 4" />
			<display item="F10(r) controls output 11" format="checkbox" label="Soundslot 6" tooltip="CV 48, bit 5" />
			<display item="F10(r) controls output 12" format="checkbox" label="Soundslot 7" tooltip="CV 48, bit 6" />
			<display item="F10(r) controls output 13" format="checkbox" label="Soundslot 8" tooltip="CV 48, bit 7" />
		</column>
	</pane>

	<pane name="Lights">
		<column>
			<display item="Blink Rate" tooltip="CV 121" />
		</column>
		<column>
			<display item="Brightness Head Lights" tooltip="CV 113, bits 0-3"/>
			<display item="Output Configuration Head Lights" tooltip="CV 113, bits 4 and 5"/>
			<separator/>
			<display item="Brightness Back Lights" tooltip="CV 114, bits 0-3"/>
			<display item="Output Configuration Back Lights" tooltip="CV 114, bits 4 and 5"/>
			<separator/>
			<display item="Brightness AUX" tooltip="CV 115, bits 0-3"/>
			<display item="Output Configuration AUX" tooltip="CV 115, bits 4 and 5"/>
		</column>
	</pane>

	<pane name="Consist">
		<column>
			<display item="Consist Address" tooltip="CV 19" />
			<separator/>
			<label label="Will decoder respond to function requests at consist address?"/>
			<separator/>
			<display item="Consist Acceleration Adjustment" tooltip="CV 23, bits 0-6" />
			<display item="Consist Acceleration Adjustment Sign" tooltip="CV 23, bit 7"/>
			<display item="Consist Deceleration Adjustment" tooltip="CV 24, bits 0-6" />
			<display item="Consist Deceleration Adjustment Sign" tooltip="CV 24, bit 7" />
		</column>
	</pane>
	
	<pane name="Advanced">
		<column>
			<display item="Packet Time-out Value" tooltip="CV 11" />
		</column>
		<column>
			<display item="Analog Vstart" tooltip="CV 60"/>
		</column>
		<column>
			<label label="Analog Mode Functions F1-F8" />
			<separator/>
			<display item="Analog Mode Function Status - F1" format="checkbox" label="F-1" tooltip="CV 13, bit 0"/>			
			<display item="Analog Mode Function Status - F2" format="checkbox" label="F-2" tooltip="CV 13, bit 1"/>			
			<display item="Analog Mode Function Status - F3" format="checkbox" label="F-3" tooltip="CV 13, bit 2"/>			
			<display item="Analog Mode Function Status - F4" format="checkbox" label="F-4" tooltip="CV 13, bit 3"/>			
			<display item="Analog Mode Function Status - F5" format="checkbox" label="F-5" tooltip="CV 13, bit 4"/>			
			<display item="Analog Mode Function Status - F6" format="checkbox" label="F-6" tooltip="CV 13, bit 5"/>			
			<display item="Analog Mode Function Status - F7" format="checkbox" label="F-7" tooltip="CV 13, bit 6"/>			
			<display item="Analog Mode Function Status - F8" format="checkbox" label="F-8" tooltip="CV 13, bit 7"/>			
			<label label=" "/>
			<label label="Analog Mode Functions F0, F9-F12" />
			<separator/>
			<display item="Analog Mode Function Status - F0(f)" format="checkbox" label="F-0(f)" tooltip="CV 14, bit 0"/>			
			<display item="Analog Mode Function Status - F0(r)" format="checkbox" label="F-0(r)" tooltip="CV 14, bit 1"/>			
			<display item="Analog Mode Function Status - F9(f)" format="checkbox" label="F-9(f)" tooltip="CV 14, bit 2"/>			
			<display item="Analog Mode Function Status - F10(f)" format="checkbox" label="F-10(f)" tooltip="CV 14, bit 3"/>			
			<display item="Analog Mode Function Status - F11" format="checkbox" label="F-11" tooltip="CV 14, bit 4"/>			
			<display item="Analog Mode Function Status - F12" format="checkbox" label="F-12" tooltip="CV 14, bit 5"/>			
			<display item="Analog Mode Function Status - F9(r)" format="checkbox" label="F-9(r)" tooltip="CV 14, bit 6"/>			
			<display item="Analog Mode Function Status - F10(r)" format="checkbox" label="F-10(r)" tooltip="CV 14, bit 7"/>		
		</column>
		<column>
			<display item="Signal Dependent Acceleration" tooltip="CV 61" />
			<display item="Signal Dependent Deceleration" tooltip="CV 62" />
			<label label=" " />
			<display item="ZIMO Signal Dependence Active" tooltip="CV 49, bit 2" />
		</column>		
	</pane>
	
	<pane name="Sound">
		<column>
			<display item="Minimum Incidental Sound RPM" tooltip="CV 50"/>
			<display item="Maximum Incidental Sound RPM" tooltip="CV 51"/>
			<label label=" "/>
			<display item="Sound Mode 1" tooltip="CV 52"/>
			<display item="Sound Mode 2" tooltip="CV 53"/>
			<label label=" "/>
			<display item="Minimum Incidental Sound Interval" tooltip="CV 54"/>
			<display item="Maximum Incidental Sound Interval" tooltip="CV 54"/>
			<label label=" "/>
			<display item="Braking Noise Start" tooltip="CV 112"/>
		</column>
	</pane>

	<pane name="Sound Levels">
			<column>
				<display item="Sound Level" tooltip="CV 63"/>
			</column>
	</pane>

	<pane name="CVs">
		<column>
			<cvtable/>
		</column>
	</pane>

</programmer>
</programmer-config>

