<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?><!-- Copyright (C) JMRI 2005 All rights reserved -->
<!-- See the COPYING file for more information on licensing and appropriate use -->
<decoder-config xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder-4-15-2.xsd">
  <version author="ncliffe@btinternet.com" version="4d" lastUpdated="20120201"/>
  <!--  Version 4d (beta) by Nigel Cliffe    -->
  <!--  Uses decoder indexed variables for address range setting
			      Bug fixes over version 4c, separating the address ranges from other features, 
				  asking users to use two panels  (because the indexed variables break if 
				  used on a single panel due to the index CV controlling too many other features!)
			-->
  <version author="jacobsen@mac.com" version="5" lastUpdated="20150628"/>
  <!-- Version 5  Using regular variable elements intead of ivariables -->
  <decoder>
    <!--  lowVersionID="4" highVersionID="52"   -->
    <family name="ACC Decoders" mfg="MERG" comment="DCCACC5 is steady state MERG decoder.">
      <model model="DCCACC5 to V5.1" productID="51">
        <versionCV lowVersionID="4" highVersionID="51"/>
      </model>
      <model model="DCCACC5 from V5.2" productID="52">
        <versionCV lowVersionID="52" highVersionID="52"/>
      </model>
    </family>
    <programming direct="yes" paged="yes" register="no" ops="no">
      <capability>
        <name>Indexed CV access</name>
        <parameter name="PI">33</parameter>
        <parameter name="SI">00</parameter> <!-- not used, but needs to be specified -->
        <parameter name="cvFirst">true</parameter> <!-- 257.1 is write 1 to PICV, then access CV 257 -->
      </capability>
    </programming>
    <variables>
      <variable item="Low 7 bytes of Address CV1" CV="1" mask="XVVVVVVV" comment="Decoder address" default="01">
        <decVal min="1" max="63"/>
        <label>Low 7 bytes of Address CV1</label>
      </variable>
      <variable item="Outputs Active" CV="2" mask="VVVVVVVV" comment="Outputs Active" default="255">
        <decVal min="1" max="255"/>
        <label>Outputs Active</label>
      </variable>
      <variable item="Output Active bit 0" CV="2" mask="XXXXXXXV" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Output Active bit 0</label>
      </variable>
      <variable item="Output Active bit 1" CV="2" mask="XXXXXXVX" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Output Active bit 1</label>
      </variable>
      <variable item="Output Active bit 2" CV="2" mask="XXXXXVXX" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Output Active bit 2</label>
      </variable>
      <variable item="Output Active bit 3" CV="2" mask="XXXXVXXX" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Output Active bit 3</label>
      </variable>
      <variable item="Output Active bit 4" CV="2" mask="XXXVXXXX" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Output Active bit 4</label>
      </variable>
      <variable item="Output Active bit 5" CV="2" mask="XXVXXXXX" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Output Active bit 5</label>
      </variable>
      <variable item="Output Active bit 6" CV="2" mask="XVXXXXXX" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Output Active bit 6</label>
      </variable>
      <variable item="Output Active bit 7" CV="2" mask="VXXXXXXX" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Output Active bit 7</label>
      </variable>
      <variable item="A Output (x10) Millisecs" CV="3" mask="VVVVVVVV" default="0">
        <decVal min="0" max="255"/>
        <label>A Output (x10) Millisecs</label>
      </variable>
      <variable item="B Output (x10) Millisecs" CV="4" mask="VVVVVVVV" default="0">
        <decVal min="0" max="255"/>
        <label>B Output (x10) Millisecs</label>
      </variable>
      <variable item="C Output (x10) Millisecs" CV="5" mask="VVVVVVVV" default="0">
        <decVal min="0" max="255"/>
        <label>C Output (x10) Millisecs</label>
      </variable>
      <variable item="D Output (x10) Millisecs" CV="6" mask="VVVVVVVV" default="0">
        <decVal min="0" max="255"/>
        <label>D Output (x10) Millisecs</label>
      </variable>
      <variable CV="7" item="Decoder Version" readOnly="yes">
        <decVal min="0" max="255"/>
        <label>Decoder Version</label>
        <label xml:lang="it">Versione Decoder: </label>
        <label xml:lang="fr">Version décodeur: </label>
        <label xml:lang="de">Decoder Version: </label>
      </variable>
      <variable item="Manufacturer" CV="8" readOnly="yes" default="165">
        <decVal min="0" max="255"/>
        <label>Manufacturer</label>
        <label xml:lang="it">ID Costruttore: </label>
        <label xml:lang="fr">ID constructeur: </label>
        <label xml:lang="de">Hersteller ID: </label>
      </variable>
      <variable item="High 3 bytes of Address CV9" CV="9" mask="XXXXXVVV">
        <decVal min="0" max="7"/>
        <label>High 3 bytes of Address CV9</label>
      </variable>
      <variable CV="1" mask="XXVVVVVV" default="1" item="Short Address_1" tooltip="Range 1-2041">
        <splitVal highCV="9" upperMask="XXXXXVVV" factor="4" offset="-3"/>
        <label>Turnout Address of Output 1 (1-2041)</label>
      </variable>
      <variable item="Turnout Address 2" CV="1" mask="XXVVVVVV" default="2" tooltip="Range 2-2042">
        <splitVal highCV="9" upperMask="XXXXXVVV" factor="4" offset="-2"/>
        <label>Turnout Address 2</label>
      </variable>
      <variable item="Turnout Address 3" CV="1" mask="XXVVVVVV" default="3" tooltip="Range 3-2043">
        <splitVal highCV="9" upperMask="XXXXXVVV" factor="4" offset="-1"/>
        <label>Turnout Address 3</label>
      </variable>
      <variable item="Turnout Address 4" CV="1" mask="XXVVVVVV" default="4" tooltip="Range 4-2044">
        <splitVal highCV="9" upperMask="XXXXXVVV" factor="4"/>
        <label>Turnout Address 4</label>
      </variable>
      <variable CV="1" mask="XXVVVVVV" default="1" tooltip="Range 1-511" item="Long Address_1">
        <splitVal highCV="9" upperMask="XXXXXVVV"/>
        <label>Decoder Address (1-511)</label>
      </variable>
      <variable item="Configuration" CV="29" readOnly="yes" default="128">
        <decVal min="0" max="255"/>
        <label>Configuration</label>
      </variable>
      <variable item="Lenz Toggle Mode" CV="33" mask="VVVVVVVV" default="15">
        <decVal min="0" max="255"/>
        <label>Lenz Toggle Mode</label>
      </variable>
      <variable item="Toggle Mode output 1" CV="33" mask="XXXXXXXV" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Toggle Mode output 1</label>
      </variable>
      <variable item="Toggle Mode output 2" CV="33" mask="XXXXXXVX" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Toggle Mode output 2</label>
      </variable>
      <variable item="Toggle Mode output 3" CV="33" mask="XXXXXVXX" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Toggle Mode output 3</label>
      </variable>
      <variable item="Toggle Mode output 4" CV="33" mask="XXXXVXXX" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Toggle Mode output 4</label>
      </variable>
      <variable item="Dual Address Mode" CV="33" mask="VXXXXXXX" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0"/>
          <enumChoice choice="On" value="1"/>
        </enumVal>
        <label>Dual Address Mode</label>
      </variable>
      <variable item="Invert bit 0" CV="34" mask="XXXXXXXV" default="1" include="52">
        <enumVal>
          <enumChoice choice="Off" value="1"/>
          <enumChoice choice="On" value="0"/>
        </enumVal>
        <label>Invert bit 0</label>
      </variable>
      <variable item="Invert bit 1" CV="34" mask="XXXXXXVX" default="1" include="52">
        <enumVal>
          <enumChoice choice="Off" value="1"/>
          <enumChoice choice="On" value="0"/>
        </enumVal>
        <label>Invert bit 1</label>
      </variable>
      <variable item="Invert bit 2" CV="34" mask="XXXXXVXX" default="1" include="52">
        <enumVal>
          <enumChoice choice="Off" value="1"/>
          <enumChoice choice="On" value="0"/>
        </enumVal>
        <label>Invert bit 2</label>
      </variable>
      <variable item="Invert bit 3" CV="34" mask="XXXXVXXX" default="1" include="52">
        <enumVal>
          <enumChoice choice="Off" value="1"/>
          <enumChoice choice="On" value="0"/>
        </enumVal>
        <label>Invert bit 3</label>
      </variable>
      <variable item="Invert bit 4" CV="34" mask="XXXVXXXX" default="1" include="52">
        <enumVal>
          <enumChoice choice="Off" value="1"/>
          <enumChoice choice="On" value="0"/>
        </enumVal>
        <label>Invert bit 4</label>
      </variable>
      <variable item="Invert bit 5" CV="34" mask="XXVXXXXX" default="1" include="52">
        <enumVal>
          <enumChoice choice="Off" value="1"/>
          <enumChoice choice="On" value="0"/>
        </enumVal>
        <label>Invert bit 5</label>
      </variable>
      <variable item="Invert bit 6" CV="34" mask="XVXXXXXX" default="1" include="52">
        <enumVal>
          <enumChoice choice="Off" value="1"/>
          <enumChoice choice="On" value="0"/>
        </enumVal>
        <label>Invert bit 6</label>
      </variable>
      <variable item="Invert bit 7" CV="34" mask="VXXXXXXX" default="1" include="52">
        <enumVal>
          <enumChoice choice="Off" value="1"/>
          <enumChoice choice="On" value="0"/>
        </enumVal>
        <label>Invert bit 7</label>
      </variable>
      <variable CV="513" mask="XVVVVVVV" comment="Decoder address" item="Short Address_" default="01">
        <decVal min="1" max="63"/>
        <label>Decoder Address_</label>
      </variable>
      <variable item="Outputs Active_" CV="514" mask="VVVVVVVV" comment="Outputs Active" default="255">
        <decVal min="1" max="255"/>
        <label>Outputs Active_</label>
      </variable>
      <variable item="A Output (x10) Millisecs_" CV="515" mask="VVVVVVVV" default="05">
        <decVal min="0" max="255"/>
        <label>A Output (x10) Millisecs_</label>
      </variable>
      <variable item="B Output (x10) Millisecs_" CV="516" mask="VVVVVVVV" default="05">
        <decVal min="0" max="255"/>
        <label>B Output (x10) Millisecs_</label>
      </variable>
      <variable item="C Output (x10) Millisecs_" CV="517" mask="VVVVVVVV" default="05">
        <decVal min="0" max="255"/>
        <label>C Output (x10) Millisecs_</label>
      </variable>
      <variable item="D Output (x10) Millisecs_" CV="518" mask="VVVVVVVV" default="05">
        <decVal min="0" max="255"/>
        <label>D Output (x10) Millisecs_</label>
      </variable>
      <variable item="Decoder Version_" CV="519" readOnly="yes" default="4">
        <decVal min="0" max="255"/>
        <label>Decoder Version_</label>
      </variable>
      <variable item="Manufacturer_" CV="520" readOnly="yes" default="165">
        <decVal min="0" max="255"/>
        <label>Manufacturer_</label>
      </variable>
      <variable item="High Address_" CV="521" mask="XXXXXVVV">
        <decVal min="0" max="7"/>
        <label>High Address_</label>
      </variable>
      <variable item="Configuration_" CV="541" readOnly="yes" default="128">
        <decVal min="0" max="255"/>
        <label>Configuration_</label>
      </variable>
      <variable item="Lenz Toggle Mode_" CV="545" mask="VVVVVVVV" default="15">
        <decVal min="0" max="255"/>
        <label>Lenz Toggle Mode_</label>
      </variable>
      <constant item="PICV" default="33" comment="CV used for Primary Index"/>
      <variable item="Address Range 1" CV="513.0" mask="XXVVVVVV" default="1">
        <splitVal highCV="521.0" upperMask="XXXXXVVV"/>
        <label>Address Range 1</label>
      </variable>
      <variable item="Address Range 2" CV="513.128" mask="XXVVVVVV" default="1">
        <splitVal highCV="521.128" upperMask="XXXXXVVV"/>
        <label>Address Range 2</label>
      </variable>
      <variable item="Turnout Address 1st output (1-2041)" CV="513.0" mask="XXVVVVVV" default="1">
        <splitVal highCV="521.0" factor="4" offset="-3" upperMask="XXXXXVVV"/>
        <label>Turnout Address 1st output (1-2041)</label>
      </variable>
      <variable item="Turnout Address 2nd output" CV="513.0" mask="XXVVVVVV" default="1">
        <splitVal highCV="521.0" factor="4" offset="-2" upperMask="XXXXXVVV"/>
        <label>Turnout Address 2nd output</label>
      </variable>
      <variable item="Turnout Address 3rd output" CV="513.0" mask="XXVVVVVV" default="1">
        <splitVal highCV="521.0" factor="4" offset="-1" upperMask="XXXXXVVV"/>
        <label>Turnout Address 3rd output</label>
      </variable>
      <variable item="Turnout Address 4th output" CV="513.0" mask="XXVVVVVV" default="1">
        <splitVal highCV="521.0" factor="4" offset="-0" upperMask="XXXXXVVV"/>
        <label>Turnout Address 4th output</label>
      </variable>
      <variable item="Turnout Address 5th output (1-2041)" CV="513.128" mask="XXVVVVVV" default="1">
        <splitVal highCV="521.128" factor="4" offset="-3" upperMask="XXXXXVVV"/>
        <label>Turnout Address 5th output (1-2041)</label>
      </variable>
      <variable item="Turnout Address 6th output" CV="513.128" mask="XXVVVVVV" default="2">
        <splitVal highCV="521.128" factor="4" offset="-2" upperMask="XXXXXVVV"/>
        <label>Turnout Address 6th output</label>
      </variable>
      <variable item="Turnout Address 7th output" CV="513.128" mask="XXVVVVVV" default="2">
        <splitVal highCV="521.128" factor="4" offset="-1" upperMask="XXXXXVVV"/>
        <label>Turnout Address 7th output</label>
      </variable>
      <variable item="Turnout Address 8th output" CV="513.128" mask="XXVVVVVV" default="2">
        <splitVal highCV="521.128" factor="4" offset="-0" upperMask="XXXXXVVV"/>
        <label>Turnout Address 8th output</label>
      </variable>
    </variables>
  </decoder>
  <!--
