<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2002, 2004, 2007, 2015 All rights reserved -->
<!--                                                                         -->
<!-- JMRI is free software; you can redistribute it and/or modify it under   -->
<!-- the terms of version 2 of the GNU General Public License as published   -->
<!-- by the Free Software Foundation. See the "COPYING" file for a copy      -->
<!-- of this license.                                                        -->
<!--                                                                         -->
<!-- JMRI is distributed in the hope that it will be useful, but WITHOUT     -->
<!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or   -->
<!-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License    -->
<!-- for more details. -->
<decoder-config xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder-4-15-2.xsd"
                showEmptyPanes="no">

    <version author="Bob Milhaupt" version="1" lastUpdated="20180102" />

    <decoder>

        <family name="Command Stations" mfg="Digitrax">
            <model model="DCS50"/>
            <model model="DCS51"/>
        </family>

        <programming direct="no" paged="no" register="no" ops="no">
            <mode>LOCONETCSOPSWMODE</mode>
        </programming>

        <variables>
            <variable CV="csOpSw.01" item="OpSw 1" default="0">
                <enumVal>
                    <enumChoice>
                        <choice>Two Jump Ports *</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>One Jump Port</choice>
                    </enumChoice>
                </enumVal>
                <label>The DCS5x throttle implements</label>
                <tooltip>OpSw01</tooltip>
            </variable>

            <variable CV="csOpSw.02" item="OpSw 2" default="0">
                <enumVal>
                    <enumChoice>
                        <choice>Command Station and Throttle and Booster*</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>Booster and Throttle</choice>
                    </enumChoice>
                </enumVal>
                <label>Device acts as a</label>
                <tooltip>OpSw02</tooltip>
            </variable>
            <variable CV="csOpSw.03" item="OpSw 3" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-disabledStarEnabled.xml"/>
                <label>AutoReversing Mode is</label>
                <tooltip>OpSw03</tooltip>
            </variable>

            <variable CV="csOpSw.04" item="OpSw 4" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw04</label>
                <tooltip>OpSw04</tooltip>
            </variable>

            <variable CV="csOpSw.05" item="OpSw 5" default="1">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-enabledDisabledStar.xml"/>
                <label>VMax, ThrottleID and Brake Rate changes are</label>
                <tooltip>OpSw05</tooltip>
            </variable>

            <variable CV="csOpSw.06" item="OpSw 6" default="0">
                <enumVal>
                    <enumChoice>
                        <choice>Latching (push-on, push-off)*</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>Non-Latching (momentary)</choice>
                    </enumChoice>
                </enumVal>
                <label>Function 3 is</label>
                <tooltip>OpSw06</tooltip>
            </variable>

            <variable CV="csOpSw.07" item="OpSw 7" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-disabledStarEnabled.xml"/>
                <label>"Blast" Mode programming is</label>
                <tooltip>Blast-mode programming on the service-mode programming track improves the ability to read and write some decoders</tooltip>
            </variable>

            <variable CV="csOpSw.08" item="OpSw 8" default="0" readOnly="yes" infoOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw08</label>
                <tooltip>OpSw08</tooltip>
            </variable>

            <variable CV="csOpSw.09" item="OpSw 9" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw09</label>
                <tooltip>OpSw09</tooltip>
            </variable>

            <variable CV="csOpSw.10" item="OpSw 10(DCS50)" default="0" exclude="DCS51">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw10</label>
                <tooltip>OpSw10</tooltip>
            </variable>

            <variable CV="csOpSw.11" item="OpSw 11(DCS50)" default="0" exclude="DCS51">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw11</label>
                <tooltip>OpSw11</tooltip>
            </variable>

            <variable CV="csOpSw.11" item="OpSw 11" default="0" exclude="DCS50">
                <enumVal>
                    <enumChoice>
                        <choice>addresses as defined in OpSw10 *</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>up to 8 previously-used addresses</choice>
                    </enumChoice>
                </enumVal>
            </variable>

            <variable CV="csOpSw.10" item="OpSw 10" default="0" exclude="DCS50">
                <qualifier>
                    <variableref>OpSw 11</variableref>
                    <relation>eq</relation>
                    <value>0</value>
                </qualifier>
                <enumVal>
                    <enumChoice>
                        <choice>2 previously-used addresses *</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>4 previously-used addresses</choice>
                    </enumChoice>
                </enumVal>
            </variable>

            <variable item="RecallDepth" include="DCS51" exclude="DCS50">
                <compositeVal>
                    <compositeChoice choice="up to 2 addresses *">
                        <compositeSetting label="OpSw 10" value="0"/>
                        <compositeSetting label="OpSw 11" value="0"/>
                    </compositeChoice>
                    <compositeChoice choice="up to 4 addresses">
                        <compositeSetting label="OpSw 10" value="1"/>
                        <compositeSetting label="OpSw 11" value="0"/>
                    </compositeChoice>
                    <compositeChoice choice="up to 8 addresses">
                        <compositeSetting label="OpSw 10" value="0"/>
                        <compositeSetting label="OpSw 11" value="1"/>
                    </compositeChoice>
                    <compositeChoice choice="up to 8 addresses">
                        <compositeSetting label="OpSw 10" value="1"/>
                        <compositeSetting label="OpSw 11" value="1"/>
                    </compositeChoice>
                </compositeVal>
                <label>DCS51 Throttle remembers</label>
                <tooltip>OpSw10 and OpSw11</tooltip>
            </variable>

            <variable CV="csOpSw.12" item="OpSw 12" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw12</label>
                <tooltip>OpSw12</tooltip>
            </variable>

            <variable CV="csOpSw.14" item="OpSw 14" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-enabledStarDisabled.xml"/>
                <label>Command Station Slot "Purge"</label>
                <tooltip>OpSw14</tooltip>
            </variable>

            <variable CV="csOpSw.13" item="OpSw 13" default="0">
                <qualifier>
                    <variableref>OpSw 14</variableref>
                    <relation>eq</relation>
                    <value>0</value>
                </qualifier>
                <enumVal>
                    <enumChoice>
                        <choice>200 seconds *</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>600 seconds</choice>
                    </enumChoice>
                </enumVal>
                <label>Command Station Slot "Purge" Time</label>
                <tooltip>OpSw13</tooltip>
            </variable>

            <variable CV="csOpSw.15" item="OpSw 15" default="0">
                <qualifier>
                    <variableref>OpSw 14</variableref>
                    <relation>eq</relation>
                    <value>0</value>
                </qualifier>
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-disabledStarEnabled.xml"/>
                <label>"Purge" forces loco speed to 0</label>
                <tooltip>OpSw15</tooltip>
            </variable>

            <variable CV="csOpSw.16" item="OpSw 16" default="0" readOnly="yes" infoOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw16</label>
                <tooltip>OpSw16</tooltip>
            </variable>

            <variable CV="csOpSw.17" item="OpSw 17" default="1">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-enabledDisabledStar.xml"/>
                <label>Automatic Advanced Decoder-Assisted consisting is</label>
                <tooltip>OpSw17</tooltip>
            </variable>

            <variable CV="csOpSw.18" item="OpSw 18" default="0">
                <enumVal>
                    <enumChoice>
                        <choice>1/8 second *</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>1/2 second</choice>
                    </enumChoice>
                </enumVal>
                <label>Short-Circuit Shutdown Time is</label>
                <tooltip>OpSw18</tooltip>
            </variable>

            <variable CV="csOpSw.19" item="OpSw 19" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw19</label>
                <tooltip>OpSw19</tooltip>
            </variable>

            <variable CV="csOpSw.20" item="OpSw 20" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-enabledStarDisabled.xml"/>
                <label>Address 00 (Analog stretching) is</label>
                <tooltip>OpSw20</tooltip>
            </variable>

            <variable CV="csOpSw.21" item="OpSw 21" default="0">
                <enumVal>
                    <enumChoice>
                        <choice>Normal *</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>Alternate</choice>
                    </enumChoice>
                </enumVal>
            </variable>

            <variable CV="csOpSw.22" item="OpSw 22" default="0">
                <enumVal>
                    <enumChoice>
                        <choice>Normal *</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>Alternate</choice>
                    </enumChoice>
                </enumVal>
            </variable>

            <variable CV="csOpSw.23" item="OpSw 23" default="0">
                <enumVal>
                    <enumChoice>
                        <choice>Normal *</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>Alternate</choice>
                    </enumChoice>
                </enumVal>
            </variable>

            <variable item="Default New Loco Mode">
                <compositeVal>
                    <compositeChoice choice="128 Speed-steps (t/t/t)*">
                        <compositeSetting label="OpSw 21" value="0"/>
                        <compositeSetting label="OpSw 22" value="0"/>
                        <compositeSetting label="OpSw 23" value="0"/>
                    </compositeChoice>
                    <compositeChoice choice="128 Speed-steps (&quot;FX-mode&quot; advanced consisting) (t/t/c)">
                        <compositeSetting label="OpSw 21" value="0"/>
                        <compositeSetting label="OpSw 22" value="0"/>
                        <compositeSetting label="OpSw 23" value="1"/>
                    </compositeChoice>
                    <compositeChoice choice="14 Speed-steps (c/t/t)">
                        <compositeSetting label="OpSw 21" value="1"/>
                        <compositeSetting label="OpSw 22" value="0"/>
                        <compositeSetting label="OpSw 23" value="0"/>
                    </compositeChoice>
                    <compositeChoice choice="28 Speed-steps (c/c/t)">
                        <compositeSetting label="OpSw 21" value="1"/>
                        <compositeSetting label="OpSw 22" value="1"/>
                        <compositeSetting label="OpSw 23" value="0"/>
                    </compositeChoice>
                    <compositeChoice choice="Motorola Trinary (t/c/t)">
                        <compositeSetting label="OpSw 21" value="0"/>
                        <compositeSetting label="OpSw 22" value="1"/>
                        <compositeSetting label="OpSw 23" value="0"/>
                    </compositeChoice>
                    <compositeChoice choice="Undefined (c/t/c)">
                        <compositeSetting label="OpSw 21" value="1"/>
                        <compositeSetting label="OpSw 22" value="0"/>
                        <compositeSetting label="OpSw 23" value="1"/>
                    </compositeChoice>
                    <compositeChoice choice="Undefined (t/c/c)">
                        <compositeSetting label="OpSw 21" value="0"/>
                        <compositeSetting label="OpSw 22" value="1"/>
                        <compositeSetting label="OpSw 23" value="1"/>
                    </compositeChoice>
                    <compositeChoice choice="28 Speed-Steps (&quot;FX-mode&quot; advanced consisting) (c/c/c)">
                        <compositeSetting label="OpSw 21" value="1"/>
                        <compositeSetting label="OpSw 22" value="1"/>
                        <compositeSetting label="OpSw 23" value="1"/>
                    </compositeChoice>
                </compositeVal>
                <label>Global System Loco "Speed-step Mode" Default for New Loco Acquisition</label>
                <tooltip>OpSw21, OpSw22, OpSw23</tooltip>
            </variable>

            <variable CV="csOpSw.24" item="OpSw 24" default="0" readOnly="yes" infoOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw24</label>
                <tooltip>OpSw24</tooltip>
            </variable>

            <variable CV="csOpSw.25" item="OpSw 25" default="1">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalReservedStar.xml"/>
                <label>OpSw25</label>
                <tooltip>OpSw25</tooltip>
            </variable>

            <variable CV="csOpSw.26" item="OpSw 26" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw26</label>
                <tooltip>OpSw26</tooltip>
            </variable>

            <variable CV="csOpSw.27" item="OpSw 27" default="0">
                <enumVal>
                    <enumChoice>
                        <choice>are forwarded to the DCC Track Signal *</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>are not forwarded to the DCC track signal</choice>
                    </enumChoice>
                </enumVal>
                <label>Throttle Switch Control Messages</label>
                <tooltip>OpSw27 - the "Bushby" bit</tooltip>
            </variable>

            <variable CV="csOpSw.28" item="OpSw 28" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-enabledStarDisabled.xml"/>
                <label>Switch and Sensor Interrogation Messages at Power-Up are</label>
                <tooltip>OpSw28</tooltip>
            </variable>

            <variable CV="csOpSw.29" item="OpSw 29" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw29</label>
                <tooltip>OpSw29</tooltip>
            </variable>

            <variable CV="csOpSw.30" item="OpSw 30" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw30</label>
                <tooltip>OpSw30</tooltip>
            </variable>

            <variable CV="csOpSw.31" item="OpSw 31" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw31</label>
                <tooltip>OpSw31</tooltip>
            </variable>

            <variable CV="csOpSw.32" item="OpSw 32" default="0" readOnly="yes" infoOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw32</label>
                <tooltip>OpSw32</tooltip>
            </variable>

            <variable CV="csOpSw.33" item="OpSw 33" default="1">
                <enumVal>
                    <enumChoice>
                        <choice>will not restore to prior state at power-on</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>will restore to prior state at power-on *</choice>
                    </enumChoice>
                </enumVal>
                <label>Track Power</label>
                <tooltip>OpSw33</tooltip>
            </variable>

            <variable CV="csOpSw.34" item="OpSw 34" default="1">
                <enumVal>
                    <enumChoice>
                        <choice>Restores to "Idle" state</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>Restores to "Run" state if was in "Run" state at power-down *</choice>
                    </enumChoice>
                </enumVal>
                <label>Track Power</label>
                <tooltip>OpSw34</tooltip>
            </variable>

            <variable CV="csOpSw.35" item="OpSw 35" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw35</label>
                <tooltip>OpSw35</tooltip>
            </variable>

            <variable CV="csOpSw.36" item="OpSw 36" default="0">
                <enumVal>
                    <enumChoice>
                        <choice>Normal *</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>Clear all mobile decoder and consist info (see Note)</choice>
                    </enumChoice>
                </enumVal>
                <label>OpSw36</label>
                <tooltip>OpSw36 - May require power-cycle to take effect</tooltip>
            </variable>

            <variable CV="csOpSw.37" item="OpSw 37" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw37</label>
                <tooltip>OpSw37</tooltip>
            </variable>

            <variable CV="csOpSw.38" item="OpSw 38" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw38</label>
                <tooltip>OpSw38</tooltip>
            </variable>

            <variable CV="csOpSw.39" item="OpSw 39" default="0">
                <enumVal>
                    <enumChoice>
                        <choice>Normal *</choice>
                    </enumChoice>
                    <enumChoice>
                        <choice>Clears all Command Station Internal memory and status (see Note)</choice>
                    </enumChoice>
                </enumVal>
                <label>OpSw39</label>
                <tooltip>OpSw39 - May require power-cycle to take effect</tooltip>
            </variable>

            <variable CV="csOpSw.40" item="OpSw 40" default="0" readOnly="yes" infoOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw40</label>
                <tooltip>OpSw40</tooltip>
            </variable>

            <variable CV="csOpSw.41" item="OpSw 41" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw41</label>
                <tooltip>OpSw41</tooltip>
            </variable>

            <variable CV="csOpSw.42" item="OpSw 42" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw42</label>
                <tooltip>OpSw42</tooltip>
            </variable>

            <variable CV="csOpSw.43" item="OpSw 43" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-enabledStarDisabled.xml"/>
                <label>LocoNet Update of Command Station's Track Status is</label>
                <tooltip>OpSw43</tooltip>
            </variable>

            <variable CV="csOpSw.44" item="OpSw 44" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw44</label>
                <tooltip>OpSw44</tooltip>
            </variable>

            <variable CV="csOpSw.45" item="OpSw 45" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-enabledStarDisabled.xml"/>
                <label>Command Station Switch State Reply is</label>
                <tooltip>OpSw45</tooltip>
            </variable>

            <variable CV="csOpSw.46" item="OpSw 46" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw46</label>
                <tooltip>OpSw46</tooltip>
            </variable>

            <variable CV="csOpSw.47" item="OpSw 47" default="0">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw47</label>
                <tooltip>OpSw47</tooltip>
            </variable>

            <variable CV="csOpSw.48" item="OpSw 48" default="0" readOnly="yes" infoOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw48</label>
                <tooltip>OpSw48</tooltip>
            </variable>

            <variable CV="csOpSw.49" item="OpSw 49" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw49</label>
                <tooltip>OpSw49</tooltip>
            </variable>

            <variable CV="csOpSw.50" item="OpSw 50" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw50</label>
                <tooltip>OpSw50</tooltip>
            </variable>

            <variable CV="csOpSw.51" item="OpSw 51" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw51</label>
                <tooltip>OpSw51</tooltip>
            </variable>

            <variable CV="csOpSw.52" item="OpSw 52" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw52</label>
                <tooltip>OpSw52</tooltip>
            </variable>

            <variable CV="csOpSw.53" item="OpSw 53" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw53</label>
                <tooltip>OpSw53</tooltip>
            </variable>

            <variable CV="csOpSw.54" item="OpSw 54" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw54</label>
                <tooltip>OpSw54</tooltip>
            </variable>

            <variable CV="csOpSw.55" item="OpSw 55" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw55</label>
                <tooltip>OpSw55</tooltip>
            </variable>

            <variable CV="csOpSw.56" item="OpSw 56" default="0" readOnly="yes" infoOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw56</label>
                <tooltip>OpSw56</tooltip>
            </variable>

            <variable CV="csOpSw.57" item="OpSw 57" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw57</label>
                <tooltip>OpSw57</tooltip>
            </variable>

            <variable CV="csOpSw.58" item="OpSw 58" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw58</label>
                <tooltip>OpSw58</tooltip>
            </variable>

            <variable CV="csOpSw.59" item="OpSw 59" default="1" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw59</label>
                <tooltip>OpSw59</tooltip>
            </variable>

            <variable CV="csOpSw.60" item="OpSw 60" default="1" readOnly="yes" exclude="DCS50">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw60</label>
                <tooltip>OpSw60</tooltip>
            </variable>

            <variable CV="csOpSw.60" item="OpSw 60" default="0" readOnly="yes" exclude="DCS51">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw60</label>
                <tooltip>OpSw60</tooltip>
            </variable>

            <variable CV="csOpSw.61" item="OpSw 61" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw61</label>
                <tooltip>OpSw61</tooltip>
            </variable>

            <variable CV="csOpSw.62" item="OpSw 62" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw62</label>
                <tooltip>OpSw62</tooltip>
            </variable>

            <variable CV="csOpSw.63" item="OpSw 63" default="0" readOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw63</label>
                <tooltip>OpSw63</tooltip>
            </variable>

            <variable CV="csOpSw.64" item="OpSw 64" default="0" readOnly="yes" infoOnly="yes">
                <xi:include href="http://jmri.org/xml/decoders/digitrax/enum-normalStarReserved.xml"/>
                <label>OpSw64</label>
                <tooltip>OpSw64</tooltip>
            </variable>
        </variables>
    </decoder>
    <pane>
        <name>Basic</name>
        <column>
            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;h3&gt;&lt;strong&gt;
                    Basic Operating Mode&lt;/strong&gt;&lt;/h3&gt;&lt;/html&gt;</text>
            </label>
            <display item="OpSw 2"/>
            <display item="OpSw 3"/>
            <display item="OpSw 5"/>

            <separator/>

            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;h3&gt;&lt;strong&gt;
                    Slot "Purging" Management&lt;/strong&gt;&lt;/h3&gt;&lt;/html&gt;</text>
            </label>

            <display item="OpSw 14"/>
            <display item="OpSw 13"/>
            <display item="OpSw 15"/>

            <separator/>

            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;h3&gt;&lt;strong&gt;
                    Locomotive and Slot Management&lt;/strong&gt;&lt;/h3&gt;&lt;/html&gt;</text>
            </label>

            <display item="OpSw 17"/>
            <separator/>

            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;h3&gt;&lt;strong&gt;
                    New Locomotive Management&lt;/strong&gt;&lt;/h3&gt;&lt;/html&gt;</text>
            </label>

            <display item="Default New Loco Mode"/>

            <separator/>

            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;h3&gt;&lt;strong&gt;
                    Switch Control Message Management&lt;/strong&gt;&lt;/h3&gt;&lt;/html&gt;</text>
            </label>

            <display item="OpSw 27"/>
            <display item="OpSw 28"/>
            <display item="OpSw 45"/>

            <separator/>

            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;h3&gt;&lt;strong&gt;
                    LocoNet Track Status Management&lt;/strong&gt;&lt;/h3&gt;&lt;/html&gt;</text>
            </label>

            <display item="OpSw 43"/>

            <separator/>
            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;h3&gt;&lt;strong&gt;
                    Throttle Management&lt;/strong&gt;&lt;/h3&gt;&lt;/html&gt;</text>
            </label>

            <display item="OpSw 1"/>
            <display item="OpSw 6"/>
            <group include="DCS51">
                <display item="RecallDepth"/>
            </group>

            <label>
                <text> </text>
            </label>
            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;
                &lt;strong&gt;* - Indicates the "Factory Default" setting
                &lt;/strong&gt;&lt;/html&gt;</text>
            </label>
        </column>
    </pane>

    <pane>
        <name>Track Outputs Control</name>
        <column>

            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;h3&gt;&lt;strong&gt;
                    Track Output Management&lt;/strong&gt;&lt;/h3&gt;&lt;/html&gt;</text>
            </label>

            <display item="OpSw 18"/>
            <display item="OpSw 20"/>
            <display item="OpSw 33"/>
            <display item="OpSw 34"/>

            <separator/>
            
            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;h3&gt;&lt;strong&gt;
                    Programming Track Output Management&lt;/strong&gt;&lt;/h3&gt;&lt;/html&gt;</text>
            </label>

            <display item="OpSw 7"/>
        </column>
    </pane>

    <pane>
        <name>Internal Storage Clearing</name>
        <column>
            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;
                &lt;h2&gt;&lt;strong&gt;Command Station Internal Storage Clearing Functions
                &lt;/strong&gt;&lt;/h2&gt;&lt;/html&gt;</text>
            </label>
            <display item="OpSw 36"/>
            <display item="OpSw 39"/>
            <label>
                <text>&lt;html&gt;&lt;/strong&gt;&lt;h3&gt;NOTE:&lt;/h3&gt;
                    In order for these operations to take effect, it may be necessary to
                    remove command&lt;p&gt;
                    station power.&lt;p&gt;
                    &lt;p&gt;
                    Note also that JMRI's LocoNet Slot Monitor does not recognize the
                    these Command Station OpSw&lt;p&gt;
                    operations which can clear the slots.  It is best to shut down
                    JMRI and re-start after&lt;p&gt;
                    clearing the Command Station slot table via
                    OpSw 36 or OpSw39 mechanisms.&lt;/html&gt;</text>
            </label>
        </column>
    </pane>
    <pane>
        <name>Reserved OpSws</name>
        <column>
            <label>
                <text>These OpSw ought not be changed from factory default settings.</text>
            </label>
            <row>
                <column>
                    <display item="OpSw 4"/>
                    <display item="OpSw 9"/>
                    <group include="DCS50">
                        <display item="OpSw 10(DCS50)"/>
                    </group>
                    <group include="DCS50">
                        <display item="OpSw 11(DCS50)"/>
                    </group>
                    <display item="OpSw 12"/>
                    <display item="OpSw 19"/>
                    <display item="OpSw 25"/>
                </column>
                <column>
                    <display item="OpSw 26"/>
                    <display item="OpSw 29"/>
                    <display item="OpSw 30"/>
                    <display item="OpSw 31"/>
                </column>
                <column>
                    <display item="OpSw 35"/>
                    <display item="OpSw 37"/>
                    <display item="OpSw 38"/>
                    <display item="OpSw 41"/>
                </column>
                <column>
                    <display item="OpSw 42"/>
                    <display item="OpSw 44"/>
                    <display item="OpSw 46"/>
                    <display item="OpSw 47"/>
                </column>
                    
            </row>
            

            <label>
                <text> </text>
            </label>
            <label>
                <text>The OpSw settings below cannot be changed by this tool.</text>
            </label>
            <display item="OpSw 8"/>
            <display item="OpSw 16"/>
            <display item="OpSw 24"/>
            <display item="OpSw 32"/>
            <display item="OpSw 40"/>
            <display item="OpSw 48"/>
            <label>
                <text> </text>
            </label>
            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;
                &lt;strong&gt;* - Indicates the "Factory Default" setting
                &lt;/strong&gt;&lt;/html&gt;</text>
            </label>
        </column>
    </pane>
    <pane xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/programmer.xsd">
        <name>OpSws</name>
        <column>
            <row>
                <cvtable/>
            </row>
            <row>
                <column>
                    <label>
                        <text>&lt;html&gt;The "CV" column in the table above shows "OpSw"
                            numbers, where the value "csOpSw." &lt;p&gt;is pre-pended to
                            the OpSw Number.
                        </text>
                    </label>
                    <label>
                        <text> </text>
                    </label>
                </column>
            </row>
            <row>
                <label>
                    <text>&lt;html&gt;
                    &lt;p&gt;&lt;p&gt;OpSw value 0 = "T"hrown.  OpSw value 1 = "C"losed.&lt;p&gt;
                    &lt;/html&gt;&lt;/html&gt;
                    </text>
                </label>
            </row>
        </column>

    </pane>
    <pane>
        <name>Notes</name>
        <column>
            <label>
                <text>&lt;html&gt;&lt;span style=&quot;color: black;&quot;&gt;
            &lt;h2&gt;&lt;strong&gt;Notes on DCS50 and DCS51 OpSw Settings
            &lt;/strong&gt;&lt;/h2&gt;&lt;/html&gt;</text>
            </label>
            <label>
                <text>&lt;html&gt;&lt;/strong&gt;&lt;ul&gt;
                &lt;li&gt;
                    When manipulating OpSws 36 and/or 39, for the purpose of clearing 
                    internal storage of slots and &lt;p&gt;
                    other resources, it may benecessary to power-cycle the command 
                    station after writing the the OpSw &lt;p&gt;
                    to the "C"losed state.  The command station may fail to act upon 
                    the request if one of these operations &lt;p&gt;
                    is not done.&lt;p&gt;
                &lt;li&gt;
                    Note that JMRI's LocoNet Slot Monitor does not recognize the
                    Command Station OpSw operations which can&lt;p&gt;
                    clear the slots.&lt;p&gt;
                    It is best to shut down JMRI and re-start after clearing the 
                    Command Station slot table using OpSw&lt;p&gt;
                    mechanisms.&lt;/li&gt;
            &lt;/ul&gt;&lt;/html&gt;</text>
            </label>
        </column>
    </pane>
    <pane xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/programmer.xsd">
        <name>CVs</name>
        <name xml:lang="it">CV</name>
        <name xml:lang="de">CV-Tabelle</name>
        <name xml:lang="ca">Taula-CV</name>
        <name xml:lang="cs">Tabulka CV</name>
        <name xml:lang="nl">CV-tabel</name>
        <column>
            <label>
                <text>This sheet intentionally un-populated.  See the "OpSws" tab.</text>
            </label>
        </column>
    </pane>
</decoder-config>