<pane name="DCCACC5 Settings (old)">
	<column>
		<row> 
			<column>
				<label label="CV1 to CV34          "/>
				<label label=" "/>
				<label label=" "/>
				<label label=" "/>
			</column>
			<column>
				<label label="If requiring 8 independent addresses, set Dual Address to off, program an address" />
				<label label="then set Dual Address to on and program the second address block" />
				<label label="Lenz Toggle Mode (bits set) gives a toggle action for Lenz systems." />
				<label label=" "/>
			</column>
		</row>
		
		<row>
			<column>
				<label label=" "/>
				<display item="Dual Address Mode" label="Dual Address Mode  "/>
				<label label=" "/>
				<label label="Addressing, enter decoder address or turnout address" />
				<separator />
				<label label=" "/>
				<row>
					<column>
					<label label="Decoder Address (1-511)"/>
					<display item="Decoder Address (1-511)" label="  "/>
					<label label=" "/>
					<label label=" "/>
					<label label=" "/>
					<label label=" "/>
					<label label=" "/>
					</column>
					<column>
					<label label="    Turnout Address in blocks"/>
					<label label="    of 4, range 1-2024"/>
					<display item="Turnout Address of Output 1 (1-2041)" label="    Output 1 or 5 " />
					<display item="Turnout Address 2" label="    Output 2 or 6 " />
					<display item="Turnout Address 3" label="    Output 3 or 7 " />
					<display item="Turnout Address 4" label="    Output 4 or 8 " />

					</column>
				</row>
				<label label=" "/>
				
				<label label="Output operation, select / deselect as required" />
				<separator/>
				<label label=" "/>
				<row>
				<column>
					<display item="Output Active bit 0" format="checkbox" label="Output Active   1" />
					<label label=" "/>
					<display item="Invert bit 0" format="checkbox" label="Invert Outputs:   1" />
				</column>
				<column>
					<display item="Output Active bit 1" format="checkbox" label="  2" />
					<label label=" "/>
					<display item="Invert bit 1" format="checkbox" label="  2" />
				</column>
				<column>
					<display item="Output Active bit 2" format="checkbox" label="  3" />
					<label label=" "/>
					<display item="Invert bit 2" format="checkbox" label="  3" />
				</column>
				<column>
					<display item="Output Active bit 3" format="checkbox" label="  4" />
					<label label=" "/>
					<display item="Invert bit 3" format="checkbox" label="  4" />
				</column>
				<column>
					<display item="Output Active bit 4" format="checkbox" label="  5" />
					<label label=" "/>
					<display item="Invert bit 4" format="checkbox" label="  5" />
				</column>
				<column>
					<display item="Output Active bit 5" format="checkbox" label="  6" />
					<label label=" "/>
					<display item="Invert bit 5" format="checkbox" label="  6" />
				</column>
				<column>
					<display item="Output Active bit 6" format="checkbox" label="  7" />
					<label label=" "/>
					<display item="Invert bit 6" format="checkbox" label="  7" />
				</column>
				<column>
					<display item="Output Active bit 7" format="checkbox" label="  8" />
					<label label=" "/>
					<display item="Invert bit 7" format="checkbox" label="  8" />
				</column>
				</row>
				<label label=" "/>


				<label label=" "/>


			</column>

			<column>
				<label label="                                     "/>
			</column>

			<column>

				<label label=" "/>
				<label label=" "/>
				<label label=" "/>
				<label label="Output Duration and Toggle Mode"/>
				<separator />
				<row>
				<column>
					<label label= "Duration of Output" />
					<display item="A Output (x10) Millisecs" label= "1+2 " />
					<display item="B Output (x10) Millisecs" label= "3+4 "/>
					<display item="C Output (x10) Millisecs" label= "5+6 " />
					<display item="D Output (x10) Millisecs" label= "7+8 " />
					<label label= "(x10 MilliSecs)" />
					<label label= "0 = continous output"/>
				</column>
				<column>
					<label label= "         " />
				</column>
				<column>
					<label label ="Toggle Mode Outputs" />
					<display item="Toggle Mode output 1" format="checkbox" label="1+2" />
					<display item="Toggle Mode output 2" format="checkbox" label="3+4" />
					<display item="Toggle Mode output 3" format="checkbox" label="5+6" />
					<display item="Toggle Mode output 4" format="checkbox" label="7+8" />
					<label label ="Not used in dual"/>
					<label label ="address mode"/>
					</column>
				</row>
				<label label=" "/>
				<label label=" "/>
				<label label= "         " />
				<label label= "         " />
				<label label="Read Only Information "/>
				<separator />
				<display item="Configuration" />
				<display item="Decoder Version" label="Decoder Version"/>
				<display item="Manufacturer" label="Manufacturer"/>
			</column>
							
		</row>
	</column>
</pane>
-->
  <pane>
    <name>DCCACC5 Addresses</name>
    <column>
      <row>
        <column>
          <label>
            <text>If requiring 8 independent addresses, set dual address to on and set both the first and second address blocks</text>
          </label>
          <label>
            <text>After setting anything on this pane, double check mode and toggle bits on Settings Pane</text>
          </label>
          <label>
            <text> </text>
          </label>
        </column>
      </row>
      <row>
        <column>
          <display item="Dual Address Mode" label="Dual Address Mode  "/>
          <label>
            <text> </text>
          </label>
          <label>
            <text>Addressing first block</text>
          </label>
          <separator/>
          <label>
            <text> </text>
          </label>
          <row>
            <column>
              <label>
                <text>Decoder Address (1-511) </text>
              </label>
              <display item="Address Range 1"/>
              <label>
                <text> </text>
              </label>
              <label>
                <text> </text>
              </label>
              <label>
                <text> </text>
              </label>
              <label>
                <text> </text>
              </label>
              <label>
                <text> </text>
              </label>
            </column>
            <column>
              <label>
                <text>    Turnout Address in blocks</text>
              </label>
              <label>
                <text>    of 4, range 1-2044</text>
              </label>
              <display item="Turnout Address 1st output (1-2041)"/>
              <display item="Turnout Address 2nd output"/>
              <display item="Turnout Address 3rd output"/>
              <display item="Turnout Address 4th output"/>
            </column>
          </row>
          <label>
            <text> </text>
          </label>
          <label>
            <text>Addressing second block</text>
          </label>
          <separator/>
          <label>
            <text> </text>
          </label>
          <row>
            <column>
              <label>
                <text>Decoder Address (1-511) </text>
              </label>
              <display item="Address Range 2"/>
              <label>
                <text> </text>
              </label>
              <label>
                <text> </text>
              </label>
              <label>
                <text> </text>
              </label>
              <label>
                <text> </text>
              </label>
              <label>
                <text> </text>
              </label>
            </column>
            <column>
              <label>
                <text>    Turnout Address in blocks</text>
              </label>
              <label>
                <text>    of 4, range 1-2044</text>
              </label>
              <display item="Turnout Address 5th output (1-2041)"/>
              <display item="Turnout Address 6th output"/>
              <display item="Turnout Address 7th output"/>
              <display item="Turnout Address 8th output"/>
            </column>
          </row>
        </column>
      </row>
    </column>
  </pane>
  <pane>
    <name>DCCACC5 Settings</name>
    <column>
      <row>
        <column>
          <label>
            <text>Set operating modes</text>
          </label>
          <label>
            <text>After setting address on Addresses pane, double check mode and toggle bits on this pane</text>
          </label>
          <label>
            <text> </text>
          </label>
        </column>
      </row>
      <row>
        <column>
          <display item="Dual Address Mode" label="Dual Address Mode  "/>
          <label>
            <text> </text>
          </label>
          <label>
            <text>Output operation, select / deselect as required</text>
          </label>
          <separator/>
          <label>
            <text> </text>
          </label>
          <row>
            <column>
              <display item="Output Active bit 0" format="checkbox" label="Output Active   1"/>
              <label>
                <text> </text>
              </label>
              <display item="Invert bit 0" format="checkbox" label="Invert Outputs:   1"/>
            </column>
            <column>
              <display item="Output Active bit 1" format="checkbox" label="  2"/>
              <label>
                <text> </text>
              </label>
              <display item="Invert bit 1" format="checkbox" label="  2"/>
            </column>
            <column>
              <display item="Output Active bit 2" format="checkbox" label="  3"/>
              <label>
                <text> </text>
              </label>
              <display item="Invert bit 2" format="checkbox" label="  3"/>
            </column>
            <column>
              <display item="Output Active bit 3" format="checkbox" label="  4"/>
              <label>
                <text> </text>
              </label>
              <display item="Invert bit 3" format="checkbox" label="  4"/>
            </column>
            <column>
              <display item="Output Active bit 4" format="checkbox" label="  5"/>
              <label>
                <text> </text>
              </label>
              <display item="Invert bit 4" format="checkbox" label="  5"/>
            </column>
            <column>
              <display item="Output Active bit 5" format="checkbox" label="  6"/>
              <label>
                <text> </text>
              </label>
              <display item="Invert bit 5" format="checkbox" label="  6"/>
            </column>
            <column>
              <display item="Output Active bit 6" format="checkbox" label="  7"/>
              <label>
                <text> </text>
              </label>
              <display item="Invert bit 6" format="checkbox" label="  7"/>
            </column>
            <column>
              <display item="Output Active bit 7" format="checkbox" label="  8"/>
              <label>
                <text> </text>
              </label>
              <display item="Invert bit 7" format="checkbox" label="  8"/>
            </column>
          </row>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
          <label>
            <text>Output Duration and Toggle Mode</text>
          </label>
          <separator/>
          <row>
            <column>
              <label>
                <text>Duration of Output</text>
              </label>
              <display item="A Output (x10) Millisecs" label="1+2 "/>
              <display item="B Output (x10) Millisecs" label="3+4 "/>
              <display item="C Output (x10) Millisecs" label="5+6 "/>
              <display item="D Output (x10) Millisecs" label="7+8 "/>
              <label>
                <text>(x10 MilliSecs)</text>
              </label>
              <label>
                <text>0 = continous output</text>
              </label>
            </column>
            <column>
              <label>
                <text>         </text>
              </label>
            </column>
            <column>
              <label>
                <text>Toggle Mode Outputs</text>
              </label>
              <display item="Toggle Mode output 1" format="checkbox" label="1+2"/>
              <display item="Toggle Mode output 2" format="checkbox" label="3+4"/>
              <display item="Toggle Mode output 3" format="checkbox" label="5+6"/>
              <display item="Toggle Mode output 4" format="checkbox" label="7+8"/>
              <label>
                <text>Not used in dual</text>
              </label>
              <label>
                <text>address mode</text>
              </label>
            </column>
          </row>
          <label>
            <text> </text>
          </label>
          <label>
            <text> </text>
          </label>
        </column>
      </row>
    </column>
  </pane>
</decoder-config>
