Files
JIMRI/xml/decoders/Public_Domain_HDL_LocoIO.xml
2026-06-17 14:00:51 +02:00

15513 lines
742 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2002, 2004, 2007, 2018, 2019, 2020, 2025 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">
<copyright xmlns="http://docbook.org/ns/docbook">
<year>2015</year>
<year>2018</year>
<year>2019</year>
<year>2020</year>
<year>2025</year>
<holder>JMRI</holder>
</copyright>
<authorgroup xmlns="http://docbook.org/ns/docbook">
<author>
<personname>
<firstname>Bob</firstname>
<surname>Jacobsen</surname>
</personname>
</author>
<author>
<personname>
<firstname>Egbert</firstname>
<surname>Broerse</surname>
</personname>
</author>
</authorgroup>
<revhistory xmlns="http://docbook.org/ns/docbook">
<revision>
<revnumber>1</revnumber>
<date>2015-08-12</date>
<authorinitials>BJ</authorinitials>
<revremark>Initial version, test only</revremark>
</revision>
<revision>
<revnumber>2</revnumber>
<date>2018-04-26</date>
<authorinitials>EB</authorinitials>
<revremark>Added Board and Ports panes, manual entry, still experimental</revremark>
</revision>
<revision>
<revnumber>3</revnumber>
<date>2019-04-10</date>
<authorinitials>EB</authorinitials>
<revremark>Use compositeVal type values (ports 1-5 for now), updated decoder schema, add LocoServo,
add LocoIO (PIC) versions up to 1.54, show only show supported options by model (note VersionID is not
stored in CV7 of LocoIO), Opcode (only for port 1 for now)
</revremark>
</revision>
<revision>
<revnumber>4</revnumber>
<date>2020-09-20</date>
<authorinitials>EB</authorinitials>
<revremark>Changed address field labels hi/lo to function like 81/1 entry
Use compositeVal type values (ports 1-16), add LocoBooster,
Opcode1 and Opcode2 for ports 1-16, tested on actual hardware (read only),
correct triple mask to store sensor address, LocoRCD(2) experimental
</revremark>
</revision>
<revision>
<revnumber>5</revnumber>
<date>2025-01-15</date>
<authorinitials>EB</authorinitials>
<revremark>Add support for GCA50(a)/GCA51 LocoIO boards from P. Giling.
Requires firmware version 151/107 from github.com/silverailscolo/Arduino-GCA51/
because of version being stored in SV100, board config in SV0 like all LocoIO's.</revremark>
</revision>
</revhistory>
<version author="Bob Jacobsen" version="1" lastUpdated="20150812"/>
<version author="Egbert Broerse" version="2" lastUpdated="20180426"/>
<version author="Egbert Broerse" version="3" lastUpdated="20190410"/>
<version author="Egbert Broerse" version="4" lastUpdated="20200920"/>
<version author="Egbert Broerse" version="5" lastUpdated="20250221"/>
<decoder>
<family name="Hans Deloof LocoIO" mfg="Public-domain and DIY">
<model model="HDL LocoIO v1.54" productID="154"/>
<!--filtering model specific options relies on new exclude/include support in compositeValType-->
<model model="HDL LocoIO v1.53" productID="153"/>
<model model="HDL LocoIO v1.52" productID="152"/>
<!--HDL Docs: 1.50-1.51 users should update to 1.53 or higher, same options-->
<model model="HDL LocoIO v1.49" productID="149"/>
<model model="HDL LocoIO v1.48" productID="148"/>
<!--HDL Docs: 1.47 users should update to 1.48, same options-->
<model model="HDL LocoIO v1.46" productID="146"/>
<model model="HDL LocoIO v1.45" productID="145"/>
<model model="HDL LocoIO v1.44" productID="144"/>
<!--HDL Docs: 1.43 users should update to 1.44, same options-->
<model model="HDL LocoIO v1.42" productID="142"/>
<model model="HDL LocoIO v1.41" productID="141"/>
<model model="HDL LocoIO v1.40" productID="140"/>
<model model="HDL LocoIO v1.39" productID="139"/>
<model model="HDL LocoServo v1.06" productID="106"/>
<model model="HDL LocoServo v1.05" productID="105"/>
<model model="HDL LocoServo v1.04" productID="104"/>
<model model="HDL LocoServo v1.03" productID="103"/>
<model model="HDL LocoServo v1.02" productID="102"/>
<model model="HDL LocoServo v1.01" productID="101">
<!--LocoServo uses ports 5-12 for 2-4 servo's with special position/timing settings-->
</model>
<model model="HDL LocoBooster v3" productID="003">
<!--LocoBooster only allows config of ports 1-4 (and special ports 5-6)-->
</model>
<model model="HDL LocoBooster v4" productID="004">
<!--LocoBooster v4 and up support Opcode2 on ports 1-6 -->
</model>
<model model="HDL LocoBooster v5" productID="005"/>
<model model="HDL LocoRCD v2.0" productID="200"/>
<model model="HDL LocoRCD2 v2.10" productID="210"/>
<model model="HDL LocoRCD2 v2.11" productID="211"/>
<model model="GCA50(a) LocoIO v1.06" productID="GCA50">
<!--GCA50 (classic PIC) or GCA50a (Arduino Nano) v1.00, supports same options as v1.48 -->
</model>
<model model="GCA51 2x RFID + 8x LocoIO v1.51" productID="GCA51">
<!-- GCA51 only allows config of ports 9-16 for input/output -->
<!-- GCA51 uses ports 1-2 for 0-2 RFID-RC522 cards, only as Block Inputs. Only config is address of ports 1-2 -->
</model>
<model model="Original LocoIO" productID="135"/>
</family>
<programming direct="no" paged="no" register="no" ops="no">
<mode>LOCONETSV1MODE</mode>
</programming>
<variables>
<variable CV="100" readOnly="yes" default="999" item="Decoder Version">
<decVal/>
<label>PIC Version: </label>
<label xml:lang="it">Versione PIC: </label>
<label xml:lang="fr">Version PIC: </label>
<label xml:lang="de">PIC Version: </label>
<label xml:lang="nl">PIC-versie: </label>
<tooltip>Open the LocoNet Monitor to confirm the actual firmware version number (shown after you click Read Full Sheet)</tooltip>
</variable>
<variable CV="0" mask="VVVVXXXX" comment="Board Blink Rate" item="Blink Rate" default="0" exclude="135,139,140,200,210,211">
<decVal min="0" max="15"/>
<label>Blink Rate:</label>
<label xml:lang="de">Blinkgeschw.:</label>
<label xml:lang="nl">Knippertempo:</label>
<tooltip>Choose from 0=none to 15=fast</tooltip>
</variable>
<variable CV="126" comment="Board Detection Off Delay" item="Detection Delay" default="32" include="210,211">
<!--max 32, TODO check SV126, same as Port1 Opcode2 Address?-->
<decVal min="0" max="126"/>
<label>Detection Off Delay:</label>
<label xml:lang="de">Abmeldungsverzögerung:</label>
<label xml:lang="nl">Blokdetectievertraging:</label>
<tooltip>Choose from 0=none to 126 (~6,3 sec), 50ms per step</tooltip>
</variable>
<variable CV="0" mask="XXXVXXXX" comment="Display Light Intensity" item="Light Intensity" default="7" include="200,210,211">
<decVal min="0" max="14"/>
<label>Light Intensity:</label>
<label xml:lang="de">Helligkeit:</label>
<label xml:lang="nl">Lichtintensiteit:</label>
<tooltip>Choose from 0=dim to 14=bright</tooltip>
</variable>
<variable CV="0" mask="XXXVXXXX" item="Board Active High" default="0" include="135,139,140">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>All Block Detection ports Active High:</label>
<tooltip>Default: unselected = Active Low</tooltip>
</variable>
<!-- no choice, but item="Action Mode" is required to hide elements in UI unless it's a LocoServo -->
<variable CV="0" mask="XXXXVVXX" comment="bits 3-2" item="Action Mode" default="0" exclude="101,102,103,104,105,106,210,211">
<enumVal>
<enumChoice choice="0" value="0">
<choice>Normal</choice>
<choice xml:lang="de">Normal</choice>
<choice xml:lang="nl">Normaal</choice>
</enumChoice>
</enumVal>
<label>Board Port type:</label>
<label xml:lang="de">Anschlussart:</label>
<label xml:lang="nl">Type poorten:</label>
<tooltip>How the ports on this board should operate</tooltip>
</variable>
<variable CV="0" mask="XXXXVVXX" comment="bits 3-2" item="Action Mode" default="2" include="101,102,103,104,105,106">
<enumVal>
<enumChoice choice="2" value="2">
<choice>2-Position Servos</choice>
<choice xml:lang="nl">2-Positie Servo's</choice>
</enumChoice>
<enumChoice choice="3" value="3">
<choice>4-Position Servos</choice>
<choice xml:lang="nl">4-Positie Servo's</choice>
</enumChoice>
</enumVal>
<label>Servo type:</label>
<label xml:lang="de">Servotyp:</label>
<label xml:lang="nl">Type Servo's:</label>
<tooltip>How servo ports 5-12 on this board should operate</tooltip>
</variable>
<variable CV="127" mask="XXXVXXXX" comment="bit 4" item="Action Mode" default="0" include="210,211">
<enumVal>
<enumChoice choice="0" value="0">
<choice>LocoView display</choice>
<choice xml:lang="de">LocoView Anzeige</choice>
<choice xml:lang="nl">LocoView-scherm</choice>
</enumChoice>
<enumChoice choice="1" value="1">
<choice>Signals</choice>
<choice xml:lang="de">Signale</choice>
<choice xml:lang="nl">Seinen</choice>
</enumChoice>
</enumVal>
<label>I/O:</label>
<tooltip>What is connected to the board J4 connector? See LocoRCD2 manual.</tooltip>
</variable>
<variable CV="0" mask="XXXXXXVX" item="Alternate Mode" default="0" exclude="135,139">
<enumVal>
<enumChoice choice="0" value="0">
<choice>Fixed</choice>
<choice xml:lang="nl">Vaste Code</choice>
</enumChoice>
<enumChoice choice="0" value="1">
<choice>Alternating</choice>
<choice xml:lang="nl">Wisselend</choice>
</enumChoice>
</enumVal>
<label>Code for buttons:</label>
<label xml:lang="de">Knopfberichte:</label>
<label xml:lang="nl">Code voor knoppen:</label>
<tooltip>Button sends alternating or fixed code, default: fixed</tooltip>
</variable>
<variable CV="0" mask="XXXXXXXV" item="Port Refresh" default="0">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Port Refresh:</label>
<label xml:lang="de">Anschluss aktualis.:</label>
<label xml:lang="nl">Poort bijwerken:</label>
<tooltip>Refresh Ports, default: unselected = off</tooltip>
</variable>
<variable CV="177" item="Special Ports" default="0">
<!-- not used for, but can't exclude here for "003,101,102,103,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51"-->
<!-- because CV is used as a qualifier variable -->
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Special Ports 1-4:</label>
<label xml:lang="de">Sonderfunktion Anschlüsse 1-4:</label>
<label xml:lang="nl">Speciale Functie Poorten 1-4:</label>
<tooltip>Use ports 1-4 for GO/STOP + status. Default: unselected = regular ports</tooltip>
</variable>
<!-- This sets a single JMRI-style composite address in two CVs -->
<variable CV="1" item="Short Address" comment="Board SV address" default="81">
<splitVal highCV="2" factor="1" offset="-256" default="1"/>
<label>Board Address (14 bit):</label>
<label xml:lang="de">Moduladresse (14 bit):</label>
<label xml:lang="nl">Module-adres (14 bit):</label>
<tooltip>This provides the full address by combining the LocoIO Address lower and LocoIO Subaddress upper parts</tooltip>
</variable>
<!-- This repurposes the UserID fields on the Basic pane -->
<!-- to show the individual address bytes. -->
<!-- Note defaults must be present at both locations and agree -->
<variable item="User Id #3" CV="1" default="81">
<decVal min="1" max="127"/>
<label>Main Address (7-bit low):</label>
<label xml:lang="de">Hauptadresse (7-bit low):</label>
<label xml:lang="nl">Hoofdadres (7-bit low):</label>
<tooltip>Message DSTL byte</tooltip>
</variable>
<variable item="User Id #2" CV="2" default="1" exclude="135,139,140,141,142,144,145,GCA51">
<!-- only editable in v1.46 and higher. GCA51 can't encode subaddress in LISSY RFID-7 message -->
<decVal min="1" max="127"/>
<label>/ SubAddress (7-bit high):</label>
<label xml:lang="de">/ Unteradresse (7-bit high):</label>
<label xml:lang="nl">/ Sub-adres (7-bit high):</label>
<tooltip>Message DSTH byte (editable in v1.46 and higher)</tooltip>
</variable>
<variable item="User Id #2" CV="2" default="1" include="135,139,140,141,142,144,145,GCA51">
<!-- only editable in v1.46 and higher. GCA51 can't encode subaddress in LISSY RFID-7 message -->
<decVal min="1" max="1"/>
<label>/ SubAddress (fixed):</label>
<label xml:lang="de">/ Unteradresse (fest):</label>
<label xml:lang="nl">/ Sub-adres (vast):</label>
<tooltip>Message DSTH byte (editable in v1.46 and higher, nor GCA51)</tooltip>
</variable>
<variable item="User Id #2" CV="2" readOnly="yes" default="1" include="135,139,140,141,142,144,145">
<decVal/>
<label>/ SubAddress (Fixed):</label>
<label xml:lang="de">/ Unteradresse (unveränderlich):</label>
<label xml:lang="nl">/ Sub-adres (Vast):</label>
<tooltip>Message DSTH byte (not editable before v1.46)</tooltip>
</variable>
<!-- Next section: per Port config SVs, handled like CVs -->
<!-- reverse engineered values from LocoIO Specifications and HDL LocoIOConfig 2019/2020 -->
<!-- Port 1 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port1 OccuMode" CV="99" mask="VXXXXXXX" writeOnly="yes">
<!-- TODO store on disk only, now hacked using fake CV numbers 99 + 176 to write/recover OccuMode -->
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port1 Address" CV="4,5" mask="XVVVVVVV XXXXVVVV">
<!--qualifier not functioning to prevent improper recalculation of address field via CV-->
<!-- CV4 ignores bit 8 in port address -->
<splitVal offset="1" min="1" max="4096" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 1 DCC Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port1 SensorAddress" CV="5,4,5" mask="XXVXXXXX XVVVVVVV XXXXVVVV" exclude="GCA51">
<!-- Detector In/Outputs store address differently -->
<!-- TODO store even address bit 1 in CV5 bit 4, for now fixed via dropdown -->
<splitVal offset="1" min="1" max="4096" default="1"/>
<label>Address :</label> <!-- just a subtle hint that the occu type address is shown-->
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 1 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port1 SensorAddress" CV="5,4,5" mask="XXVXXXXX XVVVVVVV XXXXVVVV" include="GCA51">
<!-- RFID Detector 1 Input -->
<splitVal offset="1" min="1" max="4096" default="1"/>
<label>RC522-1 reporting address :</label> <!-- RC522 reporting sensor -->
<label xml:lang="de">Melderadresse RC522-1 :</label>
<label xml:lang="nl">RC522-1 melderadres :</label>
<tooltip>Port 1 RFID-RC522 Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port1 Config" CV="3" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 1 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port1 Value1" CV="4" default="0">
<decVal/>
<label> Value1:</label>
<tooltip>Port 1 Value1, created from address</tooltip>
</variable>
<!--extra masked field to store Mode in SV5-->
<variable item="Port1 Value2A" CV="5" mask="VVVVXXXX">
<!--TODO code option to add mask= to CompositeVariable - CompositeChoice element ? -->
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 1 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port1 Value2" CV="5" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 1 Value2, filled via Value2A + address hi part</tooltip>
</variable>
<variable item="Port1 Old Block" CV="4" mask="VXXXXXXX" default="0" include="135,139,140">
<decVal/>
<!-- only used up to version 1.40. Later versions set active high/low per port-->
</variable>
<!--LocoIO/RCD(2) Port1 Type variables created later in this definition file-->
<!-- displayed while "special ports" = 1: on ports 1-4-->
<variable item="Port1 Special">
<compositeVal>
<compositeChoice choice="Special Idle2">
<choice>Select...</choice>
<choice xml:lang="de">Auswählen...</choice>
<choice xml:lang="nl">Selecteer...</choice>
<compositeSetting label="Port1 Config" value="0"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Special Idle">
<choice>Special Input: Idle</choice>
<choice xml:lang="nl">Speciale Ingang: Vrijloop</choice>
<compositeSetting label="Port1 Config" value="44"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 1-4 set as Special Type - IDLE</tooltip>
</variable>
<!--port 1+2 options for RCD2 only-->
<variable CV="101" mask="XXXXXXXV" item="Port1 Train Control" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Train Control:</label>
<label xml:lang="nl">Treinbeïnvloeding:</label>
<tooltip>Occupied will trigger train control, default: unselected = off</tooltip>
</variable>
<variable CV="101" mask="XXXXXXVX" item="Port1 Train Reverse" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label> Reverse:</label>
<label xml:lang="nl">Richting omkeren:</label>
<tooltip>Occupied will trigger train reversing direction, default: unselected = off</tooltip>
</variable>
<variable CV="102" item="Port1 Train Slow Down" default="1" include="210,211">
<decVal min="1" max="255"/>
<label>Slow Down:</label>
<label xml:lang="nl">Trein vertragingstijd:</label>
<tooltip>Port1 Train Slow Down Delay (1-255)</tooltip>
</variable>
<variable CV="103" item="Port1 Train Wait" default="0" include="210,211">
<decVal min="0" max="255"/>
<label> Wait Time:</label>
<label xml:lang="nl"> Trein wachttijd:</label>
<tooltip>Port 1 Train Wait Time (1-255)</tooltip>
</variable>
<!--Port1 Opcode1-->
<variable item="Port1 Opcode1 Address" CV="52" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port1 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port1 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="53" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 1 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port1 Opcode1 Opc" CV="51" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port1 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port1 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 1 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port1 Opcode1 Arg1" CV="52" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port1 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port1 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 1 Opcode1 ARG1 (address lower bits 0-6)</tooltip>
</variable>
<variable item="Port1 Opcode1 Arg2sub" CV="53" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port1 Opcode1 Arg2" CV="53">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port1 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port1 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 1 Opcode1 Value2, filled by ComboBox + Address</tooltip>
</variable>
<variable item="Port1 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port1 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port1 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port1 Opcode1 Opc" value="0"/>
<compositeSetting label="Port1 Opcode1 Address" value="1"/>
<compositeSetting label="Port1 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port1 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct" exclude="GCA51">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port1 Opcode1 Opc" value="176"/>
<compositeSetting label="Port1 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect" exclude="GCA51">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port1 Opcode1 Opc" value="177"/>
<compositeSetting label="Port1 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct" exclude="GCA51">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port1 Opcode1 Opc" value="176"/>
<compositeSetting label="Port1 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect" exclude="GCA51">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port1 Opcode1 Opc" value="177"/>
<compositeSetting label="Port1 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 1 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port1 Opcode2-->
<variable item="Port1 Opcode2 Address" CV="129" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port1 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port1 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="130" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 1 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<!--TODO complete qualifiers to hide Opcode2 ARG1, 2 and OPCfor RCD(2) ports 2-16-->
<variable item="Port1 Opcode2 Opc" CV="128" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port1 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port1 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 1 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port1 Opcode2 Arg1" CV="129" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port1 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port1 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 1 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port1 Opcode2 Arg2sub" CV="130" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port1 Opcode2 Arg2" CV="130" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port1 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port1 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 1 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port1 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs-->
<qualifier>
<variableref>Port1 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port1 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port1 Opcode2 Opc" value="0"/>
<compositeSetting label="Port1 Opcode2 Address" value="1"/>
<compositeSetting label="Port1 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port1 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port1 Opcode2 Opc" value="176"/>
<compositeSetting label="Port1 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port1 Opcode2 Opc" value="177"/>
<compositeSetting label="Port1 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port1 Opcode2 Opc" value="176"/>
<compositeSetting label="Port1 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port1 Opcode2 Opc" value="177"/>
<compositeSetting label="Port1 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 1 Opcode2 OPC and ARG2</tooltip>
</variable>
<!-- Port 2 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port2 OccuMode" CV="99" mask="XVXXXXXX" writeOnly="yes">
<!-- TODO store on disk, now hacked using fake CV number to write/recover OccuMode -->
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port2 Address" CV="7,8" mask="XVVVVVVV XXXXVVVV">
<!-- CV7 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port2 SensorAddress" CV="8,7,8" mask="XXVXXXXX XVVVVVVV XXXXVVVV" exclude="GCA51">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 2 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port2 SensorAddress" CV="8,7,8" mask="XXVXXXXX XVVVVVVV XXXXVVVV" include="GCA51">
<!-- RFID Detector 2 Input -->
<splitVal offset="1" min="1" max="4096" default="1"/>
<label>RC522-2 reporting address:</label> <!-- RC522 reporting sensor -->
<label xml:lang="de">Melderadresse RC522-2:</label>
<label xml:lang="nl">RC522-2 melderadres:</label>
<tooltip>Port 2 RFID-RC522 Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port2 Config" CV="6" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 2 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port2 Value1" CV="7" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 2 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV8-->
<variable item="Port2 Value2A" CV="8" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 2 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port2 Value2" CV="8" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 2 Value2, filled by ComboBox</tooltip>
</variable>
<!--LocoIO/RCD(2) Port2 Type variables created later in this definition file-->
<!-- displayed while "special ports" = 1: on ports 1-4-->
<variable item="Port2 Special">
<compositeVal>
<compositeChoice choice="Special Go2">
<choice>Select...</choice>
<choice xml:lang="de">Auswählen...</choice>
<choice xml:lang="nl">Selecteer...</choice>
<compositeSetting label="Port2 Config" value="0"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Special Go">
<choice>Special Input: Go</choice>
<choice xml:lang="nl">Speciale Ingang: Rijden</choice>
<compositeSetting label="Port2 Config" value="45"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 1-4 set as Special Type - GO</tooltip>
</variable>
<!--Port2 Opcode1-->
<variable item="Port2 Opcode1 Address" CV="55" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port2 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port2 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="56" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 2 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port2 Opcode1 Opc" CV="54" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port2 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port2 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 2 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port2 Opcode1 Arg1" CV="55" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port2 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port2 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 2 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port2 Opcode1 Arg2sub" CV="56" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port2 Opcode1 Arg2" CV="56" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port2 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port2 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 2 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port2 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port2 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port2 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port2 Opcode1 Opc" value="0"/>
<compositeSetting label="Port2 Opcode1 Address" value="1"/>
<compositeSetting label="Port2 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port2 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct" exclude="GCA51">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port2 Opcode1 Opc" value="176"/>
<compositeSetting label="Port2 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect" exclude="GCA51">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port2 Opcode1 Opc" value="177"/>
<compositeSetting label="Port2 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct" exclude="GCA51">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port2 Opcode1 Opc" value="176"/>
<compositeSetting label="Port2 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect" exclude="GCA51">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port2 Opcode1 Opc" value="177"/>
<compositeSetting label="Port2 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 2 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port2 Opcode2-->
<variable item="Port2 Opcode2 Address" CV="132" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port2 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port2 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="133" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 2 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port2 Opcode2 Opc" CV="131" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port2 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port2 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 2 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port2 Opcode2 Arg1" CV="132" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port2 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port2 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 2 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port2 Opcode2 Arg2sub" CV="133" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port2 Opcode2 Arg2" CV="133" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port2 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port2 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 2 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port2 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port2 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port2 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port2 Opcode2 Opc" value="0"/>
<compositeSetting label="Port2 Opcode2 Address" value="1"/>
<compositeSetting label="Port2 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port2 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port2 Opcode2 Opc" value="176"/>
<compositeSetting label="Port2 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port2 Opcode2 Opc" value="177"/>
<compositeSetting label="Port2 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port2 Opcode2 Opc" value="176"/>
<compositeSetting label="Port2 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port2 Opcode2 Opc" value="177"/>
<compositeSetting label="Port2 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 2 Opcode2 OPC and ARG2</tooltip>
</variable>
<!-- ports 3-8 hidden on GCA51, TODO hide all "148" excludes also for GCA50 -->
<!--Port 3 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port3 OccuMode" CV="99" mask="XXVXXXXX" writeOnly="yes">
<!-- TODO store on disk, now hacked using fake CV number to write/recover OccuMode -->
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port3 Address" CV="10,11" mask="XVVVVVVV XXXXVVVV">
<!-- CV10 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 3 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port3 SensorAddress" CV="11,10,11" mask="XXVXXXXX XVVVVVVV XXXXVVVV">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 3 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port3 Config" CV="9" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 3 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port3 Value1" CV="10" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 3 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV11-->
<variable item="Port3 Value2A" CV="11" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 3 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port3 Value2" CV="11" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 3 Value2, filled by ComboBox</tooltip>
</variable>
<!--port 3+4 options for RCD2 only-->
<variable CV="104" mask="VXXXXXXX" item="Port3 Train Control" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Train Control:</label>
<label xml:lang="nl">Treinbeïnvloeding:</label>
<tooltip>Occupied will trigger train control, default: unselected = off</tooltip>
</variable>
<variable CV="104" mask="VXXXXXXX" item="Port3 Train Reverse" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label> Reverse:</label>
<label xml:lang="nl">Trein Omkeren:</label>
<tooltip>Occupied will trigger train reversing direction, default: unselected = off</tooltip>
</variable>
<variable CV="105" item="Port3 Train Slow Down" default="1" include="210,211">
<decVal min="1" max="255"/>
<label>Slow Down:</label>
<label xml:lang="nl">Trein vertragingstijd:</label>
<tooltip>Port1 Train Slow Down Delay (1-255)</tooltip>
</variable>
<variable CV="106" item="Port3 Train Wait" default="0" include="210,211">
<decVal min="0" max="255"/>
<label> Wait Time:</label>
<label xml:lang="nl"> Trein wachttijd:</label>
<tooltip>Port 1 Train Wait Time (1-255)</tooltip>
</variable>
<!--LocoIO/RCD(2) Port3 Type variables created later in this definition file-->
<!-- displayed while "special ports" = 1: on ports 1-4-->
<variable item="Port3 Special">
<compositeVal>
<compositeChoice choice="Special Stop2">
<choice>Select...</choice>
<choice xml:lang="de">Auswählen...</choice>
<choice xml:lang="nl">Selecteer...</choice>
<compositeSetting label="Port3 Config" value="0"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Special Stop">
<choice>Special Input: Stop</choice>
<choice xml:lang="nl">Speciale Ingang: Stop</choice>
<compositeSetting label="Port3 Config" value="46"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 1-4 set as Special Type - STOP</tooltip>
</variable>
<!--Port3 Opcode1-->
<variable item="Port3 Opcode1 Address" CV="58" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port3 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port3 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="59" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 3 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port3 Opcode1 Opc" CV="57" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port3 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port3 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 3 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port3 Opcode1 Arg1" CV="58" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port3 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port3 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 3 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port3 Opcode1 Arg2sub" CV="59" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port3 Opcode1 Arg2" CV="59" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port3 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port3 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 3 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port3 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port3 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port3 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port3 Opcode1 Opc" value="0"/>
<compositeSetting label="Port3 Opcode1 Address" value="1"/>
<compositeSetting label="Port3 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port3 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port3 Opcode1 Opc" value="176"/>
<compositeSetting label="Port3 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port3 Opcode1 Opc" value="177"/>
<compositeSetting label="Port3 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port3 Opcode1 Opc" value="176"/>
<compositeSetting label="Port3 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port3 Opcode1 Opc" value="177"/>
<compositeSetting label="Port3 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 3 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port3 Opcode2-->
<variable item="Port3 Opcode2 Address" CV="135" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port3 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port3 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="136" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 3 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port3 Opcode2 Opc" CV="134" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port3 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port3 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 3 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port3 Opcode2 Arg1" CV="135" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port3 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port3 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 3 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port3 Opcode2 Arg2sub" CV="136" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port3 Opcode2 Arg2" CV="136" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port3 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port3 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 3 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port3 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port3 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port3 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port3 Opcode2 Opc" value="0"/>
<compositeSetting label="Port3 Opcode2 Address" value="1"/>
<compositeSetting label="Port3 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port3 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port3 Opcode2 Opc" value="176"/>
<compositeSetting label="Port3 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port3 Opcode2 Opc" value="177"/>
<compositeSetting label="Port3 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port3 Opcode2 Opc" value="176"/>
<compositeSetting label="Port3 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port3 Opcode2 Opc" value="177"/>
<compositeSetting label="Port3 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 3 Opcode2 OPC and ARG2</tooltip>
</variable>
<!-- Port 4 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port4 OccuMode" CV="99" mask="XXXVXXXX" writeOnly="yes">
<!-- TODO store on disk, now hacked using fake CV number to write/recover OccuMode -->
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port4 Address" CV="13,14" mask="XVVVVVVV XXXXVVVV">
<!-- CV13 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 4 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port4 SensorAddress" CV="14,13,14" mask="XXVXXXXX XVVVVVVV XXXXVVVV">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 4 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port4 Config" CV="12" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 4 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port4 Value1" CV="13" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 4 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV14-->
<variable item="Port4 Value2A" CV="14" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 4 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port4 Value2" CV="14" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 4 Value2, filled by ComboBox</tooltip>
</variable>
<!--LocoIO/RCD(2) Port4 Type variables created later in this definition file-->
<!-- displayed while "special ports" = 1: on ports 1-4-->
<variable item="Port4 Special">
<compositeVal>
<compositeChoice choice="Special Status2">
<choice>Select...</choice>
<choice xml:lang="de">Auswählen...</choice>
<choice xml:lang="nl">Selecteer...</choice>
<compositeSetting label="Port4 Config" value="0"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Special Status">
<choice>Special Output: Go/Stop Status</choice>
<choice xml:lang="nl">Speciale Uitgang: Start/Stop Status</choice>
<compositeSetting label="Port4 Config" value="194"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 1-4 set as Special Type - GO/STOP</tooltip>
</variable>
<!--Port4 Opcode1-->
<variable item="Port4 Opcode1 Address" CV="61" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port4 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port4 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="62" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 4 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port4 Opcode1 Opc" CV="60" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port4 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port4 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 4 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port4 Opcode1 Arg1" CV="61" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port4 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port4 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 4 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port4 Opcode1 Arg2sub" CV="62" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port4 Opcode1 Arg2" CV="62" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port4 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port4 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 4 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port4 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port4 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port4 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port4 Opcode1 Opc" value="0"/>
<compositeSetting label="Port4 Opcode1 Address" value="1"/>
<compositeSetting label="Port4 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port4 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port4 Opcode1 Opc" value="176"/>
<compositeSetting label="Port4 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port4 Opcode1 Opc" value="177"/>
<compositeSetting label="Port4 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port4 Opcode1 Opc" value="176"/>
<compositeSetting label="Port4 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port4 Opcode1 Opc" value="177"/>
<compositeSetting label="Port4 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 4 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port4 Opcode2-->
<variable item="Port4 Opcode2 Address" CV="138" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port4 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port4 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="139" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 4 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port4 Opcode2 Opc" CV="137" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port4 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port4 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 4 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port4 Opcode2 Arg1" CV="138" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port4 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port4 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 4 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port4 Opcode2 Arg2sub" CV="139" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port4 Opcode2 Arg2" CV="139" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port4 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port4 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 4 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port4 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port4 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port4 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port4 Opcode2 Opc" value="0"/>
<compositeSetting label="Port4 Opcode2 Address" value="1"/>
<compositeSetting label="Port4 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port4 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port4 Opcode2 Opc" value="176"/>
<compositeSetting label="Port4 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port4 Opcode2 Opc" value="177"/>
<compositeSetting label="Port4 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port4 Opcode2 Opc" value="176"/>
<compositeSetting label="Port4 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port4 Opcode2 Opc" value="177"/>
<compositeSetting label="Port4 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 4 Opcode2 OPC and ARG2</tooltip>
</variable>
<!-- Port 5 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port5 OccuMode" CV="99" mask="XXXXVXXX" writeOnly="yes" exclude="101,102,103,104,105,106">
<!-- TODO store on disk, now hacked using fake CV number to write/recover OccuMode -->
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port5 Address" CV="16,17" mask="XVVVVVVV XXXXVVVV">
<!-- CV16 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 5 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port5 SensorAddress" CV="17,16,17" mask="XXVXXXXX XVVVVVVV XXXXVVVV" exclude="101,102,103,104,105,106">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 5 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port5 Config" CV="15" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 5 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port5 Value1" CV="16" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 5 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV17-->
<variable item="Port5 Value2A" CV="17" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 5 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port5 Value2" CV="17" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 5 Value2, filled by ComboBox</tooltip>
</variable>
<!--port 5+6 options for RCD2 only-->
<variable CV="107" mask="XXXXXXXV" item="Port5 Train Control" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Train Control:</label>
<label xml:lang="nl">Treinbeïnvloeding:</label>
<tooltip>Occupied will trigger train control, default: unselected = off</tooltip>
</variable>
<variable CV="107" mask="XXXXXXVX" item="Port5 Train Reverse" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Reverse Direction:</label>
<label xml:lang="nl">Trein rijrichting omkeren:</label>
<tooltip>Occupied will trigger train reversing, default: unselected = off</tooltip>
</variable>
<variable CV="108" item="Port5 Train Slow Down" default="1" include="210,211">
<decVal min="1" max="255"/>
<label>Slow Down:</label>
<label xml:lang="nl">Trein vertragingstijd:</label>
<tooltip>Port1 Train Slow Down Delay (1-255)</tooltip>
</variable>
<variable CV="109" item="Port5 Train Wait" default="0" include="210,211">
<decVal min="0" max="255"/>
<label> Wait Time:</label>
<label xml:lang="nl"> Trein wachttijd:</label>
<tooltip>Port 1 Train Wait Time (1-255)</tooltip>
</variable>
<!--LocoIO/RCD(2) Port5 Type variables created later in this definition file-->
<!-- displayed on LocoServo Port5 options predefined -->
<variable item="Port5 Type" include="101,102,103,104,105,106">
<compositeVal>
<!--next output type only available on ports 5-12 on LocoServo-->
<compositeChoice choice="Output Servo">
<!-- Servo values are identical to Output Fixed 1 Off, differentiated by PIC version -->
<choice>Output: Servo 1 (2/4 pos on tab Loco...)</choice>
<choice xml:lang="nl">Uitgang: Servo (2/4 pos. op tab LocoIO)</choice>
<compositeSetting label="Port5 Config" value="128"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<!-- Port5 OccuMode not created for LocoServo, so no need to set-->
</compositeChoice>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port5 Config" value="0"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<!-- <compositeSetting label="Port5 OccuMode" value="0"/>-->
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 5 Config and Value2 for servo connection</tooltip>
</variable>
<!--Port5 Opcode1-->
<variable item="Port5 Opcode1 Address" CV="64" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port5 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port5 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="65" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 5 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port5 Opcode1 Opc" CV="63" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port5 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port5 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 5 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port5 Opcode1 Arg1" CV="64" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port5 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port5 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 5 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port5 Opcode1 Arg2sub" CV="65" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port5 Opcode1 Arg2" CV="65" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port5 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port5 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 5 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port5 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port5 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port5 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port5 Opcode1 Opc" value="0"/>
<compositeSetting label="Port5 Opcode1 Address" value="1"/>
<compositeSetting label="Port5 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port5 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port5 Opcode1 Opc" value="176"/>
<compositeSetting label="Port5 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port5 Opcode1 Opc" value="177"/>
<compositeSetting label="Port5 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port5 Opcode1 Opc" value="176"/>
<compositeSetting label="Port5 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port5 Opcode1 Opc" value="177"/>
<compositeSetting label="Port5 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 5 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port5 Opcode2-->
<variable item="Port5 Opcode2 Address" CV="141" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port5 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port5 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="142" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 5 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port5 Opcode2 Opc" CV="140" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port5 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port5 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 5 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port5 Opcode2 Arg1" CV="141" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port5 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port5 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 5 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port5 Opcode2 Arg2sub" CV="142" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port5 Opcode2 Arg2" CV="142" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port5 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port5 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 5 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port5 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port5 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port5 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port5 Opcode2 Opc" value="0"/>
<compositeSetting label="Port5 Opcode2 Address" value="1"/>
<compositeSetting label="Port5 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port5 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port5 Opcode2 Opc" value="176"/>
<compositeSetting label="Port5 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port5 Opcode2 Opc" value="177"/>
<compositeSetting label="Port5 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port5 Opcode2 Opc" value="176"/>
<compositeSetting label="Port5 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port5 Opcode2 Opc" value="177"/>
<compositeSetting label="Port5 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 5 Opcode2 OPC and ARG2</tooltip>
</variable>
<!--Servo 1 variables-->
<variable item="Port5 Pos1" CV="101" default="1" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos1:</label>
<tooltip>Servo position #1 (1-127)</tooltip>
</variable>
<variable item="Port5 Pos2" CV="102" default="127" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos2:</label>
<tooltip>Servo position #2 (1-127)</tooltip>
</variable>
<variable item="Port5 Speed" CV="103" default="0" include="101,102,103,104,105,106">
<decVal min="0" max="7"/>
<label>Speed:</label>
<label xml:lang="de">Geschw.:</label>
<label xml:lang="nl">Snelh.:</label>
<tooltip>Servo speed (1 fast - 7 slow, 4-5 = continuous). Keep same as Port6 speed on 4-pos servo</tooltip>
</variable>
<!-- Port 6 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port6 OccuMode" CV="99" mask="XXXXXVXX" writeOnly="yes" exclude="101,102,103,104,105,106">
<!-- TODO store on disk, now hacked using fake CV number to write/recover OccuMode -->
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port6 Address" CV="19,20" mask="XVVVVVVV XXXXVVVV">
<!-- CV19 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 6 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port6 SensorAddress" CV="20,19,20" mask="XXVXXXXX XVVVVVVV XXXXVVVV" exclude="101,102,103,104,105,106">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 4 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port6 Config" CV="18" default="0"><!--TODO fix value out of bound for LocoBooster-->
<decVal/>
<label>Config:</label>
<tooltip>Port 6 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port6 Value1" CV="19" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 6 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV20-->
<variable item="Port6 Value2A" CV="20" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 6 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port6 Value2" CV="20" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 6 Value2, filled by ComboBox</tooltip>
</variable>
<!--LocoIO/RCD(2) Port6 Type variables created later in this definition file-->
<!--Port6 Opcode1-->
<variable item="Port6 Opcode1 Address" CV="67" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port6 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port6 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="68" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 6 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port6 Opcode1 Opc" CV="66" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port6 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port6 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 6 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port6 Opcode1 Arg1" CV="67" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port6 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port6 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 6 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port6 Opcode1 Arg2sub" CV="68" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port6 Opcode1 Arg2" CV="68" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port6 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port6 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 6 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port6 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port6 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port6 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port6 Opcode1 Opc" value="0"/>
<compositeSetting label="Port6 Opcode1 Address" value="1"/>
<compositeSetting label="Port6 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port6 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port6 Opcode1 Opc" value="176"/>
<compositeSetting label="Port6 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port6 Opcode1 Opc" value="177"/>
<compositeSetting label="Port6 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port6 Opcode1 Opc" value="176"/>
<compositeSetting label="Port6 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port6 Opcode1 Opc" value="177"/>
<compositeSetting label="Port6 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 6 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port6 Opcode2-->
<variable item="Port6 Opcode2 Address" CV="144" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port6 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port6 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="145" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 6 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port6 Opcode2 Opc" CV="143" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port6 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port6 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 6 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port6 Opcode2 Arg1" CV="144" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port6 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port6 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 6 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port6 Opcode2 Arg2sub" CV="145" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port6 Opcode2 Arg2" CV="145" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port6 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port6 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 6 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port6 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port6 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port6 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port6 Opcode2 Opc" value="0"/>
<compositeSetting label="Port6 Opcode2 Address" value="1"/>
<compositeSetting label="Port6 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port6 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port6 Opcode2 Opc" value="176"/>
<compositeSetting label="Port6 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port6 Opcode2 Opc" value="177"/>
<compositeSetting label="Port6 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port6 Opcode2 Opc" value="176"/>
<compositeSetting label="Port6 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port6 Opcode2 Opc" value="177"/>
<compositeSetting label="Port6 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 6 Opcode2 OPC and ARG2</tooltip>
</variable>
<!--Servo 2 variables-->
<variable item="Port6 Pos1" CV="104" default="1" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos1:</label>
<tooltip>Servo position #1 (1-127)</tooltip>
</variable>
<variable item="Port6 Pos2" CV="105" default="127" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos2:</label>
<tooltip>Servo position #2 (1-127)</tooltip>
</variable>
<variable item="Port6 Speed" CV="106" default="0" include="101,102,103,104,105,106">
<decVal min="0" max="7"/>
<label>Speed:</label>
<label xml:lang="de">Geschw.:</label>
<label xml:lang="nl">Snelh.:</label>
<tooltip>Servo speed (1 fast - 7 slow, 4-5 = continuous). Keep same as Port5 speed on 4-pos servo</tooltip>
</variable>
<!-- Port 7 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port7 OccuMode" CV="99" mask="XXXXXXVX" writeOnly="yes" exclude="101,102,103,104,105,106">
<!-- TODO store on disk, now hacked using fake CV number to write/recover OccuMode -->
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port7 Address" CV="22,23" mask="XVVVVVVV XXXXVVVV">
<!-- CV22 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 7 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port7 SensorAddress" CV="23,22,23" mask="XXVXXXXX XVVVVVVV XXXXVVVV" exclude="101,102,103,104,105,106">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 7 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port7 Config" CV="21" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 7 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port7 Value1" CV="22" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 7 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV23-->
<variable item="Port7 Value2A" CV="23" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 7 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port7 Value2" CV="23" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 7 Value2, filled by ComboBox</tooltip>
</variable>
<!--port 7+8 options for RCD2 only-->
<variable CV="110" mask="XXXXXXXV" item="Port7 Train Control" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Train Control:</label>
<label xml:lang="nl">Treinbeïnvloeding:</label>
<tooltip>Occupied will trigger train control, default: unselected = off</tooltip>
</variable>
<variable CV="110" mask="XXXXXXVX" item="Port7 Train Reverse" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Reverse Direction:</label>
<label xml:lang="nl">Trein rijrichting omkeren:</label>
<tooltip>Occupied will trigger train reversing, default: unselected = off</tooltip>
</variable>
<variable CV="111" item="Port7 Train Slow Down" default="1" include="210,211">
<decVal min="1" max="255"/>
<label>Slow Down:</label>
<label xml:lang="nl">Trein vertragingstijd:</label>
<tooltip>Port1 Train Slow Down Delay (1-255)</tooltip>
</variable>
<variable CV="112" item="Port7 Train Wait" default="0" include="210,211">
<decVal min="0" max="255"/>
<label> Wait Time:</label>
<label xml:lang="nl"> Trein wachttijd:</label>
<tooltip>Port 1 Train Wait Time (1-255)</tooltip>
</variable>
<!--LocoIO/RCD(2) Port7 Type variables created later in this definition file-->
<!--Port7 Opcode1-->
<variable item="Port7 Opcode1 Address" CV="70" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port7 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port7 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="71" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 7 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port7 Opcode1 Opc" CV="69" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port7 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port7 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 7 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port7 Opcode1 Arg1" CV="70" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port7 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port7 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 7 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port7 Opcode1 Arg2sub" CV="71" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port7 Opcode1 Arg2" CV="71" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port7 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port7 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 7 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port7 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port7 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port7 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port7 Opcode1 Opc" value="0"/>
<compositeSetting label="Port7 Opcode1 Address" value="1"/>
<compositeSetting label="Port7 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port7 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port7 Opcode1 Opc" value="176"/>
<compositeSetting label="Port7 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port7 Opcode1 Opc" value="177"/>
<compositeSetting label="Port7 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port7 Opcode1 Opc" value="176"/>
<compositeSetting label="Port7 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port7 Opcode1 Opc" value="177"/>
<compositeSetting label="Port7 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 7 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port7 Opcode2-->
<variable item="Port7 Opcode2 Address" CV="147" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port7 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port7 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="148" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 7 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port7 Opcode2 Opc" CV="146" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port7 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port7 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 7 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port7 Opcode2 Arg1" CV="147" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port7 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port7 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 7 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port7 Opcode2 Arg2sub" CV="148" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port7 Opcode2 Arg2" CV="148" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port7 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port7 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 7 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port7 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port7 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port7 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port7 Opcode2 Opc" value="0"/>
<compositeSetting label="Port7 Opcode2 Address" value="1"/>
<compositeSetting label="Port7 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port7 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port7 Opcode2 Opc" value="176"/>
<compositeSetting label="Port7 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port7 Opcode2 Opc" value="177"/>
<compositeSetting label="Port7 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port7 Opcode2 Opc" value="176"/>
<compositeSetting label="Port7 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port7 Opcode2 Opc" value="177"/>
<compositeSetting label="Port7 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 7 Opcode2 OPC and ARG2</tooltip>
</variable>
<!--Servo 3 variables-->
<variable item="Port7 Pos1" CV="107" default="1" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos1:</label>
<tooltip>Servo position #1 (1-127)</tooltip>
</variable>
<variable item="Port7 Pos2" CV="108" default="127" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos2:</label>
<tooltip>Servo position #2 (1-127)</tooltip>
</variable>
<variable item="Port7 Speed" CV="109" default="0" include="101,102,103,104,105,106">
<decVal min="0" max="7"/>
<label>Speed:</label>
<label xml:lang="de">Geschw.:</label>
<label xml:lang="nl">Snelh.:</label>
<tooltip>Servo speed (1 fast - 7 slow, 4-5 = continuous). Keep same as Port8 speed on 4-pos servo</tooltip>
</variable>
<!-- Port 8 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port8 OccuMode" CV="99" mask="XXXXXXXV" writeOnly="yes" exclude="101,102,103,104,105,106">
<!-- TODO store on disk, now hacked using fake CV number to write/recover OccuMode -->
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port8 Address" CV="25,26" mask="XVVVVVVV XXXXVVVV">
<!-- CV25 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 8 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port8 SensorAddress" CV="26,25,26" mask="XXVXXXXX XVVVVVVV XXXXVVVV" exclude="101,102,103,104,105,106">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 8 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port8 Config" CV="24" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 8 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port8 Value1" CV="25" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 8 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV26-->
<variable item="Port8 Value2A" CV="26" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 8 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port8 Value2" CV="26" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 8 Value2, filled by ComboBox</tooltip>
</variable>
<!--LocoIO/RCD(2) Port8 Type variables created later in this definition file-->
<!--Port8 Opcode1-->
<variable item="Port8 Opcode1 Address" CV="73" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port8 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port8 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="74" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 8 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port8 Opcode1 Opc" CV="72" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port8 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port8 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 8 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port8 Opcode1 Arg1" CV="73" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port8 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port8 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 8 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port8 Opcode1 Arg2sub" CV="74" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port8 Opcode1 Arg2" CV="74" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port8 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port8 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 8 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port8 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port8 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port8 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port8 Opcode1 Opc" value="0"/>
<compositeSetting label="Port8 Opcode1 Address" value="1"/>
<compositeSetting label="Port8 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port8 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port8 Opcode1 Opc" value="176"/>
<compositeSetting label="Port8 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port8 Opcode1 Opc" value="177"/>
<compositeSetting label="Port8 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port8 Opcode1 Opc" value="176"/>
<compositeSetting label="Port8 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port8 Opcode1 Opc" value="177"/>
<compositeSetting label="Port8 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 8 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port8 Opcode2-->
<variable item="Port8 Opcode2 Address" CV="150" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port8 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port8 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="151" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 8 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port8 Opcode2 Opc" CV="149" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port8 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port8 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 8 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port8 Opcode2 Arg1" CV="150" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port8 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port8 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 8 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port8 Opcode2 Arg2sub" CV="151" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port8 Opcode2 Arg2" CV="151" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port8 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port8 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 8 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port8 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port8 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port8 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port8 Opcode2 Opc" value="0"/>
<compositeSetting label="Port8 Opcode2 Address" value="1"/>
<compositeSetting label="Port8 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port8 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port8 Opcode2 Opc" value="176"/>
<compositeSetting label="Port8 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port8 Opcode2 Opc" value="177"/>
<compositeSetting label="Port8 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port8 Opcode2 Opc" value="176"/>
<compositeSetting label="Port8 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port8 Opcode2 Opc" value="177"/>
<compositeSetting label="Port8 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 8 Opcode2 OPC and ARG2</tooltip>
</variable>
<!--Servo 4 variables-->
<variable item="Port8 Pos1" CV="110" default="1" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos1:</label>
<tooltip>Servo position #1 (1-127)</tooltip>
</variable>
<variable item="Port8 Pos2" CV="111" default="127" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos2:</label>
<tooltip>Servo position #2 (1-127)</tooltip>
</variable>
<variable item="Port8 Speed" CV="112" default="0" include="101,102,103,104,105,106">
<decVal min="0" max="7"/>
<label>Speed:</label>
<label xml:lang="de">Geschw.:</label>
<label xml:lang="nl">Snelh.:</label>
<tooltip>Servo speed (1 fast - 7 slow, 4-5 = continuous). Keep same as Port7 speed on 4-pos servo</tooltip>
</variable>
<!-- Port 9 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port9 OccuMode" CV="176" mask="VXXXXXXX" writeOnly="yes" exclude="101,102,103,104,105,106">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port9 Address" CV="28,29" mask="XVVVVVVV XXXXVVVV">
<!-- CV19 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 9 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port9 SensorAddress" CV="29,28,29" mask="XXVXXXXX XVVVVVVV XXXXVVVV" exclude="101,102,103,104,105,106">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 9 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port9 Config" CV="27" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 9 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port9 Value1" CV="28" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 9 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV29-->
<variable item="Port9 Value2A" CV="29" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 9 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port9 Value2" CV="29" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 9 Value2, filled by ComboBox</tooltip>
</variable>
<!--port 9+10 options for RCD2 only-->
<variable CV="113" mask="XXXXXXXV" item="Port9 Train Control" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Train Control:</label>
<label xml:lang="nl">Treinbeïnvloeding:</label>
<tooltip>Occupied will trigger train control, default: unselected = off</tooltip>
</variable>
<variable CV="113" mask="XXXXXXVX" item="Port9 Train Reverse" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Reverse Direction:</label>
<label xml:lang="nl">Trein rijrichting omkeren:</label>
<tooltip>Occupied will trigger train reversing, default: unselected = off</tooltip>
</variable>
<variable CV="114" item="Port9 Train Slow Down" default="1" include="210,211">
<decVal min="1" max="255"/>
<label>Slow Down:</label>
<label xml:lang="nl">Trein vertragingstijd:</label>
<tooltip>Port1 Train Slow Down Delay (1-255)</tooltip>
</variable>
<variable CV="115" item="Port9 Train Wait" default="0" include="210,211">
<decVal min="0" max="255"/>
<label> Wait Time:</label>
<label xml:lang="nl"> Trein wachttijd:</label>
<tooltip>Port 1 Train Wait Time (1-255)</tooltip>
</variable>
<!--LocoIO/RCD(2) Port9 Type variables created later in this definition file-->
<!--Port9 Opcode1-->
<variable item="Port9 Opcode1 Address" CV="76" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port9 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port9 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="77" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 9 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port9 Opcode1 Opc" CV="75" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port9 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port9 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 9 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port9 Opcode1 Arg1" CV="76" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port9 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port9 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 9 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port9 Opcode1 Arg2sub" CV="77" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port9 Opcode1 Arg2" CV="77" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port9 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port9 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 9 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port9 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port9 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port9 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port9 Opcode1 Opc" value="0"/>
<compositeSetting label="Port9 Opcode1 Address" value="1"/>
<compositeSetting label="Port9 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port9 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port9 Opcode1 Opc" value="176"/>
<compositeSetting label="Port9 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port9 Opcode1 Opc" value="177"/>
<compositeSetting label="Port9 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port9 Opcode1 Opc" value="176"/>
<compositeSetting label="Port9 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port9 Opcode1 Opc" value="177"/>
<compositeSetting label="Port9 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 9 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port9 Opcode2-->
<variable item="Port9 Opcode2 Address" CV="153" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port9 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port9 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="154" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 9 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port9 Opcode2 Opc" CV="152" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port9 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port9 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 9 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port9 Opcode2 Arg1" CV="153" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port9 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port9 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 9 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port9 Opcode2 Arg2sub" CV="154" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port9 Opcode2 Arg2" CV="154" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port9 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port9 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 9 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port9 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port9 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port9 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port9 Opcode2 Opc" value="0"/>
<compositeSetting label="Port9 Opcode2 Address" value="1"/>
<compositeSetting label="Port9 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port9 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port9 Opcode2 Opc" value="176"/>
<compositeSetting label="Port9 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port9 Opcode2 Opc" value="177"/>
<compositeSetting label="Port9 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port9 Opcode2 Opc" value="176"/>
<compositeSetting label="Port9 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port9 Opcode2 Opc" value="177"/>
<compositeSetting label="Port9 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 9 Opcode2 OPC and ARG2</tooltip>
</variable>
<!--Servo 5 variables-->
<variable item="Port9 Pos1" CV="113" default="1" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos1:</label>
<tooltip>Servo position #1 (1-127)</tooltip>
</variable>
<variable item="Port9 Pos2" CV="114" default="127" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos2:</label>
<tooltip>Servo position #2 (1-127)</tooltip>
</variable>
<variable item="Port9 Speed" CV="115" default="0" include="101,102,103,104,105,106">
<decVal min="0" max="7"/>
<label>Speed:</label>
<label xml:lang="de">Geschw.:</label>
<label xml:lang="nl">Snelh.:</label>
<tooltip>Servo speed (1 fast - 7 slow, 4-5 = continuous). Keep same as Port10 speed on 4-pos servo</tooltip>
</variable>
<!-- Port 10 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port10 OccuMode" CV="176" mask="XVXXXXXX" writeOnly="yes" exclude="101,102,103,104,105,106">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port10 Address" CV="31,32" mask="XVVVVVVV XXXXVVVV">
<!-- CV31 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 10 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port10 SensorAddress" CV="32,31,32" mask="XXVXXXXX XVVVVVVV XXXXVVVV" exclude="101,102,103,104,105,106">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 10 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port10 Config" CV="30" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 10 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port10 Value1" CV="31" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 10 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV32-->
<variable item="Port10 Value2A" CV="32" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 10 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port10 Value2" CV="32" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 10 Value2, filled by ComboBox</tooltip>
</variable>
<!--LocoIO/RCD(2) Port10 Type variables created later in this definition file-->
<!--Port10 Opcode1-->
<variable item="Port10 Opcode1 Address" CV="79" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port10 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port10 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="80" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 10 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port10 Opcode1 Opc" CV="78" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port10 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port10 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 10 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port10 Opcode1 Arg1" CV="79" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port10 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port10 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 10 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port10 Opcode1 Arg2sub" CV="80" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port10 Opcode1 Arg2" CV="80" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port10 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port10 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 10 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port10 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port10 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port10 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port10 Opcode1 Opc" value="0"/>
<compositeSetting label="Port10 Opcode1 Address" value="1"/>
<compositeSetting label="Port10 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port10 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port10 Opcode1 Opc" value="176"/>
<compositeSetting label="Port10 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port10 Opcode1 Opc" value="177"/>
<compositeSetting label="Port10 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port10 Opcode1 Opc" value="176"/>
<compositeSetting label="Port10 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port10 Opcode1 Opc" value="177"/>
<compositeSetting label="Port10 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 10 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port10 Opcode2-->
<variable item="Port10 Opcode2 Address" CV="156" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port10 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port10 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="157" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 10 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port10 Opcode2 Opc" CV="155" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port10 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port10 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 10 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port10 Opcode2 Arg1" CV="156" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port10 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port10 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 10 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port10 Opcode2 Arg2sub" CV="157" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port10 Opcode2 Arg2" CV="157" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port10 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port10 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 10 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port10 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port10 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port10 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port10 Opcode2 Opc" value="0"/>
<compositeSetting label="Port10 Opcode2 Address" value="1"/>
<compositeSetting label="Port10 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port10 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port10 Opcode2 Opc" value="176"/>
<compositeSetting label="Port10 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port10 Opcode2 Opc" value="177"/>
<compositeSetting label="Port10 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port10 Opcode2 Opc" value="176"/>
<compositeSetting label="Port10 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port10 Opcode2 Opc" value="177"/>
<compositeSetting label="Port10 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 10 Opcode2 OPC and ARG2</tooltip>
</variable>
<!--Servo 6 variables-->
<variable item="Port10 Pos1" CV="116" default="1" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos1:</label>
<tooltip>Servo position #1 (1-127)</tooltip>
</variable>
<variable item="Port10 Pos2" CV="117" default="127" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos2:</label>
<tooltip>Servo position #2 (1-127)</tooltip>
</variable>
<variable item="Port10 Speed" CV="118" default="0" include="101,102,103,104,105,106">
<decVal min="0" max="7"/>
<label>Speed:</label>
<label xml:lang="de">Geschw.:</label>
<label xml:lang="nl">Snelh.:</label>
<tooltip>Servo speed (1 fast - 7 slow, 4-5 = continuous). Keep same as Port9 speed on 4-pos servo</tooltip>
</variable>
<!-- Port 11 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port11 OccuMode" CV="176" mask="XXVXXXXX" writeOnly="yes" exclude="101,102,103,104,105,106">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port11 Address" CV="34,35" mask="XVVVVVVV XXXXVVVV">
<!-- CV34 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 11 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port11 SensorAddress" CV="35,34,35" mask="XXVXXXXX XVVVVVVV XXXXVVVV" exclude="101,102,103,104,105,106">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 11 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port11 Config" CV="33" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 11 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port11 Value1" CV="34" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 11 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV35-->
<variable item="Port11 Value2A" CV="35" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 11 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port11 Value2" CV="35" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 11 Value2, filled by ComboBox</tooltip>
</variable>
<!--port 11+12 options for RCD2 only-->
<variable CV="116" mask="XXXXXXXV" item="Port11 Train Control" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Train Control:</label>
<label xml:lang="nl">Treinbeïnvloeding:</label>
<tooltip>Occupied will trigger train control, default: unselected = off</tooltip>
</variable>
<variable CV="116" mask="XXXXXXVX" item="Port11 Train Reverse" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Reverse Direction:</label>
<label xml:lang="nl">Trein rijrichting omkeren:</label>
<tooltip>Occupied will trigger train reversing, default: unselected = off</tooltip>
</variable>
<variable CV="117" item="Port11 Train Slow Down" default="1" include="210,211">
<decVal min="1" max="255"/>
<label>Slow Down:</label>
<label xml:lang="nl">Trein vertragingstijd:</label>
<tooltip>Port1 Train Slow Down Delay (1-255)</tooltip>
</variable>
<variable CV="118" item="Port11 Train Wait" default="0" include="210,211">
<decVal min="0" max="255"/>
<label> Wait Time:</label>
<label xml:lang="nl"> Trein wachttijd:</label>
<tooltip>Port 1 Train Wait Time (1-255)</tooltip>
</variable>
<!--LocoIO/RCD(2) Port11 Type variables created later in this definition file-->
<!--Port11 Opcode1-->
<variable item="Port11 Opcode1 Address" CV="82" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port11 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port11 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="83" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 11 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port11 Opcode1 Opc" CV="81" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port11 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port11 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 11 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port11 Opcode1 Arg1" CV="82" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port11 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port11 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 11 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port11 Opcode1 Arg2sub" CV="83" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port11 Opcode1 Arg2" CV="83" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port11 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port11 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 11 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port11 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port11 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port11 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port11 Opcode1 Opc" value="0"/>
<compositeSetting label="Port11 Opcode1 Address" value="1"/>
<compositeSetting label="Port11 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port11 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port11 Opcode1 Opc" value="176"/>
<compositeSetting label="Port11 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port11 Opcode1 Opc" value="177"/>
<compositeSetting label="Port11 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port11 Opcode1 Opc" value="176"/>
<compositeSetting label="Port11 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port11 Opcode1 Opc" value="177"/>
<compositeSetting label="Port11 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 11 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port11 Opcode2-->
<variable item="Port11 Opcode2 Address" CV="159" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port11 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port11 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="160" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 11 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port11 Opcode2 Opc" CV="158" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port11 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port11 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 11 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port11 Opcode2 Arg1" CV="159" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port11 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port11 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 11 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port11 Opcode2 Arg2sub" CV="160" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port11 Opcode2 Arg2" CV="160" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port11 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port11 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 11 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port11 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port11 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port11 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port11 Opcode2 Opc" value="0"/>
<compositeSetting label="Port11 Opcode2 Address" value="1"/>
<compositeSetting label="Port11 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port11 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port11 Opcode2 Opc" value="176"/>
<compositeSetting label="Port11 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port11 Opcode2 Opc" value="177"/>
<compositeSetting label="Port11 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port11 Opcode2 Opc" value="176"/>
<compositeSetting label="Port11 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port11 Opcode2 Opc" value="177"/>
<compositeSetting label="Port11 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 11 Opcode2 OPC and ARG2</tooltip>
</variable>
<!--Servo 5 variables-->
<variable item="Port11 Pos1" CV="119" default="1" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos1:</label>
<tooltip>Servo position #1 (1-127)</tooltip>
</variable>
<variable item="Port11 Pos2" CV="120" default="127" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos2:</label>
<tooltip>Servo position #2 (1-127)</tooltip>
</variable>
<variable item="Port11 Speed" CV="121" default="0" include="101,102,103,104,105,106">
<decVal min="0" max="7"/>
<label>Speed:</label>
<label xml:lang="de">Geschw.:</label>
<label xml:lang="nl">Snelh.:</label>
<tooltip>Servo speed (1 fast - 7 slow, 4-5 = continuous). Keep same as Port12 speed on 4-pos servo</tooltip>
</variable>
<!-- Port 12 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port12 OccuMode" CV="176" mask="XXXVXXXX" writeOnly="yes" exclude="101,102,103,104,105,106">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port12 Address" CV="37,38" mask="XVVVVVVV XXXXVVVV">
<!-- CV37 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 12 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port12 SensorAddress" CV="38,37,38" mask="XXVXXXXX XVVVVVVV XXXXVVVV" exclude="101,102,103,104,105,106">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 12 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port12 Config" CV="36" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 12 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port12 Value1" CV="37" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 12 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV38-->
<variable item="Port12 Value2A" CV="38" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 12 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port12 Value2" CV="38" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 12 Value2, filled by ComboBox</tooltip>
</variable>
<!--LocoIO/RCD(2) Port12 Type variables created later in this definition file-->
<!--Port12 Opcode1-->
<variable item="Port12 Opcode1 Address" CV="85" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port12 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port12 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="86" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 12 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port12 Opcode1 Opc" CV="84" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port12 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port12 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 12 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port12 Opcode1 Arg1" CV="85" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port12 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port12 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 12 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port12 Opcode1 Arg2sub" CV="86" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port12 Opcode1 Arg2" CV="86" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port12 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port12 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 12 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port12 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port12 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port12 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port12 Opcode1 Opc" value="0"/>
<compositeSetting label="Port12 Opcode1 Address" value="1"/>
<compositeSetting label="Port12 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port12 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port12 Opcode1 Opc" value="176"/>
<compositeSetting label="Port12 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port12 Opcode1 Opc" value="177"/>
<compositeSetting label="Port12 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port12 Opcode1 Opc" value="176"/>
<compositeSetting label="Port12 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port12 Opcode1 Opc" value="177"/>
<compositeSetting label="Port12 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 12 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port12 Opcode2-->
<variable item="Port12 Opcode2 Address" CV="162" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port12 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port12 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="163" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 12 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port12 Opcode2 Opc" CV="161" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port12 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port12 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 12 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port12 Opcode2 Arg1" CV="162" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port12 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port12 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 12 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port12 Opcode2 Arg2sub" CV="163" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port12 Opcode2 Arg2" CV="163" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port12 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port12 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 12 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port12 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port12 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port12 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port12 Opcode2 Opc" value="0"/>
<compositeSetting label="Port12 Opcode2 Address" value="1"/>
<compositeSetting label="Port12 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port12 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port12 Opcode2 Opc" value="176"/>
<compositeSetting label="Port12 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port12 Opcode2 Opc" value="177"/>
<compositeSetting label="Port12 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port12 Opcode2 Opc" value="176"/>
<compositeSetting label="Port12 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port12 Opcode2 Opc" value="177"/>
<compositeSetting label="Port12 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 12 Opcode2 OPC and ARG2</tooltip>
</variable>
<!--Servo 6 variables-->
<variable item="Port12 Pos1" CV="122" default="1" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos1:</label>
<tooltip>Servo position #1 (1-127)</tooltip>
</variable>
<variable item="Port12 Pos2" CV="123" default="127" include="101,102,103,104,105,106">
<decVal min="1" max="127"/>
<label> Pos2:</label>
<tooltip>Servo position #2 (1-127)</tooltip>
</variable>
<variable item="Port12 Speed" CV="124" default="0" include="101,102,103,104,105,106">
<decVal min="0" max="7"/>
<label>Speed:</label>
<label xml:lang="de">Geschw.:</label>
<label xml:lang="nl">Snelh.:</label>
<tooltip>Servo speed (1 fast - 7 slow, 4-5 = continuous). Keep same as Port11 speed on 4-pos servo</tooltip>
</variable>
<!-- Port 13 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port13 OccuMode" CV="176" mask="XXXXVXXX" writeOnly="yes">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port13 Address" CV="40,41" mask="XVVVVVVV XXXXVVVV">
<!-- CV40 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 13 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port13 SensorAddress" CV="41,40,41" mask="XXVXXXXX XVVVVVVV XXXXVVVV">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 13 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port13 Config" CV="39" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 13 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port13 Value1" CV="40" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 13 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV41-->
<variable item="Port13 Value2A" CV="41" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 13 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port13 Value2" CV="41" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 13 Value2, filled by ComboBox</tooltip>
</variable>
<!--port 13+14 options for RCD2 only-->
<variable CV="119" mask="XXXXXXXV" item="Port13 Train Control" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Train Control:</label>
<label xml:lang="nl">Treinbeïnvloeding:</label>
<tooltip>Occupied will trigger train control, default: unselected = off</tooltip>
</variable>
<variable CV="119" mask="XXXXXXVX" item="Port13 Train Reverse" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Reverse Direction:</label>
<label xml:lang="nl">Trein rijrichting omkeren:</label>
<tooltip>Occupied will trigger train reversing, default: unselected = off</tooltip>
</variable>
<variable CV="120" item="Port13 Train Slow Down" default="1" include="210,211">
<decVal min="1" max="255"/>
<label>Slow Down:</label>
<label xml:lang="nl">Trein vertragingstijd:</label>
<tooltip>Port1 Train Slow Down Delay (1-255)</tooltip>
</variable>
<variable CV="121" item="Port13 Train Wait" default="0" include="210,211">
<decVal min="0" max="255"/>
<label> Wait Time:</label>
<label xml:lang="nl"> Trein wachttijd:</label>
<tooltip>Port 1 Train Wait Time (1-255)</tooltip>
</variable>
<!--LocoIO/RCD(2) Port13 Type variables created later in this definition file-->
<!--Port13 Opcode1-->
<variable item="Port13 Opcode1 Address" CV="88" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port13 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port13 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="89" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 13 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port13 Opcode1 Opc" CV="87" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port13 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port13 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 13 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port13 Opcode1 Arg1" CV="88" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port13 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port13 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 13 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port13 Opcode1 Arg2sub" CV="89" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port13 Opcode1 Arg2" CV="89" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port13 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port13 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 13 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port13 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port13 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port13 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port13 Opcode1 Opc" value="0"/>
<compositeSetting label="Port13 Opcode1 Address" value="1"/>
<compositeSetting label="Port13 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port13 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port13 Opcode1 Opc" value="176"/>
<compositeSetting label="Port13 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port13 Opcode1 Opc" value="177"/>
<compositeSetting label="Port13 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port13 Opcode1 Opc" value="176"/>
<compositeSetting label="Port13 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port13 Opcode1 Opc" value="177"/>
<compositeSetting label="Port13 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 13 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port13 Opcode2-->
<variable item="Port13 Opcode2 Address" CV="165" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port13 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port13 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="166" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 13 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port13 Opcode2 Opc" CV="164" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port13 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port13 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 13 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port13 Opcode2 Arg1" CV="165" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port13 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port13 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 13 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port13 Opcode2 Arg2sub" CV="166" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port13 Opcode2 Arg2" CV="166" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port13 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port13 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 13 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port13 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port13 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port13 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port13 Opcode2 Opc" value="0"/>
<compositeSetting label="Port13 Opcode2 Address" value="1"/>
<compositeSetting label="Port13 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port13 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port13 Opcode2 Opc" value="176"/>
<compositeSetting label="Port13 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port13 Opcode2 Opc" value="177"/>
<compositeSetting label="Port13 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port13 Opcode2 Opc" value="176"/>
<compositeSetting label="Port13 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port13 Opcode2 Opc" value="177"/>
<compositeSetting label="Port13 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 13 Opcode2 OPC and ARG2</tooltip>
</variable>
<!-- Port 14 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port14 OccuMode" CV="176" mask="XXXXXVXX" writeOnly="yes">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port14 Address" CV="43,44" mask="XVVVVVVV XXXXVVVV">
<!-- CV43 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 14 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port14 SensorAddress" CV="44,43,44" mask="XXVXXXXX XVVVVVVV XXXXVVVV">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 14 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port14 Config" CV="42" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 14 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port14 Value1" CV="43" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 14 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV44-->
<variable item="Port14 Value2A" CV="44" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 14 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port14 Value2" CV="44" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 14 Value2, filled by ComboBox</tooltip>
</variable>
<!--LocoIO/RCD(2) Port14 Type variables created later in this definition file-->
<!--Port14 Opcode1-->
<variable item="Port14 Opcode1 Address" CV="91" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port14 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port14 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="92" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 14 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port14 Opcode1 Opc" CV="90" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port14 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port14 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 14 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port14 Opcode1 Arg1" CV="91" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port14 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port14 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 14 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port14 Opcode1 Arg2sub" CV="92" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port14 Opcode1 Arg2" CV="92" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port14 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port14 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 14 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port14 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port14 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port14 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port14 Opcode1 Opc" value="0"/>
<compositeSetting label="Port14 Opcode1 Address" value="1"/>
<compositeSetting label="Port14 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port14 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port14 Opcode1 Opc" value="176"/>
<compositeSetting label="Port14 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port14 Opcode1 Opc" value="177"/>
<compositeSetting label="Port14 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port14 Opcode1 Opc" value="176"/>
<compositeSetting label="Port14 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port14 Opcode1 Opc" value="177"/>
<compositeSetting label="Port14 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 14 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port14 Opcode2-->
<variable item="Port14 Opcode2 Address" CV="168" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port14 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port14 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="169" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 14 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port14 Opcode2 Opc" CV="167" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port14 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port14 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 14 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port14 Opcode2 Arg1" CV="168" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port14 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port14 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 14 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port14 Opcode2 Arg2sub" CV="169" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port14 Opcode2 Arg2" CV="169" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port14 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port14 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 14 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port14 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port14 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port14 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port14 Opcode2 Opc" value="0"/>
<compositeSetting label="Port14 Opcode2 Address" value="1"/>
<compositeSetting label="Port14 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port14 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port14 Opcode2 Opc" value="176"/>
<compositeSetting label="Port14 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port14 Opcode2 Opc" value="177"/>
<compositeSetting label="Port14 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port14 Opcode2 Opc" value="176"/>
<compositeSetting label="Port14 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port14 Opcode2 Opc" value="177"/>
<compositeSetting label="Port14 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 14 Opcode2 OPC and ARG2</tooltip>
</variable>
<!-- Port 15 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port15 OccuMode" CV="176" mask="XXXXXXVX" writeOnly="yes">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port15 Address" CV="46,47" mask="XVVVVVVV XXXXVVVV">
<!-- CV46 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 15 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port15 SensorAddress" CV="47,46,47" mask="XXVXXXXX XVVVVVVV XXXXVVVV">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 15 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port15 Config" CV="45" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 15 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port15 Value1" CV="46" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 15 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV47-->
<variable item="Port15 Value2A" CV="47" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 15 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port15 Value2" CV="47" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 15 Value2, filled by ComboBox</tooltip>
</variable>
<!--port 15+16 options for RCD2 only-->
<variable CV="122" mask="XXXXXXXV" item="Port15 Train Control" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Train Control:</label>
<label xml:lang="nl">Treinbeïnvloeding:</label>
<tooltip>Occupied will trigger train control, default: unselected = off</tooltip>
</variable>
<variable CV="122" mask="XXXXXXVX" item="Port15 Train Reverse" default="0" include="210,211">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>Reverse Direction:</label>
<label xml:lang="nl">Trein rijrichting omkeren:</label>
<tooltip>Occupied will trigger train reversing, default: unselected = off</tooltip>
</variable>
<variable CV="123" item="Port15 Train Slow Down" default="1" include="210,211">
<decVal min="1" max="255"/>
<label>Slow Down:</label>
<label xml:lang="nl">Trein vertragingstijd:</label>
<tooltip>Port1 Train Slow Down Delay (1-255)</tooltip>
</variable>
<variable CV="124" item="Port15 Train Wait" default="0" include="210,211">
<decVal min="0" max="255"/>
<label> Wait Time:</label>
<label xml:lang="nl"> Trein wachttijd:</label>
<tooltip>Port 1 Train Wait Time (1-255)</tooltip>
</variable>
<!--LocoIO/RCD(2) Port15 Type variables created later in this definition file-->
<!--Port15 Opcode1-->
<variable item="Port15 Opcode1 Address" CV="94" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port15 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port15 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="95" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 15 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port15 Opcode1 Opc" CV="93" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port15 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port15 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 15 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port15 Opcode1 Arg1" CV="94" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port15 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port15 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 15 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port15 Opcode1 Arg2sub" CV="95" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port15 Opcode1 Arg2" CV="95" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port15 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port15 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 15 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port15 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port15 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port15 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port15 Opcode1 Opc" value="0"/>
<compositeSetting label="Port15 Opcode1 Address" value="1"/>
<compositeSetting label="Port15 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port15 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port15 Opcode1 Opc" value="176"/>
<compositeSetting label="Port15 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port15 Opcode1 Opc" value="177"/>
<compositeSetting label="Port15 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port15 Opcode1 Opc" value="176"/>
<compositeSetting label="Port15 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port15 Opcode1 Opc" value="177"/>
<compositeSetting label="Port15 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 15 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port15 Opcode2-->
<variable item="Port15 Opcode2 Address" CV="171" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port15 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port15 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="172" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 15 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port15 Opcode2 Opc" CV="170" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port15 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port15 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 15 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port15 Opcode2 Arg1" CV="171" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port15 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port15 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 15 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port15 Opcode2 Arg2sub" CV="172" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port15 Opcode2 Arg2" CV="172" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port15 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port15 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 15 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port15 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port15 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port15 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port15 Opcode2 Opc" value="0"/>
<compositeSetting label="Port15 Opcode2 Address" value="1"/>
<compositeSetting label="Port15 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port15 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port15 Opcode2 Opc" value="176"/>
<compositeSetting label="Port15 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port15 Opcode2 Opc" value="177"/>
<compositeSetting label="Port15 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port15 Opcode2 Opc" value="176"/>
<compositeSetting label="Port15 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port15 Opcode2 Opc" value="177"/>
<compositeSetting label="Port15 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 15 Opcode2 OPC and ARG2</tooltip>
</variable>
<!-- Port 16 -->
<!--handles display of proper Address field from non-contiguous Mode values-->
<variable item="Port16 OccuMode" CV="176" mask="XXXXXXXV" writeOnly="yes">
<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
<label>o:</label>
<tooltip>Is this Port used for Occupancy N/Y (set by Type combo)</tooltip>
</variable>
<variable item="Port16 Address" CV="49,50" mask="XVVVVVVV XXXXVVVV">
<!-- CV19 ignores bit 8 in port address -->
<splitVal factor="1" offset="1" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 16 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port16 SensorAddress" CV="50,49,50" mask="XXVXXXXX XVVVVVVV XXXXVVVV">
<!-- Detector In/Outputs store address differently -->
<splitVal factor="1" offset="1" min="1" max="4096" default="1"/>
<label>Address :</label>
<label xml:lang="de">Adresse :</label>
<label xml:lang="nl">Adres :</label>
<tooltip>Port 16 DCC Block Occupancy Sensor Address (decimal, 1-4096)</tooltip>
</variable>
<variable item="Port16 Config" CV="48" default="0">
<decVal/>
<label>Config:</label>
<tooltip>Port 16 Config, filled by ComboBox</tooltip>
</variable>
<variable item="Port16 Value1" CV="49" default="0">
<decVal/>
<label>Value1:</label>
<tooltip>Port 16 Value1 = (Address MINUS 1) &amp; 127</tooltip>
</variable>
<!--extra masked field to store Mode in SV50-->
<variable item="Port16 Value2A" CV="50" mask="VVVVXXXX">
<decVal/>
<label> Value2Mode:</label>
<tooltip>Port 16 Value2A part, filled by ComboBox + address high</tooltip>
</variable>
<variable item="Port16 Value2" CV="50" default="0">
<decVal/>
<label> Value2:</label>
<tooltip>Port 16 Value2, filled by ComboBox</tooltip>
</variable>
<!--LocoIO/RCD(2) Port16 Type variables created later in this definition file-->
<!--Port16 Opcode1-->
<variable item="Port16 Opcode1 Address" CV="97" mask="XVVVVVVV">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port16 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port16 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="98" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 16 Opcode1 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port16 Opcode1 Opc" CV="96" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port16 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port16 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 16 Opcode1 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port16 Opcode1 Arg1" CV="97" default="1">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port16 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port16 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 16 Opcode1 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port16 Opcode1 Arg2sub" CV="98" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port16 Opcode1 Arg2" CV="98" mask="VVVVXXXX" default="0">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port16 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port16 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 16 Opcode1 Value2, filled by ComboBox</tooltip>
</variable>
<variable item="Port16 Opcode1 Type">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port16 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port16 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode1 Output types, limited set of options-->
<compositeChoice choice="Opcode1 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port16 Opcode1 Opc" value="0"/>
<compositeSetting label="Port16 Opcode1 Address" value="1"/>
<compositeSetting label="Port16 Opcode1 Arg1" value="0"/>
<compositeSetting label="Port16 Opcode1 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port16 Opcode1 Opc" value="176"/>
<compositeSetting label="Port16 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port16 Opcode1 Opc" value="177"/>
<compositeSetting label="Port16 Opcode1 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port16 Opcode1 Opc" value="176"/>
<compositeSetting label="Port16 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port16 Opcode1 Opc" value="177"/>
<compositeSetting label="Port16 Opcode1 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode1:</label>
<tooltip>Port 16 Opcode1 OPC and ARG2</tooltip>
</variable>
<!--Port16 Opcode2-->
<variable item="Port16 Opcode2 Address" CV="174" mask="XVVVVVVV" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port16 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port16 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<splitVal highCV="175" factor="1" offset="1" upperMask="XXXXVVVV" min="1" max="2048" default="1"/>
<label>Address:</label>
<label xml:lang="de">Adresse:</label>
<label xml:lang="nl">Adres:</label>
<tooltip>Port 16 Opcode2 DCC Address (decimal, 1-2048)</tooltip>
</variable>
<variable item="Port16 Opcode2 Opc" CV="173" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port16 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port16 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> OPC:</label>
<tooltip>Port 16 Opcode2 OPC, filled by ComboBox</tooltip>
</variable>
<variable item="Port16 Opcode2 Arg1" CV="174" default="1" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port16 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port16 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG1:</label>
<tooltip>Port 16 Opcode2 ARG1, filled by ComboBox</tooltip>
</variable>
<variable item="Port16 Opcode2 Arg2sub" CV="175" mask="XXVVXXXX" default="0">
<!--Contact 1 or 2-->
<decVal/>
</variable>
<variable item="Port16 Opcode2 Arg2" CV="175" mask="VVVVXXXX" default="0" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port16 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port16 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<decVal/>
<label> ARG2:</label>
<tooltip>Port 16 Opcode2 ARG2, filled by ComboBox</tooltip>
</variable>
<variable item="Port16 Opcode2 Type" exclude="003,101,102,135,139,140,141,142,144,145,146,148,149,GCA50,GCA51">
<!--only show opcode for inputs, does not work as pane qualifier-->
<qualifier>
<variableref>Port16 Config</variableref>
<relation>lt</relation>
<value>112</value>
</qualifier>
<qualifier>
<variableref>Port16 Config</variableref>
<relation>gt</relation>
<value>0</value>
</qualifier>
<compositeVal>
<!--Opcode2 Output types, limited set of options-->
<compositeChoice choice="Opcode2 Off">
<choice>Off</choice>
<choice xml:lang="de">Inaktiv</choice>
<choice xml:lang="nl">Uit</choice>
<compositeSetting label="Port16 Opcode2 Opc" value="0"/>
<compositeSetting label="Port16 Opcode2 Address" value="1"/>
<compositeSetting label="Port16 Opcode2 Arg1" value="0"/>
<compositeSetting label="Port16 Opcode2 Arg2" value="0"/>
</compositeChoice>
<compositeChoice choice="Contact1 Direct">
<choice>Contact1 Direct</choice>
<compositeSetting label="Port16 Opcode2 Opc" value="176"/>
<compositeSetting label="Port16 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact1 Indirect">
<choice>Contact1 Indirect</choice>
<compositeSetting label="Port16 Opcode2 Opc" value="177"/>
<compositeSetting label="Port16 Opcode2 Arg2sub" value="1"/>
</compositeChoice>
<compositeChoice choice="Contact2 Direct">
<choice>Contact2 Direct</choice>
<compositeSetting label="Port16 Opcode2 Opc" value="176"/>
<compositeSetting label="Port16 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
<compositeChoice choice="Contact2 Indirect">
<choice>Contact2 Indirect</choice>
<compositeSetting label="Port16 Opcode2 Opc" value="177"/>
<compositeSetting label="Port16 Opcode2 Arg2sub" value="3"/>
</compositeChoice>
</compositeVal>
<label>Opcode2:</label>
<tooltip>Port 16 Opcode2 OPC and ARG2</tooltip>
</variable>
<!-- end of ports 1-16 variables -->
<!--Port config SV04-SV50-->
<!--Opcode1 SV51-SV98-->
<!--CV100/SV100 was already defined above-->
<!--8*3 Servo settings SV 101-124-->
<!--Opcode2 SV125-SV175-->
<!--CV177 is used to store Special Ports 1-4 option-->
<!-- Portx Type variables are created now that basic variables are in place. -->
<!-- Note on Address handling: -->
<!-- Sensor Inputs, Sensor (State) Outputs and Push buttons store address with odd bit in SV5 bit 5, -->
<!-- which is overlapping on other Types, so we offer 2 options in de combo box. As long as basic type is correct, -->
<!-- selected option will adjust to address entered-->
<!-- Some, like LocoRCD operate sets of 2 or more ports at once -->
<!--Note: Port 1, 5, 9, 13 Type contain an extra option for LocoView, turning off the next 3 ports-->
<!-- GCA51 ports 1-2 only Block Sensor, ports 3-8 not available -->
<!--Port 1 Type-->
<variable item="Port1 Type" exclude="200,210,211">
<compositeVal>
<!-- Initial label?-->
<!-- <compositeChoice choice="Port Mode Changed">-->
<!-- <choice>Changed</choice>-->
<!-- <choice xml:lang="de">Geändert</choice>-->
<!-- <choice xml:lang="nl">Gewijzigd</choice>-->
<!-- <compositeSetting label="Port1 OccuMode" value="0"/>-->
<!-- </compositeChoice>-->
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port1 Config" value="0"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch" exclude="GCA51">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port1 Config" value="15"/>
<compositeSetting label="Port1 Value2A" value="1"/><!--sets SV5 value via mask to 16 as per documentation-->
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142,GCA51">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port1 Config" value="7"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<!--Occu Type ports, see note at beginning op Type declaration-->
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port1 Config" value="15"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
<!-- <compositeSetting label="Port1 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port1 Config" value="15"/>
<compositeSetting label="Port1 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port1 OccuMode" value="1"/>
<!-- <compositeSetting label="Port1 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port1 Config" value="31"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port1 Config" value="31"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port1 Config" value="27"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port1 Config" value="27"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port1 Config" value="95"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port1 Config" value="95"/>
<compositeSetting label="Port1 Value2A" value="2"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port1 Config" value="91"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port1 Config" value="91"/>
<compositeSetting label="Port1 Value2A" value="2"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port1 Config" value="111"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port1 Config" value="111"/>
<compositeSetting label="Port1 Value2A" value="2"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port1 Config" value="103"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port1 Config" value="103"/>
<compositeSetting label="Port1 Value2A" value="2"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct" exclude="GCA51">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port1 Config" value="47"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even" exclude="GCA51">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port1 Config" value="47"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142,GCA51">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port1 Config" value="39"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142,GCA51">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port1 Config" value="39"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142,GCA51"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port1 Config" value="23"/>
<compositeSetting label="Port1 Value2A" value="7"/>
<compositeSetting label="Port1 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144,GCA51"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port1 Config" value="55"/>
<compositeSetting label="Port1 Value2A" value="7"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144,GCA51"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port1 Config" value="55"/>
<compositeSetting label="Port1 Value2A" value="6"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port1 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port1 Value2A" value="2"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port1 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141,GCA51">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port1 Config" value="136"/>
<compositeSetting label="Port1 Value2A" value="2"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141,GCA51">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port1 Config" value="136"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141,GCA51">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port1 Config" value="140"/>
<compositeSetting label="Port1 Value2A" value="2"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141,GCA51">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port1 Config" value="140"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135,GCA51">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port1 Config" value="129"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off" exclude="GCA51">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port1 Config" value="128"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port1 Config" value="145"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port1 Config" value="144"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135,GCA51">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port1 Config" value="161"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way" exclude="GCA51">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port1 Config" value="160"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port1 Config" value="177"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port1 Config" value="176"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135,GCA51">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port1 Config" value="129"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off" exclude="GCA51">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port1 Config" value="128"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port1 Config" value="145"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port1 Config" value="144"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135,GCA51">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port1 Config" value="161"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way" exclude="GCA51">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port1 Config" value="160"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port1 Config" value="177"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port1 Config" value="176"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block" exclude="GCA51">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port1 Config" value="192"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even" exclude="GCA51">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port1 Config" value="192"/>
<compositeSetting label="Port1 Value2A" value="2"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139,GCA51">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port1 Config" value="208"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139,GCA51">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port1 Config" value="208"/>
<compositeSetting label="Port1 Value2A" value="2"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<!-- Special option available on ports 1, 5, 9, 13 only-->
<compositeChoice choice="LocoView" include="153,154">
<choice>Output: LocoView (odd address)</choice>
<choice xml:lang="nl">Uitgang: LocoView (oneven adres)</choice>
<compositeSetting label="Port1 Config" value="224"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
<compositeSetting label="Port2 Config" value="0"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port3 Config" value="0"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port4 Config" value="0"/>
<compositeSetting label="Port4 Value2A" value="0"/>
</compositeChoice>
<compositeChoice choice="LocoView Even" include="153,154">
<choice>Output: LocoView (even address)</choice>
<choice xml:lang="nl">Uitgang: LocoView (even adres)</choice>
<compositeSetting label="Port1 Config" value="224"/>
<compositeSetting label="Port1 Value2A" value="2"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
<compositeSetting label="Port2 Config" value="0"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port3 Config" value="0"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port4 Config" value="0"/>
<compositeSetting label="Port4 Value2A" value="0"/>
</compositeChoice>
</compositeVal>
<!--Mode: label not shown on top, at beginning of row unless var placed in row on pane, bug when we hide/show 2 of these-->
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 1 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port1 Type" include="200">
<!--only available on LocoRCD-->
<!-- all RCD port options are of type Sensor so Address1 field never displayed-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port1 Config" value="0"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port1 Config" value="31"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port1 Config" value="31"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port1 Config" value="27"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port1 Config" value="27"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 1 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port2 Type-->
<variable item="Port2 Type" exclude="200,210,211">
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port2 Config" value="0"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch" exclude="GCA51">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port2 Config" value="15"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142,GCA51">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port2 Config" value="7"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port2 Config" value="15"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
<!-- <compositeSetting label="Port2 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port2 Config" value="15"/>
<compositeSetting label="Port2 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port2 OccuMode" value="1"/>
<!-- <compositeSetting label="Port2 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port2 Config" value="31"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port2 Config" value="31"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port2 Config" value="27"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port2 Config" value="27"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port2 Config" value="95"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port2 Config" value="95"/>
<compositeSetting label="Port2 Value2A" value="2"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port2 Config" value="91"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port2 Config" value="91"/>
<compositeSetting label="Port2 Value2A" value="2"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port2 Config" value="111"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port2 Config" value="111"/>
<compositeSetting label="Port2 Value2A" value="2"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port2 Config" value="103"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port2 Config" value="103"/>
<compositeSetting label="Port2 Value2A" value="2"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct" exclude="GCA51">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port2 Config" value="47"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even" exclude="GCA51">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port2 Config" value="47"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142,GCA51">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port2 Config" value="39"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142,GCA51">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port2 Config" value="39"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142,GCA51"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port2 Config" value="23"/>
<compositeSetting label="Port2 Value2A" value="7"/>
<compositeSetting label="Port2 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144,GCA51"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port2 Config" value="55"/>
<compositeSetting label="Port2 Value2A" value="7"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144,GCA51"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port2 Config" value="55"/>
<compositeSetting label="Port2 Value2A" value="6"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port2 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port2 Value2A" value="2"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port2 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141,GCA51">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port2 Config" value="136"/>
<compositeSetting label="Port2 Value2A" value="2"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141,GCA51">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port2 Config" value="136"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141,GCA51">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port2 Config" value="140"/>
<compositeSetting label="Port2 Value2A" value="2"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141,GCA51">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port2 Config" value="140"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135,GCA51">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port2 Config" value="129"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off" exclude="GCA51">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port2 Config" value="128"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port2 Config" value="145"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port2 Config" value="144"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135,GCA51">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port2 Config" value="161"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way" exclude="GCA51">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port2 Config" value="160"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port2 Config" value="177"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port2 Config" value="176"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135,GCA51">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port2 Config" value="129"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off" exclude="GCA51">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port2 Config" value="128"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port2 Config" value="145"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port2 Config" value="144"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135,GCA51">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port2 Config" value="161"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way" exclude="GCA51">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port2 Config" value="160"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port2 Config" value="177"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139,GCA51">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port2 Config" value="176"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block" exclude="GCA51">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port2 Config" value="192"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even" exclude="GCA51">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port2 Config" value="192"/>
<compositeSetting label="Port2 Value2A" value="2"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139,GCA51">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (oneven)</choice>
<compositeSetting label="Port2 Config" value="208"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139,GCA51">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port2 Config" value="208"/>
<compositeSetting label="Port2 Value2A" value="2"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 2 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port2 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port2 Config" value="0"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port2 Config" value="31"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port2 Config" value="31"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port2 Config" value="27"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port2 Config" value="27"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 2 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port3 Type-->
<variable item="Port3 Type" exclude="200,210,211,GCA51">
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port3 Config" value="0"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port3 Config" value="15"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port3 Config" value="7"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port3 Config" value="15"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
<!-- <compositeSetting label="Port3 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port3 Config" value="15"/>
<compositeSetting label="Port3 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port3 OccuMode" value="1"/>
<!-- <compositeSetting label="Port3 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port3 Config" value="31"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port3 Config" value="31"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port3 Config" value="27"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port3 Config" value="27"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port3 Config" value="95"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port3 Config" value="95"/>
<compositeSetting label="Port3 Value2A" value="2"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port3 Config" value="91"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port3 Config" value="91"/>
<compositeSetting label="Port3 Value2A" value="2"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port3 Config" value="111"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port3 Config" value="111"/>
<compositeSetting label="Port3 Value2A" value="2"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port3 Config" value="103"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port3 Config" value="103"/>
<compositeSetting label="Port3 Value2A" value="2"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port3 Config" value="47"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port3 Config" value="47"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port3 Config" value="39"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port3 Config" value="39"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port3 Config" value="23"/>
<compositeSetting label="Port3 Value2A" value="7"/>
<compositeSetting label="Port3 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port3 Config" value="55"/>
<compositeSetting label="Port3 Value2A" value="7"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port3 Config" value="55"/>
<compositeSetting label="Port3 Value2A" value="6"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port3 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port3 Value2A" value="2"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port3 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port3 Config" value="136"/>
<compositeSetting label="Port3 Value2A" value="2"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port3 Config" value="136"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port3 Config" value="140"/>
<compositeSetting label="Port3 Value2A" value="2"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port3 Config" value="140"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port3 Config" value="129"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port3 Config" value="128"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port3 Config" value="145"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port3 Config" value="144"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port3 Config" value="161"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port3 Config" value="160"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port3 Config" value="177"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port3 Config" value="176"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port3 Config" value="129"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port3 Config" value="128"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port3 Config" value="145"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port3 Config" value="144"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port3 Config" value="161"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port3 Config" value="160"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port3 Config" value="177"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port3 Config" value="176"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port3 Config" value="192"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port3 Config" value="192"/>
<compositeSetting label="Port3 Value2A" value="2"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port3 Config" value="208"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port3 Config" value="208"/>
<compositeSetting label="Port3 Value2A" value="2"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 3 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port3 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port3 Config" value="0"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port3 Config" value="31"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port3 Config" value="31"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port3 Config" value="27"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port3 Config" value="27"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 3 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port4 Type-->
<variable item="Port4 Type" exclude="200,210,211,GCA51">
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port4 Config" value="0"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port4 Config" value="15"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port4 Config" value="7"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port4 Config" value="15"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
<!-- <compositeSetting label="Port4 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port4 Config" value="15"/>
<compositeSetting label="Port4 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port4 OccuMode" value="1"/>
<!-- <compositeSetting label="Port4 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port4 Config" value="31"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port4 Config" value="31"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port4 Config" value="27"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port4 Config" value="27"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port4 Config" value="95"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port4 Config" value="95"/>
<compositeSetting label="Port4 Value2A" value="2"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port4 Config" value="91"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port4 Config" value="91"/>
<compositeSetting label="Port4 Value2A" value="2"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port4 Config" value="111"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port4 Config" value="111"/>
<compositeSetting label="Port4 Value2A" value="2"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port4 Config" value="103"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port4 Config" value="103"/>
<compositeSetting label="Port4 Value2A" value="2"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port4 Config" value="47"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port4 Config" value="47"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port4 Config" value="39"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port4 Config" value="39"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port4 Config" value="23"/>
<compositeSetting label="Port4 Value2A" value="7"/>
<compositeSetting label="Port4 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port4 Config" value="55"/>
<compositeSetting label="Port4 Value2A" value="7"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port4 Config" value="55"/>
<compositeSetting label="Port4 Value2A" value="6"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port4 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port4 Value2A" value="2"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port4 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port4 Config" value="136"/>
<compositeSetting label="Port4 Value2A" value="2"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port4 Config" value="136"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port4 Config" value="140"/>
<compositeSetting label="Port4 Value2A" value="2"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port4 Config" value="140"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port4 Config" value="129"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port4 Config" value="128"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port4 Config" value="145"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port4 Config" value="144"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port4 Config" value="161"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port4 Config" value="160"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port4 Config" value="177"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port4 Config" value="176"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port4 Config" value="129"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port4 Config" value="128"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port4 Config" value="145"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port4 Config" value="144"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port4 Config" value="161"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port4 Config" value="160"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port4 Config" value="177"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port4 Config" value="176"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port4 Config" value="192"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port4 Config" value="192"/>
<compositeSetting label="Port4 Value2A" value="2"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port4 Config" value="208"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port4 Config" value="208"/>
<compositeSetting label="Port4 Value2A" value="2"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 4 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port4 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port4 Config" value="0"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port4 Config" value="31"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port4 Config" value="31"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port4 Config" value="27"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port4 Config" value="27"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 4 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port5 Type-->
<variable item="Port5 Type" exclude="003,004,005,101,102,103,104,105,106,200,210,211,GCA51">
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port5 Config" value="0"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<!--inputs and most output types not available on LocoServo boards ports 5-12 and LocoBooster ports 5-6-->
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port5 Config" value="15"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port5 Config" value="7"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port5 Config" value="15"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
<!-- <compositeSetting label="Port5 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port5 Config" value="15"/>
<compositeSetting label="Port5 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port5 OccuMode" value="1"/>
<!-- <compositeSetting label="Port5 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port5 Config" value="31"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port5 Config" value="31"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port5 Config" value="27"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port5 Config" value="27"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port5 Config" value="95"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port5 Config" value="95"/>
<compositeSetting label="Port5 Value2A" value="2"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port5 Config" value="91"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port5 Config" value="91"/>
<compositeSetting label="Port5 Value2A" value="2"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port5 Config" value="111"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port5 Config" value="111"/>
<compositeSetting label="Port5 Value2A" value="2"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port5 Config" value="103"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port5 Config" value="103"/>
<compositeSetting label="Port5 Value2A" value="2"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port5 Config" value="47"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port5 Config" value="47"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port5 Config" value="39"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port5 Config" value="39"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port5 Config" value="23"/>
<compositeSetting label="Port5 Value2A" value="7"/>
<compositeSetting label="Port5 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port5 Config" value="55"/>
<compositeSetting label="Port5 Value2A" value="7"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port5 Config" value="55"/>
<compositeSetting label="Port5 Value2A" value="6"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port5 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port5 Value2A" value="2"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port5 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port5 Config" value="136"/>
<compositeSetting label="Port5 Value2A" value="2"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port5 Config" value="136"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port5 Config" value="140"/>
<compositeSetting label="Port5 Value2A" value="2"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port5 Config" value="140"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port5 Config" value="129"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port5 Config" value="128"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port5 Config" value="145"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port5 Config" value="144"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port5 Config" value="161"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port5 Config" value="160"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port5 Config" value="177"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port5 Config" value="176"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port5 Config" value="129"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port5 Config" value="128"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port5 Config" value="145"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port5 Config" value="144"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port5 Config" value="161"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port5 Config" value="160"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port5 Config" value="177"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port5 Config" value="176"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port5 Config" value="192"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port5 Config" value="192"/>
<compositeSetting label="Port5 Value2A" value="2"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port5 Config" value="208"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port5 Config" value="208"/>
<compositeSetting label="Port5 Value2A" value="2"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<!-- Special option available on ports 1, 5, 9, 13 only-->
<compositeChoice choice="LocoView" include="153,154">
<choice>Output: LocoView (odd address)</choice>
<choice xml:lang="nl">Uitgang: LocoView (oneven adres)</choice>
<compositeSetting label="Port5 Config" value="224"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
<compositeSetting label="Port6 Config" value="0"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port7 Config" value="0"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port8 Config" value="0"/>
<compositeSetting label="Port8 Value2A" value="0"/>
</compositeChoice>
<compositeChoice choice="LocoView Even" include="153,154">
<choice>Output: LocoView (even address)</choice>
<choice xml:lang="nl">Uitgang: LocoView (even adres)</choice>
<compositeSetting label="Port5 Config" value="224"/>
<compositeSetting label="Port5 Value2A" value="2"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
<compositeSetting label="Port6 Config" value="0"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port7 Config" value="0"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port8 Config" value="0"/>
<compositeSetting label="Port8 Value2A" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 5 operation mode. Sets Config and Value2</tooltip>
</variable>
<!-- displayed on LocoBooster Port5 options predefined -->
<variable item="Port5 Type" include="003,004,005">
<compositeVal>
<compositeChoice choice="Feedback Booster Input">
<!-- Booster values are identical to Input Occu Active Low, differentiated by PIC version -->
<choice>Input: Feedback of Booster In</choice>
<choice xml:lang="nl">Ingang: Feedback van Booster In</choice>
<compositeSetting label="Port5 Config" value="31"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Feedback Booster Input2">
<choice>Select...</choice>
<choice xml:lang="de">Auswählen...</choice>
<choice xml:lang="nl">Selecteer...</choice>
<compositeSetting label="Port5 Config" value="0"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>LocoBooster - Booster Power</tooltip>
</variable>
<variable item="Port5 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port5 Config" value="0"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port5 Config" value="31"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port5 Config" value="31"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port5 Config" value="27"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port5 Config" value="27"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 5 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port6 Type-->
<variable item="Port6 Type" exclude="003,004,005,101,102,103,104,105,106,200,210,211,GCA51">
<!--exclude 210,211 LocoRCD2 to hide the combo, port 6 Config is set from Port5 Type combo-->
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port6 Config" value="0"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<!--inputs and most output types not available on LocoServo boards ports 5-12 and LocoBooster ports 5-6-->
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port6 Config" value="15"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port6 Config" value="7"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port6 Config" value="15"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
<!-- <compositeSetting label="Port6 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port6 Config" value="15"/>
<compositeSetting label="Port6 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port6 OccuMode" value="1"/>
<!-- <compositeSetting label="Port6 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port6 Config" value="31"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port6 Config" value="31"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port6 Config" value="27"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port6 Config" value="27"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port6 Config" value="95"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port6 Config" value="95"/>
<compositeSetting label="Port6 Value2A" value="2"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port6 Config" value="91"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port6 Config" value="91"/>
<compositeSetting label="Port6 Value2A" value="2"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port6 Config" value="111"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port6 Config" value="111"/>
<compositeSetting label="Port6 Value2A" value="2"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port6 Config" value="103"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port6 Config" value="103"/>
<compositeSetting label="Port6 Value2A" value="2"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port6 Config" value="47"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port6 Config" value="47"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port6 Config" value="39"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port6 Config" value="39"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port6 Config" value="23"/>
<compositeSetting label="Port6 Value2A" value="7"/>
<compositeSetting label="Port6 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port6 Config" value="55"/>
<compositeSetting label="Port6 Value2A" value="7"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port6 Config" value="55"/>
<compositeSetting label="Port6 Value2A" value="6"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port6 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port6 Value2A" value="2"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port6 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port6 Config" value="136"/>
<compositeSetting label="Port6 Value2A" value="2"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port6 Config" value="136"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port6 Config" value="140"/>
<compositeSetting label="Port6 Value2A" value="2"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port6 Config" value="140"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port6 Config" value="129"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port6 Config" value="128"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port6 Config" value="145"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port6 Config" value="144"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port6 Config" value="161"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port6 Config" value="160"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port6 Config" value="177"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port6 Config" value="176"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port6 Config" value="129"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port6 Config" value="128"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port6 Config" value="145"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port6 Config" value="144"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port6 Config" value="161"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port6 Config" value="160"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port6 Config" value="177"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port6 Config" value="176"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port6 Config" value="192"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port6 Config" value="192"/>
<compositeSetting label="Port6 Value2A" value="2"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port6 Config" value="208"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port6 Config" value="208"/>
<compositeSetting label="Port6 Value2A" value="2"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 6 operation mode. Sets Config and Value2</tooltip>
</variable>
<!-- displayed on LocoBooster Port6 options predefined -->
<variable item="Port6 Type" include="003,004,005">
<compositeVal>
<!--next output type fixed for ports 5-6 on LocoBooster-->
<compositeChoice choice="Feedback Booster Output">
<!-- Booster values are identical to Input Occu Active Low, differentiated by PIC version -->
<choice>Input: Feedback of Booster Out</choice>
<choice xml:lang="nl">Ingang: Feedback van Booster Uit</choice>
<compositeSetting label="Port6 Config" value="31"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Feedback Booster Output2">
<choice>Select...</choice>
<choice xml:lang="de">Auswählen...</choice>
<choice xml:lang="nl">Selecteer...</choice>
<compositeSetting label="Port6 Config" value="0"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>LocoBooster - Booster Power</tooltip>
</variable>
<!-- displayed on LocoServo Port6 options predefined -->
<variable item="Port6 Type" include="101,102,103,104,105,106">
<compositeVal>
<!--next output type only available on ports 5-12 on LocoServo-->
<compositeChoice choice="Output Servo">
<!-- Servo values are identical to Output Fixed 1 Off, differentiated by PIC version -->
<choice>Output: Servo 2 (2/4 pos on tab Loco...)</choice>
<choice xml:lang="nl">Uitgang: Servo (2/4 pos. op tab LocoIO)</choice>
<compositeSetting label="Port6 Config" value="128"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port6 Config" value="0"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 6 Config and Value2 for servo connection</tooltip>
</variable>
<variable item="Port6 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port6 Config" value="0"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port6 Config" value="31"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port6 Config" value="31"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port6 Config" value="27"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port6 Config" value="27"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 6 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port7 Type-->
<variable item="Port7 Type" exclude="003,004,005,101,102,103,104,105,106,200,210,211,GCA51">
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port7 Config" value="0"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port7 Config" value="15"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port7 Config" value="7"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port7 Config" value="15"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
<!-- <compositeSetting label="Port7 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port7 Config" value="15"/>
<compositeSetting label="Port7 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port7 OccuMode" value="1"/>
<!-- <compositeSetting label="Port7 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port7 Config" value="31"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port7 Config" value="31"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port7 Config" value="27"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port7 Config" value="27"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port7 Config" value="95"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port7 Config" value="95"/>
<compositeSetting label="Port7 Value2A" value="2"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port7 Config" value="91"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port7 Config" value="91"/>
<compositeSetting label="Port7 Value2A" value="2"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port7 Config" value="111"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port7 Config" value="111"/>
<compositeSetting label="Port7 Value2A" value="2"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port7 Config" value="103"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port7 Config" value="103"/>
<compositeSetting label="Port7 Value2A" value="2"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port7 Config" value="47"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port7 Config" value="47"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port7 Config" value="39"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port7 Config" value="39"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port7 Config" value="23"/>
<compositeSetting label="Port7 Value2A" value="7"/>
<compositeSetting label="Port7 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port7 Config" value="55"/>
<compositeSetting label="Port7 Value2A" value="7"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port7 Config" value="55"/>
<compositeSetting label="Port7 Value2A" value="6"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port7 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port7 Value2A" value="2"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port7 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port7 Config" value="136"/>
<compositeSetting label="Port7 Value2A" value="2"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port7 Config" value="136"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port7 Config" value="140"/>
<compositeSetting label="Port7 Value2A" value="2"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port7 Config" value="140"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port7 Config" value="129"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port7 Config" value="128"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port7 Config" value="145"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port7 Config" value="144"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port7 Config" value="161"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port7 Config" value="160"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port7 Config" value="177"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port7 Config" value="176"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port7 Config" value="129"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port7 Config" value="128"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port7 Config" value="145"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port7 Config" value="144"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port7 Config" value="161"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port7 Config" value="160"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port7 Config" value="177"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port7 Config" value="176"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port7 Config" value="192"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port7 Config" value="192"/>
<compositeSetting label="Port7 Value2A" value="2"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port7 Config" value="208"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port7 Config" value="208"/>
<compositeSetting label="Port7 Value2A" value="2"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 7 operation mode. Sets Config and Value2</tooltip>
</variable>
<!-- displayed on LocoBooster Port7 options predefined -->
<variable item="Port7 Type" include="003,004,005">
<compositeVal>
<!--next output type limited choice for port 7 on LocoBooster, can't turn output Off-->
<compositeChoice choice="Output Fixed 1 On">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port7 Config" value="129"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port7 Config" value="128"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>LocoBooster - Booster Status</tooltip>
</variable>
<variable item="Port7 Type" include="101,102,103,104,105,106">
<!--only available on ports 5-12 on LocoServo-->
<compositeVal>
<compositeChoice choice="Output Servo">
<!-- Servo values are identical to Output Fixed 1 Off, differentiated by PIC version -->
<choice>Output: Servo 3 (2/4 pos on tab Loco...)</choice>
<choice xml:lang="nl">Uitgang: Servo (2/4 pos. op tab LocoIO)</choice>
<compositeSetting label="Port7 Config" value="128"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port7 Config" value="0"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 7 Config and Value2 for servo connection</tooltip>
</variable>
<variable item="Port7 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port7 Config" value="0"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port7 Config" value="31"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port7 Config" value="31"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port7 Config" value="27"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port7 Config" value="27"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 7 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port8 Type-->
<variable item="Port8 Type" exclude="003,004,005,101,102,103,104,105,106,200,210,211,GCA51">
<!--exclude 210,211 LocoRCD2 to hide the combo, port 8 Config is set from Port7 Type combo-->
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port8 Config" value="0"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port8 Config" value="15"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port8 Config" value="7"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port8 Config" value="15"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
<!-- <compositeSetting label="Port8 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port8 Config" value="15"/>
<compositeSetting label="Port8 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port8 OccuMode" value="1"/>
<!-- <compositeSetting label="Port8 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port8 Config" value="31"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port8 Config" value="31"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port8 Config" value="27"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port8 Config" value="27"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port8 Config" value="95"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port8 Config" value="95"/>
<compositeSetting label="Port8 Value2A" value="2"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port8 Config" value="91"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port8 Config" value="91"/>
<compositeSetting label="Port8 Value2A" value="2"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port8 Config" value="111"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port8 Config" value="111"/>
<compositeSetting label="Port8 Value2A" value="2"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port8 Config" value="103"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port8 Config" value="103"/>
<compositeSetting label="Port8 Value2A" value="2"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port8 Config" value="47"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port8 Config" value="47"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port8 Config" value="39"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port8 Config" value="39"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port8 Config" value="23"/>
<compositeSetting label="Port8 Value2A" value="7"/>
<compositeSetting label="Port8 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port8 Config" value="55"/>
<compositeSetting label="Port8 Value2A" value="7"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port8 Config" value="55"/>
<compositeSetting label="Port8 Value2A" value="6"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port8 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port8 Value2A" value="2"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port8 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port8 Config" value="136"/>
<compositeSetting label="Port8 Value2A" value="2"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port8 Config" value="136"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port8 Config" value="140"/>
<compositeSetting label="Port8 Value2A" value="2"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port8 Config" value="140"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port8 Config" value="129"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port8 Config" value="128"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port8 Config" value="145"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port8 Config" value="144"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port8 Config" value="161"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port8 Config" value="160"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port8 Config" value="177"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port8 Config" value="176"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port8 Config" value="129"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port8 Config" value="128"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port8 Config" value="145"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port8 Config" value="144"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port8 Config" value="161"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port8 Config" value="160"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port8 Config" value="177"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port8 Config" value="176"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port8 Config" value="192"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port8 Config" value="192"/>
<compositeSetting label="Port8 Value2A" value="2"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port8 Config" value="208"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port8 Config" value="208"/>
<compositeSetting label="Port8 Value2A" value="2"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 8 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port8 Type" include="101,102,103,104,105,106">
<!--only available on ports 5-12 on LocoServo-->
<compositeVal>
<compositeChoice choice="Output Servo">
<!-- Servo values are identical to Output Fixed 1 Off, differentiated by PIC version -->
<choice>Output: Servo 4 (2/4 pos on tab Loco...)</choice>
<choice xml:lang="nl">Uitgang: Servo (2/4 pos. op tab LocoIO)</choice>
<compositeSetting label="Port8 Config" value="128"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port8 Config" value="0"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 8 Config and Value2 for servo connection</tooltip>
</variable>
<variable item="Port8 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port8 Config" value="0"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port8 Config" value="31"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port8 Config" value="31"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port8 Config" value="27"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port8 Config" value="27"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 8 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port9 Type-->
<variable item="Port9 Type" exclude="003,004,005,101,102,103,104,105,106,200,210,211">
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port9 Config" value="0"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port9 Config" value="15"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port9 Config" value="7"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port9 Config" value="15"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
<!-- <compositeSetting label="Port9 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port9 Config" value="15"/>
<compositeSetting label="Port9 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port9 OccuMode" value="1"/>
<!-- <compositeSetting label="Port9 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port9 Config" value="31"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port9 Config" value="31"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port9 Config" value="27"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port9 Config" value="27"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port9 Config" value="95"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port9 Config" value="95"/>
<compositeSetting label="Port9 Value2A" value="2"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port9 Config" value="91"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port9 Config" value="91"/>
<compositeSetting label="Port9 Value2A" value="2"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port9 Config" value="111"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port9 Config" value="111"/>
<compositeSetting label="Port9 Value2A" value="2"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port9 Config" value="103"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port9 Config" value="103"/>
<compositeSetting label="Port9 Value2A" value="2"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port9 Config" value="47"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port9 Config" value="47"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port9 Config" value="39"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port9 Config" value="39"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port9 Config" value="23"/>
<compositeSetting label="Port9 Value2A" value="7"/>
<compositeSetting label="Port9 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port9 Config" value="55"/>
<compositeSetting label="Port9 Value2A" value="7"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port9 Config" value="55"/>
<compositeSetting label="Port9 Value2A" value="6"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port9 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port9 Value2A" value="2"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port9 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port9 Config" value="136"/>
<compositeSetting label="Port9 Value2A" value="2"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port9 Config" value="136"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port9 Config" value="140"/>
<compositeSetting label="Port9 Value2A" value="2"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port9 Config" value="140"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port9 Config" value="129"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port9 Config" value="128"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port9 Config" value="145"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port9 Config" value="144"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port9 Config" value="161"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port9 Config" value="160"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port9 Config" value="177"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port9 Config" value="176"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port9 Config" value="129"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port9 Config" value="128"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port9 Config" value="145"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port9 Config" value="144"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port9 Config" value="161"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port9 Config" value="160"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port9 Config" value="177"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port9 Config" value="176"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port9 Config" value="192"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port9 Config" value="192"/>
<compositeSetting label="Port9 Value2A" value="2"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port9 Config" value="208"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port9 Config" value="208"/>
<compositeSetting label="Port9 Value2A" value="2"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<!-- Special option available on ports 1, 5, 9, 13 only-->
<compositeChoice choice="LocoView" include="153,154">
<choice>Output: LocoView (odd address)</choice>
<choice xml:lang="nl">Uitgang: LocoView (oneven adres)</choice>
<compositeSetting label="Port9 Config" value="224"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
<compositeSetting label="Port10 Config" value="0"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port11 Config" value="0"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port12 Config" value="0"/>
<compositeSetting label="Port12 Value2A" value="0"/>
</compositeChoice>
<compositeChoice choice="LocoView Even" include="153,154">
<choice>Output: LocoView (even address)</choice>
<choice xml:lang="nl">Uitgang: LocoView (even adres)</choice>
<compositeSetting label="Port9 Config" value="224"/>
<compositeSetting label="Port9 Value2A" value="2"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
<compositeSetting label="Port10 Config" value="0"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port11 Config" value="0"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port12 Config" value="0"/>
<compositeSetting label="Port12 Value2A" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 9 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port9 Type" include="101,102,103,104,105,106">
<!--only available on ports 5-12 on LocoServo-->
<compositeVal>
<compositeChoice choice="Output Servo">
<!-- Servo values are identical to Output Fixed 1 Off, differentiated by PIC version -->
<choice>Output: Servo 5 (2/4 pos on tab Loco...)</choice>
<choice xml:lang="nl">Uitgang: Servo (2/4 pos. op tab LocoIO)</choice>
<compositeSetting label="Port9 Config" value="128"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port9 Config" value="0"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 9 Config and Value2 for servo connection</tooltip>
</variable>
<variable item="Port9 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port9 Config" value="0"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port9 Config" value="31"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port9 Config" value="31"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port9 Config" value="27"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port9 Config" value="27"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 9 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port10 Type-->
<variable item="Port10 Type" exclude="003,004,005,101,102,103,104,105,106,200,210,211">
<!--exclude 210,211 LocoRCD2 to hide the combo, port 10 Config is set from Port9 Type combo-->
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port10 Config" value="0"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port10 Config" value="15"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port10 Config" value="7"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port10 Config" value="15"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
<!-- <compositeSetting label="Port10 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port10 Config" value="15"/>
<compositeSetting label="Port10 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port10 OccuMode" value="1"/>
<!-- <compositeSetting label="Port10 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port10 Config" value="31"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port10 Config" value="31"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port10 Config" value="27"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port10 Config" value="27"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port10 Config" value="95"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port10 Config" value="95"/>
<compositeSetting label="Port10 Value2A" value="2"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port10 Config" value="91"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port10 Config" value="91"/>
<compositeSetting label="Port10 Value2A" value="2"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port10 Config" value="111"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port10 Config" value="111"/>
<compositeSetting label="Port10 Value2A" value="2"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port10 Config" value="103"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port10 Config" value="103"/>
<compositeSetting label="Port10 Value2A" value="2"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port10 Config" value="47"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port10 Config" value="47"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port10 Config" value="39"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port10 Config" value="39"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port10 Config" value="23"/>
<compositeSetting label="Port10 Value2A" value="7"/>
<compositeSetting label="Port10 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port10 Config" value="55"/>
<compositeSetting label="Port10 Value2A" value="7"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port10 Config" value="55"/>
<compositeSetting label="Port10 Value2A" value="6"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port10 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port10 Value2A" value="2"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port10 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port10 Config" value="136"/>
<compositeSetting label="Port10 Value2A" value="2"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port10 Config" value="136"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port10 Config" value="140"/>
<compositeSetting label="Port10 Value2A" value="2"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port10 Config" value="140"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port10 Config" value="129"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port10 Config" value="128"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port10 Config" value="145"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port10 Config" value="144"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port10 Config" value="161"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port10 Config" value="160"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port10 Config" value="177"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port10 Config" value="176"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port10 Config" value="129"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port10 Config" value="128"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port10 Config" value="145"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port10 Config" value="144"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port10 Config" value="161"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port10 Config" value="160"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port10 Config" value="177"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port10 Config" value="176"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port10 Config" value="192"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port10 Config" value="192"/>
<compositeSetting label="Port10 Value2A" value="2"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port10 Config" value="208"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port10 Config" value="208"/>
<compositeSetting label="Port10 Value2A" value="2"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 10 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port10 Type" include="101,102,103,104,105,106">
<!--only available on ports 5-12 on LocoServo-->
<compositeVal>
<compositeChoice choice="Output Servo">
<!-- Servo values are identical to Output Fixed 1 Off, differentiated by PIC version -->
<choice>Output: Servo 6 (2/4 pos on tab Loco...)</choice>
<choice xml:lang="nl">Uitgang: Servo (2/4 pos. op tab LocoIO)</choice>
<compositeSetting label="Port10 Config" value="128"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port10 Config" value="0"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 10 Config and Value2 for servo connection</tooltip>
</variable>
<variable item="Port10 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port10 Config" value="0"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port10 Config" value="31"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port10 Config" value="31"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port10 Config" value="27"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port10 Config" value="27"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 10 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port11 Type-->
<variable item="Port11 Type" exclude="003,004,005,101,102,103,104,105,106,200,210,211">
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port11 Config" value="0"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port11 Config" value="15"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port11 Config" value="7"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port11 Config" value="15"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
<!-- <compositeSetting label="Port11 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port11 Config" value="15"/>
<compositeSetting label="Port11 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port11 OccuMode" value="1"/>
<!-- <compositeSetting label="Port11 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port11 Config" value="31"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port11 Config" value="31"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port11 Config" value="27"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port11 Config" value="27"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port11 Config" value="95"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port11 Config" value="95"/>
<compositeSetting label="Port11 Value2A" value="2"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port11 Config" value="91"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port11 Config" value="91"/>
<compositeSetting label="Port11 Value2A" value="2"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port11 Config" value="111"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port11 Config" value="111"/>
<compositeSetting label="Port11 Value2A" value="2"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port11 Config" value="103"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port11 Config" value="103"/>
<compositeSetting label="Port11 Value2A" value="2"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port11 Config" value="47"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port11 Config" value="47"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port11 Config" value="39"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port11 Config" value="39"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port11 Config" value="23"/>
<compositeSetting label="Port11 Value2A" value="7"/>
<compositeSetting label="Port11 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port11 Config" value="55"/>
<compositeSetting label="Port11 Value2A" value="7"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port11 Config" value="55"/>
<compositeSetting label="Port11 Value2A" value="6"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port11 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port11 Value2A" value="2"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port11 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port11 Config" value="136"/>
<compositeSetting label="Port11 Value2A" value="2"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port11 Config" value="136"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port11 Config" value="140"/>
<compositeSetting label="Port11 Value2A" value="2"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port11 Config" value="140"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port11 Config" value="129"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port11 Config" value="128"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port11 Config" value="145"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port11 Config" value="144"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port11 Config" value="161"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port11 Config" value="160"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port11 Config" value="177"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port11 Config" value="176"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port11 Config" value="129"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port11 Config" value="128"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port11 Config" value="145"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port11 Config" value="144"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port11 Config" value="161"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port11 Config" value="160"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port11 Config" value="177"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port11 Config" value="176"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port11 Config" value="192"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port11 Config" value="192"/>
<compositeSetting label="Port11 Value2A" value="2"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port11 Config" value="208"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port11 Config" value="208"/>
<compositeSetting label="Port11 Value2A" value="2"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 11 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port11 Type" include="101,102,103,104,105,106">
<!--only available on ports 5-12 on LocoServo-->
<compositeVal>
<compositeChoice choice="Output Servo">
<!-- Servo values are identical to Output Fixed 1 Off, differentiated by PIC version -->
<choice>Output: Servo 5 (2/4 pos on tab Loco...)</choice>
<choice xml:lang="nl">Uitgang: Servo (2/4 pos. op tab LocoIO)</choice>
<compositeSetting label="Port11 Config" value="128"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port11 Config" value="0"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 11 Config and Value2 for servo connection</tooltip>
</variable>
<variable item="Port11 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port11 Config" value="0"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port11 Config" value="31"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port11 Config" value="31"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port11 Config" value="27"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port11 Config" value="27"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 11 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port12 Type-->
<variable item="Port12 Type" exclude="003,004,005,101,102,103,104,105,106,200,210,211">
<!--exclude 210,211 LocoRCD2 to hide the combo, port 12 Config is set from Port11 Type combo-->
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port12 Config" value="0"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port12 Config" value="15"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port12 Config" value="7"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port12 Config" value="15"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
<!-- <compositeSetting label="Port12 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port12 Config" value="15"/>
<compositeSetting label="Port12 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port12 OccuMode" value="1"/>
<!-- <compositeSetting label="Port12 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port12 Config" value="31"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port12 Config" value="31"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port12 Config" value="27"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port12 Config" value="27"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port12 Config" value="95"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port12 Config" value="95"/>
<compositeSetting label="Port12 Value2A" value="2"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port12 Config" value="91"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port12 Config" value="91"/>
<compositeSetting label="Port12 Value2A" value="2"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port12 Config" value="111"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port12 Config" value="111"/>
<compositeSetting label="Port12 Value2A" value="2"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port12 Config" value="103"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port12 Config" value="103"/>
<compositeSetting label="Port12 Value2A" value="2"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port12 Config" value="47"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port12 Config" value="47"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port12 Config" value="39"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port12 Config" value="39"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port12 Config" value="23"/>
<compositeSetting label="Port12 Value2A" value="7"/>
<compositeSetting label="Port12 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port12 Config" value="55"/>
<compositeSetting label="Port12 Value2A" value="7"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port12 Config" value="55"/>
<compositeSetting label="Port12 Value2A" value="6"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port12 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port12 Value2A" value="2"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port12 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port12 Config" value="136"/>
<compositeSetting label="Port12 Value2A" value="2"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port12 Config" value="136"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port12 Config" value="140"/>
<compositeSetting label="Port12 Value2A" value="2"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port12 Config" value="140"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port12 Config" value="129"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port12 Config" value="128"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port12 Config" value="145"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port12 Config" value="144"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port12 Config" value="161"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port12 Config" value="160"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port12 Config" value="177"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port12 Config" value="176"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port12 Config" value="129"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port12 Config" value="128"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port12 Config" value="145"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port12 Config" value="144"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port12 Config" value="161"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port12 Config" value="160"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port12 Config" value="177"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port12 Config" value="176"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port12 Config" value="192"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port12 Config" value="192"/>
<compositeSetting label="Port12 Value2A" value="2"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port12 Config" value="208"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port12 Config" value="208"/>
<compositeSetting label="Port12 Value2A" value="2"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 12 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port12 Type" include="101,102,103,104,105,106">
<!--only available on ports 5-12 on LocoServo-->
<compositeVal>
<compositeChoice choice="Output Servo">
<!-- Servo values are identical to Output Fixed 1 Off, differentiated by PIC version -->
<choice>Output: Servo 6 (2/4 pos on tab Loco...)</choice>
<choice xml:lang="nl">Uitgang: Servo (2/4 pos. op tab LocoIO)</choice>
<compositeSetting label="Port12 Config" value="128"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port12 Config" value="0"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Port 12 Config and Value2 for servo connection</tooltip>
</variable>
<variable item="Port12 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port12 Config" value="0"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port12 Config" value="31"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port12 Config" value="31"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port12 Config" value="27"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port12 Config" value="27"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 12 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port13 Type-->
<variable item="Port13 Type" exclude="003,004,005,200,210,211">
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port13 Config" value="0"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port13 Config" value="15"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port13 Config" value="7"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port13 Config" value="15"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
<!-- <compositeSetting label="Port13 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port13 Config" value="15"/>
<compositeSetting label="Port13 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port13 OccuMode" value="1"/>
<!-- <compositeSetting label="Port13 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port13 Config" value="31"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port13 Config" value="31"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port13 Config" value="27"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port13 Config" value="27"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port13 Config" value="95"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port13 Config" value="95"/>
<compositeSetting label="Port13 Value2A" value="2"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port13 Config" value="91"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port13 Config" value="91"/>
<compositeSetting label="Port13 Value2A" value="2"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port13 Config" value="111"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port13 Config" value="111"/>
<compositeSetting label="Port13 Value2A" value="2"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port13 Config" value="103"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port13 Config" value="103"/>
<compositeSetting label="Port13 Value2A" value="2"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port13 Config" value="47"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port13 Config" value="47"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port13 Config" value="39"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port13 Config" value="39"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port13 Config" value="23"/>
<compositeSetting label="Port13 Value2A" value="7"/>
<compositeSetting label="Port13 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port13 Config" value="55"/>
<compositeSetting label="Port13 Value2A" value="7"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port13 Config" value="55"/>
<compositeSetting label="Port13 Value2A" value="6"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port13 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port13 Value2A" value="2"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port13 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port13 Config" value="136"/>
<compositeSetting label="Port13 Value2A" value="2"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port13 Config" value="136"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port13 Config" value="140"/>
<compositeSetting label="Port13 Value2A" value="2"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port13 Config" value="140"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port13 Config" value="129"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port13 Config" value="128"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port13 Config" value="145"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port13 Config" value="144"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port13 Config" value="161"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port13 Config" value="160"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port13 Config" value="177"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port13 Config" value="176"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port13 Config" value="129"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port13 Config" value="128"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port13 Config" value="145"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port13 Config" value="144"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port13 Config" value="161"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port13 Config" value="160"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port13 Config" value="177"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port13 Config" value="176"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port13 Config" value="192"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port13 Config" value="192"/>
<compositeSetting label="Port13 Value2A" value="2"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port13 Config" value="208"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port13 Config" value="208"/>
<compositeSetting label="Port13 Value2A" value="2"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<!-- Special option available on ports 1, 5, 9, 13 only-->
<compositeChoice choice="LocoView" include="153,154">
<choice>Output: LocoView (odd address)</choice>
<choice xml:lang="nl">Uitgang: LocoView (oneven adres)</choice>
<compositeSetting label="Port13 Config" value="224"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
<compositeSetting label="Port14 Config" value="0"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port15 Config" value="0"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port16 Config" value="0"/>
<compositeSetting label="Port16 Value2A" value="0"/>
</compositeChoice>
<compositeChoice choice="LocoView Even" include="153,154">
<choice>Output: LocoView (even address)</choice>
<choice xml:lang="nl">Uitgang: LocoView (even adres)</choice>
<compositeSetting label="Port13 Config" value="224"/>
<compositeSetting label="Port13 Value2A" value="2"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
<compositeSetting label="Port14 Config" value="0"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port15 Config" value="0"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port16 Config" value="0"/>
<compositeSetting label="Port16 Value2A" value="0"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 13 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port13 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port13 Config" value="0"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port13 Config" value="31"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port13 Config" value="31"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port13 Config" value="27"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port13 Config" value="27"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 13 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port14 Type-->
<variable item="Port14 Type" exclude="003,004,005,200,210,211">
<!--exclude 210,211 LocoRCD2 to hide the combo, port 14 Config is set from Port13 Type combo-->
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port14 Config" value="0"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port14 Config" value="15"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port14 Config" value="7"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port14 Config" value="15"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
<!-- <compositeSetting label="Port14 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port14 Config" value="15"/>
<compositeSetting label="Port14 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port14 OccuMode" value="1"/>
<!-- <compositeSetting label="Port14 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port14 Config" value="31"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port14 Config" value="31"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed )dd)</choice>
<compositeSetting label="Port14 Config" value="27"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port14 Config" value="27"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port14 Config" value="95"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port14 Config" value="95"/>
<compositeSetting label="Port14 Value2A" value="2"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port14 Config" value="91"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port14 Config" value="91"/>
<compositeSetting label="Port14 Value2A" value="2"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port14 Config" value="111"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port14 Config" value="111"/>
<compositeSetting label="Port14 Value2A" value="2"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port14 Config" value="103"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port14 Config" value="103"/>
<compositeSetting label="Port14 Value2A" value="2"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port14 Config" value="47"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port14 Config" value="47"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port14 Config" value="39"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port14 Config" value="39"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port14 Config" value="23"/>
<compositeSetting label="Port14 Value2A" value="7"/>
<compositeSetting label="Port14 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port14 Config" value="55"/>
<compositeSetting label="Port14 Value2A" value="7"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port14 Config" value="55"/>
<compositeSetting label="Port14 Value2A" value="6"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port14 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port14 Value2A" value="2"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port14 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port14 Config" value="136"/>
<compositeSetting label="Port14 Value2A" value="2"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port14 Config" value="136"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port14 Config" value="140"/>
<compositeSetting label="Port14 Value2A" value="2"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port14 Config" value="140"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port14 Config" value="129"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port14 Config" value="128"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port14 Config" value="145"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port14 Config" value="144"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port14 Config" value="161"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port14 Config" value="160"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port14 Config" value="177"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port14 Config" value="176"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port14 Config" value="129"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port14 Config" value="128"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port14 Config" value="145"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port14 Config" value="144"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port14 Config" value="161"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port14 Config" value="160"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port14 Config" value="177"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port14 Config" value="176"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port14 Config" value="192"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port14 Config" value="192"/>
<compositeSetting label="Port14 Value2A" value="2"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port14 Config" value="208"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port14 Config" value="208"/>
<compositeSetting label="Port14 Value2A" value="2"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 14 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port14 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port14 Config" value="0"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port14 Config" value="31"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port14 Config" value="31"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port14 Config" value="27"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port14 Config" value="27"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 14 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port15 Type-->
<variable item="Port15 Type" exclude="003,004,005,200,210,211">
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port15 Config" value="0"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port15 Config" value="15"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port15 Config" value="7"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port15 Config" value="15"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
<!-- <compositeSetting label="Port15 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port15 Config" value="15"/>
<compositeSetting label="Port15 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port15 OccuMode" value="1"/>
<!-- <compositeSetting label="Port15 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port15 Config" value="31"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port15 Config" value="31"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port15 Config" value="27"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port15 Config" value="27"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port15 Config" value="95"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port15 Config" value="95"/>
<compositeSetting label="Port15 Value2A" value="2"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port15 Config" value="91"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port15 Config" value="91"/>
<compositeSetting label="Port15 Value2A" value="2"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port15 Config" value="111"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port15 Config" value="111"/>
<compositeSetting label="Port15 Value2A" value="2"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port15 Config" value="103"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port15 Config" value="103"/>
<compositeSetting label="Port15 Value2A" value="2"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port15 Config" value="47"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port15 Config" value="47"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port15 Config" value="39"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port15 Config" value="39"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port15 Config" value="23"/>
<compositeSetting label="Port15 Value2A" value="7"/>
<compositeSetting label="Port15 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port15 Config" value="55"/>
<compositeSetting label="Port15 Value2A" value="7"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port15 Config" value="55"/>
<compositeSetting label="Port15 Value2A" value="6"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port15 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port15 Value2A" value="2"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port15 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port15 Config" value="136"/>
<compositeSetting label="Port15 Value2A" value="2"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port15 Config" value="136"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port15 Config" value="140"/>
<compositeSetting label="Port15 Value2A" value="2"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port15 Config" value="140"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port15 Config" value="129"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port15 Config" value="128"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port15 Config" value="145"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port15 Config" value="144"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port15 Config" value="161"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port15 Config" value="160"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port15 Config" value="177"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port15 Config" value="176"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port15 Config" value="129"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port15 Config" value="128"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port15 Config" value="145"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port15 Config" value="144"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port15 Config" value="161"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port15 Config" value="160"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port15 Config" value="177"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port15 Config" value="176"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port15 Config" value="192"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port15 Config" value="192"/>
<compositeSetting label="Port15 Value2A" value="2"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port15 Config" value="208"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port15 Config" value="208"/>
<compositeSetting label="Port15 Value2A" value="2"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 15 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port15 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port15 Config" value="0"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port15 Config" value="31"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port15 Config" value="31"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port15 Config" value="27"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port15 Config" value="27"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 15 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!--Port16 Type-->
<variable item="Port16 Type" exclude="003,004,005,200,210,211">
<!--exclude 210,211 LocoRCD2 to hide the combo, port 16 Config is set from Port15 Type combo-->
<compositeVal>
<compositeChoice choice="Port Not In Use" exclude="135,139,140,141,142,144,145,146,148">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port16 Config" value="0"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<!--Input types-->
<compositeChoice choice="Input Toggle switch">
<choice>Input: Toggle switch</choice>
<choice xml:lang="nl">Ingang: Wisselschakelaar</choice>
<compositeSetting label="Port16 Config" value="15"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="0"/> <!--CV value via mask = 16 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Toggle Indirect" exclude="135,139,140,141,142">
<choice>Input: Toggle switch - Indirect</choice>
<choice xml:lang="nl">Ingang: Wisselcontact - Indirect</choice>
<compositeSetting label="Port16 Config" value="7"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Occu" include="135,139,140">
<choice>Input: Block Detector (odd address)</choice>
<compositeSetting label="Port16 Config" value="15"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
<!-- <compositeSetting label="Port16 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
<!--TODO reset "Portx Old Block" bit to 0 for all other choices on 135,139,140-->
</compositeChoice>
<compositeChoice choice="Input Occu Even" include="135,139,140">
<choice>Input: Block Detector (even address)</choice>
<compositeSetting label="Port16 Config" value="15"/>
<compositeSetting label="Port16 Value2A" value="2"/><!-- adds 32 to Value2/CV5)-->
<compositeSetting label="Port16 OccuMode" value="1"/>
<!-- <compositeSetting label="Port16 Old Block" value="1"/> special case: set SV4 bit 7 to 1 -->
</compositeChoice>
<compositeChoice choice="Input Occu Low" exclude="135,139,140">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port16 Config" value="31"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even" exclude="135,139,140">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port16 Config" value="31"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port16 Config" value="27"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="101,135,139,140,141,142,144,145,146">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port16 Config" value="27"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (odd address)</choice>
<compositeSetting label="Port16 Config" value="95"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Even" exclude="135,139,140,GCA50,GCA51">
<choice>Input: Block Detector - active High (even address)</choice>
<compositeSetting label="Port16 Config" value="95"/>
<compositeSetting label="Port16 Value2A" value="2"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (odd)</choice>
<compositeSetting label="Port16 Config" value="91"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu High Delayed Even" exclude="101,135,139,140,141,142,144,145,146,GCA50,GCA51">
<choice>Input: Block Detector - active High Delayed (even)</choice>
<compositeSetting label="Port16 Config" value="91"/>
<compositeSetting label="Port16 Value2A" value="2"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (odd address)</choice>
<compositeSetting label="Port16 Config" value="111"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Direct Even" exclude="GCA50,GCA51">
<choice>Input: Push button - active High (even address)</choice>
<compositeSetting label="Port16 Config" value="111"/>
<compositeSetting label="Port16 Value2A" value="2"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (odd)</choice>
<compositeSetting label="Port16 Config" value="103"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push High Indirect Even" exclude="135,139,140,141,142,GCA50,GCA51">
<choice>Input: Push button - active High - Indirect (even)</choice>
<compositeSetting label="Port16 Config" value="103"/>
<compositeSetting label="Port16 Value2A" value="2"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct">
<choice>Input: Push button - active Low (odd address)</choice>
<compositeSetting label="Port16 Config" value="47"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Direct Even">
<choice>Input: Push button - active Low (even address)</choice>
<compositeSetting label="Port16 Config" value="47"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (odd)</choice>
<compositeSetting label="Port16 Config" value="39"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Push Low Indirect Even" exclude="135,139,140,141,142">
<choice>Input: Push button - active Low - Indirect (even)</choice>
<compositeSetting label="Port16 Config" value="39"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Normal" exclude="135,139,140,141,142"> <!-- v1.44 and higher -->
<choice>Input: Feedback - Normal</choice>
<compositeSetting label="Port16 Config" value="23"/>
<compositeSetting label="Port16 Value2A" value="7"/>
<compositeSetting label="Port16 OccuMode" value="0"/> <!--CV value via mask = 112 as per documentation-->
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact1" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 1</choice>
<compositeSetting label="Port16 Config" value="55"/>
<compositeSetting label="Port16 Value2A" value="7"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Input Switch Feedback Contact2" exclude="135,139,140,141,142,144"> <!-- v1.45 and higher -->
<choice>Input: Feedback - Contact 2</choice>
<compositeSetting label="Port16 Config" value="55"/>
<compositeSetting label="Port16 Value2A" value="6"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<!--Output types-->
<compositeChoice choice="Output Pulse 1" include="135,139,140,141">
<choice>Output: Pulse 1</choice>
<compositeSetting label="Port16 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port16 Value2A" value="2"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2" include="135,139,140,141">
<choice>Output: Pulse 2</choice>
<compositeSetting label="Port16 Config" value="136"/> <!-- have to check -->
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Soft Reset</choice>
<compositeSetting label="Port16 Config" value="136"/>
<compositeSetting label="Port16 Value2A" value="2"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Soft" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Soft Reset</choice>
<compositeSetting label="Port16 Config" value="136"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 1 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 1 - Hard Reset</choice>
<compositeSetting label="Port16 Config" value="140"/>
<compositeSetting label="Port16 Value2A" value="2"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Pulse 2 Hard" exclude="135,139,140,141">
<choice>Output: Pulse 2 - Hard Reset</choice>
<compositeSetting label="Port16 Config" value="140"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On" exclude="135">
<choice>Output: Fixed 1 - On</choice>
<compositeSetting label="Port16 Config" value="129"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off">
<choice>Output: Fixed 1 - Off</choice>
<compositeSetting label="Port16 Config" value="128"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - Blinking</choice>
<compositeSetting label="Port16 Config" value="145"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - Blinking</choice>
<compositeSetting label="Port16 Config" value="144"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way" exclude="135">
<choice>Output: Fixed 1 - On - 4-Way</choice>
<compositeSetting label="Port16 Config" value="161"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way">
<choice>Output: Fixed 1 - Off - 4-Way</choice>
<compositeSetting label="Port16 Config" value="160"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port16 Config" value="177"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 1 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 1 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port16 Config" value="176"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On" exclude="135">
<choice>Output: Fixed 2 - On</choice>
<compositeSetting label="Port16 Config" value="129"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off">
<choice>Output: Fixed 2 - Off</choice>
<compositeSetting label="Port16 Config" value="128"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - Blinking</choice>
<compositeSetting label="Port16 Config" value="145"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - Blinking</choice>
<compositeSetting label="Port16 Config" value="144"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way" exclude="135">
<choice>Output: Fixed 2 - On - 4-Way</choice>
<compositeSetting label="Port16 Config" value="161"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way">
<choice>Output: Fixed 2 - Off - 4-Way</choice>
<compositeSetting label="Port16 Config" value="160"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 On 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - On - 4-Way - Blinking</choice>
<compositeSetting label="Port16 Config" value="177"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Fixed 2 Off 4Way Blink" exclude="135,139">
<choice>Output: Fixed 2 - Off - 4-Way - Blinking</choice>
<compositeSetting label="Port16 Config" value="176"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="0"/>
</compositeChoice>
<compositeChoice choice="Output Block">
<choice>Output: Block Detector (odd address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (oneven)</choice>
<compositeSetting label="Port16 Config" value="192"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Even">
<choice>Output: Block Detector (even address)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder (even)</choice>
<compositeSetting label="Port16 Config" value="192"/>
<compositeSetting label="Port16 Value2A" value="2"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink" exclude="135,139">
<choice>Output: Block Detector - Blinking (odd)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (oneven)</choice>
<compositeSetting label="Port16 Config" value="208"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Output Block Blink Even" exclude="135,139">
<choice>Output: Block Detector - Blinking (even)</choice>
<choice xml:lang="nl">Uitgang: Bezetmelder - knipperend (even)</choice>
<compositeSetting label="Port16 Config" value="208"/>
<compositeSetting label="Port16 Value2A" value="2"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip>Select Port 16 operation mode. Sets Config and Value2</tooltip>
</variable>
<variable item="Port16 Type" include="200">
<!--only available on LocoRCD-->
<compositeVal>
<compositeChoice choice="Port Not In Use">
<choice>Port Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port16 Config" value="0"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port16 Config" value="31"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port16 Config" value="31"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port16 Config" value="27"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port16 Config" value="27"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Port 16 Config and Value2 for RCD connection.<br/>Select only one active port on this LocoRCD board</html></tooltip>
</variable>
<!-- end of PortX Type variables 1-16 -->
<!-- all RCD(2) Port Type options are of type Sensor, so Address field never displayed on RCD(2) -->
<variable item="Port1 Type" include="210,211">
<!--only available on LocoRCD2-->
<compositeVal>
<compositeChoice choice="Ports Not In Use">
<choice>Ports Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port1 Config" value="0"/>
<compositeSetting label="Port1 Value2A" value="0"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
<compositeSetting label="Port2 Config" value="0"/>
<compositeSetting label="Port2 Value2A" value="0"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port1 Config" value="31"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
<compositeSetting label="Port2 Config" value="31"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port1 Config" value="31"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
<compositeSetting label="Port2 Config" value="31"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="210">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port1 Config" value="27"/>
<compositeSetting label="Port1 Value2A" value="1"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
<compositeSetting label="Port2 Config" value="27"/>
<compositeSetting label="Port2 Value2A" value="1"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="210">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port1 Config" value="27"/>
<compositeSetting label="Port1 Value2A" value="3"/>
<compositeSetting label="Port1 OccuMode" value="1"/>
<compositeSetting label="Port2 Config" value="27"/>
<compositeSetting label="Port2 Value2A" value="3"/>
<compositeSetting label="Port2 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Select Port 1+2 operation mode. Sets Config and Value2<br/>Use just one pair of active ports on this LocoRCD2 board</html></tooltip>
</variable>
<variable item="Port3 Type" include="210,211">
<!--only available on LocoRCD2-->
<compositeVal>
<compositeChoice choice="Ports Not In Use">
<choice>Ports Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port3 Config" value="0"/>
<compositeSetting label="Port3 Value2A" value="0"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
<compositeSetting label="Port4 Config" value="0"/>
<compositeSetting label="Port4 Value2A" value="0"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port3 Config" value="31"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
<compositeSetting label="Port4 Config" value="31"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port3 Config" value="31"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
<compositeSetting label="Port4 Config" value="31"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="210">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port3 Config" value="27"/>
<compositeSetting label="Port3 Value2A" value="1"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
<compositeSetting label="Port4 Config" value="27"/>
<compositeSetting label="Port4 Value2A" value="1"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="210">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port3 Config" value="27"/>
<compositeSetting label="Port3 Value2A" value="3"/>
<compositeSetting label="Port3 OccuMode" value="1"/>
<compositeSetting label="Port4 Config" value="27"/>
<compositeSetting label="Port4 Value2A" value="3"/>
<compositeSetting label="Port4 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Select Port 3+4 operation mode. Sets Config and Value2<br/>Use just one pair of active ports on this LocoRCD2 board</html></tooltip>
</variable>
<variable item="Port5 Type" include="210,211">
<!--only available on LocoRCD2-->
<compositeVal>
<compositeChoice choice="Ports Not In Use">
<choice>Ports Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port5 Config" value="0"/>
<compositeSetting label="Port5 Value2A" value="0"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
<compositeSetting label="Port6 Config" value="0"/>
<compositeSetting label="Port6 Value2A" value="0"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port5 Config" value="31"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
<compositeSetting label="Port6 Config" value="31"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port5 Config" value="31"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
<compositeSetting label="Port6 Config" value="31"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="210">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port5 Config" value="27"/>
<compositeSetting label="Port5 Value2A" value="1"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
<compositeSetting label="Port6 Config" value="27"/>
<compositeSetting label="Port6 Value2A" value="1"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="210">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port5 Config" value="27"/>
<compositeSetting label="Port5 Value2A" value="3"/>
<compositeSetting label="Port5 OccuMode" value="1"/>
<compositeSetting label="Port6 Config" value="27"/>
<compositeSetting label="Port6 Value2A" value="3"/>
<compositeSetting label="Port6 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Select Port 5+6 operation mode. Sets Config and Value2<br/>Use just one pair of active ports on this LocoRCD2 board</html></tooltip>
</variable>
<variable item="Port7 Type" include="210,211">
<!--only available on LocoRCD2-->
<compositeVal>
<compositeChoice choice="Ports Not In Use">
<choice>Ports Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port7 Config" value="0"/>
<compositeSetting label="Port7 Value2A" value="0"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
<compositeSetting label="Port8 Config" value="0"/>
<compositeSetting label="Port8 Value2A" value="0"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port7 Config" value="31"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
<compositeSetting label="Port8 Config" value="31"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port7 Config" value="31"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
<compositeSetting label="Port8 Config" value="31"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="210">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port7 Config" value="27"/>
<compositeSetting label="Port7 Value2A" value="1"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
<compositeSetting label="Port8 Config" value="27"/>
<compositeSetting label="Port8 Value2A" value="1"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="210">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port7 Config" value="27"/>
<compositeSetting label="Port7 Value2A" value="3"/>
<compositeSetting label="Port7 OccuMode" value="1"/>
<compositeSetting label="Port8 Config" value="27"/>
<compositeSetting label="Port8 Value2A" value="3"/>
<compositeSetting label="Port8 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Select Port 7+8 operation mode. Sets Config and Value2<br/>Use just one pair of active ports on this LocoRCD2 board</html></tooltip>
</variable>
<variable item="Port9 Type" include="210,211">
<!--only available on LocoRCD2-->
<compositeVal>
<compositeChoice choice="Ports Not In Use">
<choice>Ports Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port9 Config" value="0"/>
<compositeSetting label="Port9 Value2A" value="0"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
<compositeSetting label="Port10 Config" value="0"/>
<compositeSetting label="Port10 Value2A" value="0"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port9 Config" value="31"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
<compositeSetting label="Port10 Config" value="31"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port9 Config" value="31"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
<compositeSetting label="Port10 Config" value="31"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="210">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port9 Config" value="27"/>
<compositeSetting label="Port9 Value2A" value="1"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
<compositeSetting label="Port10 Config" value="27"/>
<compositeSetting label="Port10 Value2A" value="1"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="210">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port9 Config" value="27"/>
<compositeSetting label="Port9 Value2A" value="3"/>
<compositeSetting label="Port9 OccuMode" value="1"/>
<compositeSetting label="Port10 Config" value="27"/>
<compositeSetting label="Port10 Value2A" value="3"/>
<compositeSetting label="Port10 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Select Port 9+10 operation mode. Sets Config and Value2<br/>Use just one pair of active ports on this LocoRCD2 board</html></tooltip>
</variable>
<variable item="Port11 Type" include="210,211">
<!--only available on LocoRCD2-->
<compositeVal>
<compositeChoice choice="Ports Not In Use">
<choice>Ports Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port11 Config" value="0"/>
<compositeSetting label="Port11 Value2A" value="0"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
<compositeSetting label="Port12 Config" value="0"/>
<compositeSetting label="Port12 Value2A" value="0"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port11 Config" value="31"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
<compositeSetting label="Port12 Config" value="31"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port11 Config" value="31"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
<compositeSetting label="Port12 Config" value="31"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="210">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port11 Config" value="27"/>
<compositeSetting label="Port11 Value2A" value="1"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
<compositeSetting label="Port12 Config" value="27"/>
<compositeSetting label="Port12 Value2A" value="1"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="210">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port11 Config" value="27"/>
<compositeSetting label="Port11 Value2A" value="3"/>
<compositeSetting label="Port11 OccuMode" value="1"/>
<compositeSetting label="Port12 Config" value="27"/>
<compositeSetting label="Port12 Value2A" value="3"/>
<compositeSetting label="Port12 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Select Port 11+12 operation mode. Sets Config and Value2<br/>Use just one pair of active ports on this LocoRCD2 board</html></tooltip>
</variable>
<variable item="Port13 Type" include="210,211">
<!--only available on LocoRCD2-->
<compositeVal>
<compositeChoice choice="Ports Not In Use">
<choice>Ports Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port13 Config" value="0"/>
<compositeSetting label="Port13 Value2A" value="0"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
<compositeSetting label="Port14 Config" value="0"/>
<compositeSetting label="Port14 Value2A" value="0"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port13 Config" value="31"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
<compositeSetting label="Port14 Config" value="31"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port13 Config" value="31"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
<compositeSetting label="Port14 Config" value="31"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="210">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port13 Config" value="27"/>
<compositeSetting label="Port13 Value2A" value="1"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
<compositeSetting label="Port14 Config" value="27"/>
<compositeSetting label="Port14 Value2A" value="1"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="210">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port13 Config" value="27"/>
<compositeSetting label="Port13 Value2A" value="3"/>
<compositeSetting label="Port13 OccuMode" value="1"/>
<compositeSetting label="Port14 Config" value="27"/>
<compositeSetting label="Port14 Value2A" value="3"/>
<compositeSetting label="Port14 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Select Port 13+14 operation mode. Sets Config and Value2<br/>Use just one pair of active ports on this LocoRCD2 board</html></tooltip>
</variable>
<variable item="Port15 Type" include="210,211">
<!--only available on LocoRCD2-->
<compositeVal>
<compositeChoice choice="Ports Not In Use">
<choice>Ports Not In Use</choice>
<choice xml:lang="de">Anschluss nicht benutzt</choice>
<choice xml:lang="nl">Poort niet in gebruik</choice>
<compositeSetting label="Port15 Config" value="0"/>
<compositeSetting label="Port15 Value2A" value="0"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
<compositeSetting label="Port16 Config" value="0"/>
<compositeSetting label="Port16 Value2A" value="0"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low">
<choice>Input: Block Detector - active Low (odd address)</choice>
<compositeSetting label="Port15 Config" value="31"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
<compositeSetting label="Port16 Config" value="31"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Even">
<choice>Input: Block Detector - active Low (even address)</choice>
<compositeSetting label="Port15 Config" value="31"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
<compositeSetting label="Port16 Config" value="31"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed" exclude="210">
<choice>Input: Block Detector - active Low Delayed (odd)</choice>
<compositeSetting label="Port15 Config" value="27"/>
<compositeSetting label="Port15 Value2A" value="1"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
<compositeSetting label="Port16 Config" value="27"/>
<compositeSetting label="Port16 Value2A" value="1"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
<compositeChoice choice="Input Occu Low Delayed Even" exclude="210">
<choice>Input: Block Detector - active Low Delayed (even)</choice>
<compositeSetting label="Port15 Config" value="27"/>
<compositeSetting label="Port15 Value2A" value="3"/>
<compositeSetting label="Port15 OccuMode" value="1"/>
<compositeSetting label="Port16 Config" value="27"/>
<compositeSetting label="Port16 Value2A" value="3"/>
<compositeSetting label="Port16 OccuMode" value="1"/>
</compositeChoice>
</compositeVal>
<label>Mode:</label>
<label xml:lang="de">Typ:</label>
<label xml:lang="nl">Type:</label>
<tooltip><html>Select Port 15+16 operation mode. Sets Config and Value2<br/>Use just one pair of active ports on this LocoRCD2 board</html></tooltip>
</variable>
<!--end of RCD(2) Port Type combos-->
<!--Central selector for LocoRCD 1-port set-->
<variable item="RCD Port Setter" comment="For RCD UI only" include="200">
<compositeVal>
<compositeChoice>
<choice>Select...</choice>
<choice xml:lang="nl">Selecteer...</choice>
<comment>No action</comment>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 1</choice>
<choice xml:lang="nl">Poort 1</choice>
<compositeSetting label="Port1 Type" value="1"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 2</choice>
<choice xml:lang="nl">Poort 2</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="1"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 3</choice>
<choice xml:lang="nl">Poorte3</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="1"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 4</choice>
<choice xml:lang="nl">Poort 4</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="1"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 5</choice>
<choice xml:lang="nl">Poort 5</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="1"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 6</choice>
<choice xml:lang="nl">Poort 6</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="1"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 7</choice>
<choice xml:lang="nl">Poort 7</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="1"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 8</choice>
<choice xml:lang="nl">Poort 8</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="1"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 9</choice>
<choice xml:lang="nl">Poort 9</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="1"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 10</choice>
<choice xml:lang="nl">Poort 10</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="1"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 11</choice>
<choice xml:lang="nl">Poort 11</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="1"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 12</choice>
<choice xml:lang="nl">Poort 12</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="1"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 13</choice>
<choice xml:lang="nl">Poort 13</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="1"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 14</choice>
<choice xml:lang="nl">Poort 14</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="1"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 15</choice>
<choice xml:lang="nl">Poort 15</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="1"/>
<compositeSetting label="Port16 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Port 16</choice>
<choice xml:lang="nl">Poort 16</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port2 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port4 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port6 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port8 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port10 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port12 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port14 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
<compositeSetting label="Port16 Type" value="1"/>
</compositeChoice>
</compositeVal>
<label>Port to use:</label>
<label xml:lang="de">Aktive Ausgang:</label>
<label xml:lang="nl">Actieve poort:</label>
<tooltip>Select a unique 2-port set between all boards that share one RCD2 Board address</tooltip>
</variable>
<!--Central selector for LocoRCD 2-port set-->
<variable item="RCD Port Setter" comment="For RCD2 UI only" include="210,211">
<compositeVal>
<compositeChoice>
<choice>Select...</choice>
<choice xml:lang="nl">Selecteer...</choice>
<comment>No action</comment>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Ports 1-2</choice>
<choice xml:lang="nl">Poorten 1-2</choice>
<!--Even Ports 2, 4, ... don't exist on LocoRCD2 pane-->
<compositeSetting label="Port1 Type" value="1"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Ports 3-4</choice>
<choice xml:lang="nl">Poorten 3-4</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port3 Type" value="1"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Ports 5-6</choice>
<choice xml:lang="nl">Poorten 5-6</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port5 Type" value="1"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Ports 7-8</choice>
<choice xml:lang="nl">Poorten 7-8</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port7 Type" value="1"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Ports 9-10</choice>
<choice xml:lang="nl">Poorten 9-10</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port9 Type" value="1"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Ports 11-12</choice>
<choice xml:lang="nl">Poorten 11-12</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port11 Type" value="1"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port15 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Ports 13-14</choice>
<choice xml:lang="nl">Poorten 13-14</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port13 Type" value="1"/>
<compositeSetting label="Port15 Type" value="0"/>
</compositeChoice>
<compositeChoice>
<choice>Ports 15-16</choice>
<choice xml:lang="nl">Poorten 15-16</choice>
<compositeSetting label="Port1 Type" value="0"/>
<compositeSetting label="Port3 Type" value="0"/>
<compositeSetting label="Port5 Type" value="0"/>
<compositeSetting label="Port7 Type" value="0"/>
<compositeSetting label="Port9 Type" value="0"/>
<compositeSetting label="Port11 Type" value="0"/>
<compositeSetting label="Port13 Type" value="0"/>
<compositeSetting label="Port15 Type" value="1"/>
</compositeChoice>
</compositeVal>
<label>Port Pair to use:</label>
<label xml:lang="de">Aktives Ausgängepaar:</label>
<label xml:lang="nl">Actieve poortenset:</label>
<tooltip>Select a unique 2-port set between all boards that share one RCD2 Board address</tooltip>
</variable>
</variables>
</decoder>
<!-- LocoIO GUI Panes -->
<!-- LocoIO Board Settings Pane -->
<pane>
<name>Loco...</name>
<column>
<group exclude="003,004,005,101,102,103,104,105,106,200,210,211,GCA50,GCA51">
<label>
<text>&lt;html&gt;&lt;strong&gt;LocoIO Board Settings&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;LocoIO Modulkonfiguration&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;LocoIO Module-instellingen&lt;/strong&gt;&lt;/html&gt;</text>
</label>
</group>
<group include="003,004,005">
<label>
<text>&lt;html&gt;&lt;strong&gt;LocoBooster Board Settings&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;LocoBooster Modulkonfiguration&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;LocoBooster Module-instellingen&lt;/strong&gt;&lt;/html&gt;</text>
</label>
</group>
<group include="101,102,103,104,105,106">
<label>
<text>&lt;html&gt;&lt;strong&gt;LocoServo Board Settings&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;LocoServo Modulkonfiguration&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;LocoServo Module-instellingen&lt;/strong&gt;&lt;/html&gt;</text>
</label>
</group>
<group include="200">
<label>
<text>&lt;html&gt;&lt;strong&gt;LocoRCD Board Settings&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;LocoRCD Modulkonfiguration&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;LocoRCD Module-instellingen&lt;/strong&gt;&lt;/html&gt;</text>
</label>
</group>
<group include="210,211">
<label>
<text>&lt;html&gt;&lt;strong&gt;LocoRCD2 Board Settings&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;LocoRCD2 Modulkonfiguration&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;LocoRCD2 Module-instellingen&lt;/strong&gt;&lt;/html&gt;</text>
</label>
</group>
<group include="GCA50">
<label>
<text>&lt;html&gt;&lt;strong&gt;GCA50(a) LocoIO Board Settings&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;GCA50(a) LocoIO Modulkonfiguration&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;GCA50(a) LocoIO Module-instellingen&lt;/strong&gt;&lt;/html&gt;</text>
</label>
</group>
<group include="GCA51">
<label>
<text>&lt;html&gt;&lt;strong&gt;GCA51 2x RFID + LocoIO 9-16 Board Settings&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;GCA51 2x RFID + LocoIO 9-16 Modulkonfiguration&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;GCA51 2x RFID + LocoIO 9-16 Module-instellingen&lt;/strong&gt;&lt;/html&gt;</text>
</label>
</group>
<group><!--address 80 reserved for LocoBuffer-->
<qualifier>
<variableref>Short Address</variableref>
<relation>eq</relation>
<value>80</value>
</qualifier>
<separator/>
<label>
<text>WARNING: LocoIO board main address is incorrectly set to 80, reserved value for LocoBuffer. Please correct on tab Basic.</text>
<text xml:lang="de">ACHTUNG: LocoIO Moduladresse 80 nicht gültig. Wert reserviert für LocoBuffer. Bitte sofort ändern.</text>
<text xml:lang="nl">WAARSCHUWING: LocoIO hoofdadres is foutief ingesteld op 80, dit adres is gereserveerd voor LocoBuffer. Direct verbeteren.</text>
</label>
<separator/>
</group>
<display item="Decoder Version"/>
<row>
<display item="Blink Rate"/>
<display item="Blink Rate" format="hslider" label=""/>
</row>
<row>
<!--LocoRCD2 only-->
<display item="Detection Delay"/>
<display item="Detection Delay" format="hslider" label=""/>
</row>
<row>
<!--LocoRCD2 only-->
<display item="Light Intensity"/>
<display item="Light Intensity" format="hslider-percent" label=""/>
</row>
<row>
<display item="Action Mode"/>
</row>
<row>
<display item="Alternate Mode"/>
</row>
<row>
<display item="Port Refresh" format="checkbox"/>
</row>
<display item="Board Active High" format="checkbox"/>
<!-- next item must exist as qualifier variable, but not shown on pane/supported in older versions-->
<group exclude="003,101,102,103,135,139,140,141,142,144,145,146,148,149,210,211,GCA50,GCA51">
<row>
<display item="Special Ports" format="checkbox"/>
</row>
</group>
</column>
</pane>
<!-- Per Port Config Pane -->
<pane>
<name>Ports</name>
<name xml:lang="de">Anschlüsse</name>
<name xml:lang="nl">Poorten</name>
<column>
<row>
<label>
<text>&lt;html&gt;Max port address: 2048 (7 x 128 + 127 + 1). Checkbox "o" for Detector style address.&lt;br/&gt;
Use the Mode combo boxes to define the port operation mode, autofilling the Config and Value2 fields.&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;Hoogste poortadres: 2048 (7 x 128 + 127 + 1). Aankruisvak "o" markeert een Terugmelder-adres.&lt;br/&gt;
Selecteer in de keuzelijst het type poort. Dit vult de Config- en Value2-velden.&lt;/html&gt;</text>
</label>
</row>
<group include="200,210,211">
<separator/>
<row>
<display item="RCD Port Setter"/>
</row>
</group>
<separator/>
<row>
<column>
<group exclude="GCA51"><!-- special port label for GCA51-->
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 1&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 1&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 1&lt;/strong&gt;&lt;/html&gt;</text>
</label>
</group>
<group include="GCA51"><!-- special port 1 label for GCA51-->
<label>
<text>&lt;html&gt;&lt;strong&gt;RFID module J2&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;RFID Modul J2&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;RFID-module J2&lt;/strong&gt;&lt;/html&gt;</text>
</label>
</group>
<group>
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>0</value>
</qualifier>
<row>
<display item="Port1 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port1 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port1 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port1 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port1 SensorAddress"/>
</row>
</group>
<display item="Port1 Value2A"/>
<display item="Port1 OccuMode" format="checkbox"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port1 SensorAddress</variableref>
<relation>eq</relation>
<value>2</value>
</qualifier>
<label>
<text>&lt;html&gt;&lt;color=red&gt;Set Type choice for Even addres&lt;/color&gt;&lt;/html&gt;</text>
</label>
</group>
<group>
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port1 Special"/>
</row>
<label>
<text>Address N/A Opcode N/A</text>
<text xml:lang="de">Adresse N/A Opcode N/A</text>
<text xml:lang="nl">Adres N/A Opcode N/A</text>
</label>
</group>
<row>
<display item="Port1 Config"/>
<display item="Port1 Value1"/>
<display item="Port1 Value2"/>
<!--<display item="Port1 Old Block"/>-->
</row>
</column>
<!--RCD2 only-->
<group>
<qualifier>
<variableref>Port1 Type</variableref>
<relation>ne</relation>
<value>0</value>
</qualifier>
<column>
<row>
<display item="Port1 Train Control" format="checkbox"/>
<display item="Port1 Train Reverse" format="checkbox"/>
</row>
<row>
<display item="Port1 Train Slow Down" layout="left" format="hslider"/>
<display item="Port1 Train Slow Down" layout="left" label=""/>
</row>
<row>
<display item="Port1 Train Wait" layout="left" format="hslider"/>
<display item="Port1 Train Wait" layout="left" label=""/>
</row>
</column>
</group>
<group>
<!--Opcode 1 2 option, hide on ports 1-4 when set to Special Ports-->
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>0</value>
</qualifier>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<display item="Port1 Opcode1 Type"/>
<display item="Port1 Opcode1 Address"/>
<row>
<display item="Port1 Opcode1 Opc"/>
<display item="Port1 Opcode1 Arg1"/>
<display item="Port1 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port1 Opcode2 Type"/>
<display item="Port1 Opcode2 Address"/>
<row>
<display item="Port1 Opcode2 Opc"/>
<display item="Port1 Opcode2 Arg1"/>
<display item="Port1 Opcode2 Arg2"/>
</row>
</column>
</group>
</row>
<separator/>
<row>
<column>
<group exclude="GCA51"><!-- special port 2 label for GCA51-->
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 2&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 2&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 2&lt;/strong&gt;&lt;/html&gt;</text>
</label>
</group>
<group include="GCA51"><!-- special port label for GCA51-->
<label>
<text>&lt;html&gt;&lt;strong&gt;RFID module J3&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;RFID Modul J3&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;RFID-module J3&lt;/strong&gt;&lt;/html&gt;</text>
</label>
</group>
<group>
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>0</value>
</qualifier>
<row>
<display item="Port2 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port2 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port2 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port2 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port2 SensorAddress"/>
</row>
</group>
<display item="Port2 Value2A"/>
<display item="Port2 OccuMode" format="checkbox"/>
</row>
</group>
<group>
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port2 Special"/>
</row>
<label>
<text>Address N/A Opcode N/A</text>
<text xml:lang="de">Adresse N/A Opcode N/A</text>
<text xml:lang="nl">Adres N/A Opcode N/A</text>
</label>
</group>
<row>
<display item="Port2 Config"/>
<display item="Port2 Value1"/>
<display item="Port2 Value2"/>
<!--<display item="Port2 Old Block"/>-->
</row>
</column>
<group>
<!--Opcode 1 2 option, hide on ports 1-4 when set to Special Ports-->
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>0</value>
</qualifier>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port2 Opcode1 Type"/>
<display item="Port2 Opcode1 Address"/>
<row>
<display item="Port2 Opcode1 Opc"/>
<display item="Port2 Opcode1 Arg1"/>
<display item="Port2 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port2 Opcode2 Type"/>
<display item="Port2 Opcode2 Address"/>
<row>
<display item="Port2 Opcode2 Opc"/>
<display item="Port2 Opcode2 Arg1"/>
<display item="Port2 Opcode2 Arg2"/>
</row>
</column>
</group>
</row>
<group include="GCA51"><!--label Port3-Port8 off on GCA51-->
<separator/>
<label>
<text>Ports 3-8 not available on GCA51</text>
<text xml:lang="de">Anschlüsse 3-8 auf GCA51 nicht zugänglich</text>
<text xml:lang="nl">Poorten 3-8 niet beschikbaar op GCA51</text>
</label>
</group>
<group exclude="GCA51"><!--hide Port3-Port8 on GCA51-->
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 3&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 3&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 3&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<group>
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>0</value>
</qualifier>
<row>
<display item="Port3 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port3 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port3 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port3 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port3 SensorAddress"/>
</row>
</group>
<display item="Port3 Value2A"/>
<display item="Port3 OccuMode" format="checkbox"/>
</row>
</group>
<group>
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port3 Special"/>
</row>
<label>
<text>Address N/A Opcode N/A</text>
<text xml:lang="de">Adresse N/A Opcode N/A</text>
<text xml:lang="nl">Adres N/A Opcode N/A</text>
</label>
</group>
<row>
<display item="Port3 Config"/>
<display item="Port3 Value1"/>
<display item="Port3 Value2"/>
<!--<display item="Port3 Old Block"/>-->
</row>
</column>
<!--RCD2 only-->
<group>
<qualifier>
<variableref>Port3 Type</variableref>
<relation>ne</relation>
<value>0</value>
</qualifier>
<column>
<row>
<display item="Port3 Train Control" format="checkbox"/>
<display item="Port3 Train Reverse" format="checkbox"/>
</row>
<row>
<display item="Port3 Train Slow Down" layout="left" format="hslider"/>
<display item="Port3 Train Slow Down" layout="left" label=""/>
</row>
<row>
<display item="Port3 Train Wait" layout="left" format="hslider"/>
<display item="Port3 Train Wait" layout="left" label=""/>
</row>
</column>
</group>
<group>
<!--Opcode 1 2 option, hide on ports 1-4 when set to Special Ports-->
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>0</value>
</qualifier>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port3 Opcode1 Type"/>
<display item="Port3 Opcode1 Address"/>
<row>
<display item="Port3 Opcode1 Opc"/>
<display item="Port3 Opcode1 Arg1"/>
<display item="Port3 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port3 Opcode2 Type"/>
<display item="Port3 Opcode2 Address"/>
<row>
<display item="Port3 Opcode2 Opc"/>
<display item="Port3 Opcode2 Arg1"/>
<display item="Port3 Opcode2 Arg2"/>
</row>
</column>
</group>
</row>
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 4&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 4&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 4&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<group>
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>0</value>
</qualifier>
<row>
<display item="Port4 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port4 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port4 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port4 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port4 SensorAddress"/>
</row>
</group>
<display item="Port4 Value2A"/>
<display item="Port4 OccuMode" format="checkbox"/>
</row>
</group>
<group>
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port4 Special"/>
</row>
<label>
<text>Address N/A Opcode N/A</text>
<text xml:lang="de">Adresse N/A Opcode N/A</text>
<text xml:lang="nl">Adres N/A Opcode N/A</text>
</label>
</group>
<row>
<display item="Port4 Config"/>
<display item="Port4 Value1"/>
<display item="Port4 Value2"/>
<!--<display item="Port4 Old Block"/>-->
</row>
</column>
<group>
<!--Opcode 1 2 option, hide on ports 1-4 when set to Special Ports-->
<qualifier>
<variableref>Special Ports</variableref>
<relation>eq</relation>
<value>0</value>
</qualifier>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port4 Opcode1 Type"/>
<display item="Port4 Opcode1 Address"/>
<row>
<display item="Port4 Opcode1 Opc"/>
<display item="Port4 Opcode1 Arg1"/>
<display item="Port4 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port4 Opcode2 Type"/>
<display item="Port4 Opcode2 Address"/>
<row>
<display item="Port4 Opcode2 Opc"/>
<display item="Port4 Opcode2 Arg1"/>
<display item="Port4 Opcode2 Arg2"/>
</row>
</column>
</group>
</row>
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 5&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 5&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 5&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port5 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port5 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port5 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port5 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port5 SensorAddress"/>
</row>
</group>
<display item="Port5 Value2A"/>
<display item="Port5 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port5 Config"/>
<display item="Port5 Value1"/>
<display item="Port5 Value2"/>
<!--<display item="Port5 Old Block"/>-->
</row>
</column>
<column>
<!-- Port5 Servo1 -->
<row>
<display item="Port5 Pos1" layout="left" format="hslider"/>
<display item="Port5 Pos1" layout="left" label=""/>
</row>
<row>
<display item="Port5 Pos2" layout="left" format="hslider"/>
<display item="Port5 Pos2" layout="left" label=""/>
</row>
<row>
<display item="Port5 Speed" layout="left" format="hslider"/>
<display item="Port5 Speed" layout="left" label=""/>
</row>
</column>
<!--RCD2 only-->
<group>
<qualifier>
<variableref>Port5 Type</variableref>
<relation>ne</relation>
<value>0</value>
</qualifier>
<column>
<row>
<display item="Port5 Train Control" format="checkbox"/>
<display item="Port5 Train Reverse" format="checkbox"/>
</row>
<row>
<display item="Port5 Train Slow Down" layout="left" format="hslider"/>
<display item="Port5 Train Slow Down" layout="left" label=""/>
</row>
<row>
<display item="Port5 Train Wait" layout="left" format="hslider"/>
<display item="Port5 Train Wait" layout="left" label=""/>
</row>
</column>
</group>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<group exclude="003,004,005"><!--hide Port5-Port6 Opcode1/2 on LocoBooster despite being an input-->
<column>
<!--Opcode 1 2 option-->
<display item="Port5 Opcode1 Type"/>
<display item="Port5 Opcode1 Address"/>
<row>
<display item="Port5 Opcode1 Opc"/>
<display item="Port5 Opcode1 Arg1"/>
<display item="Port5 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port5 Opcode2 Type"/>
<display item="Port5 Opcode2 Address"/>
<row>
<display item="Port5 Opcode2 Opc"/>
<display item="Port5 Opcode2 Arg1"/>
<display item="Port5 Opcode2 Arg2"/>
</row>
</column>
</group>
</row>
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 6&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 6&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 6&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port6 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port6 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port6 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port6 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port6 SensorAddress"/>
</row>
</group>
<display item="Port6 Value2A"/>
<display item="Port6 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port6 Config"/>
<display item="Port6 Value1"/>
<display item="Port6 Value2"/>
<!--<display item="Port6 Old Block"/>-->
</row>
</column>
<column>
<!-- Port6 Servo2 -->
<row>
<group><!--hide/see pos1/pos3 label-->
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>2</value>
</qualifier>
<label>
<text> Pos1:</text>
</label>
</group>
<group>
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>3</value>
</qualifier>
<label>
<text> Pos3:</text>
</label>
</group>
<display item="Port6 Pos1" layout="left" format="hslider" label=""/>
<display item="Port6 Pos1" layout="left" label=""/>
</row>
<row>
<group><!--hide/see pos2/pos4 label-->
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>2</value>
</qualifier>
<label>
<text> Pos2:</text>
</label>
</group>
<group>
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>3</value>
</qualifier>
<label>
<text> Pos4:</text>
</label>
</group>
<display item="Port6 Pos2" layout="left" format="hslider" label=""/>
<display item="Port6 Pos2" layout="left" label=""/>
</row>
<row>
<display item="Port6 Speed" layout="left" format="hslider"/>
<display item="Port6 Speed" layout="left" label=""/>
</row>
</column>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<group exclude="003,004,005"><!--hide Port5-Port6 Opcode1/2 on LocoBooster despite being an input-->
<column>
<!--Opcode 1 2 option-->
<display item="Port6 Opcode1 Type"/>
<display item="Port6 Opcode1 Address"/>
<row>
<display item="Port6 Opcode1 Opc"/>
<display item="Port6 Opcode1 Arg1"/>
<display item="Port6 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port6 Opcode2 Type"/>
<display item="Port6 Opcode2 Address"/>
<row>
<display item="Port6 Opcode2 Opc"/>
<display item="Port6 Opcode2 Arg1"/>
<display item="Port6 Opcode2 Arg2"/>
</row>
</column>
</group>
</row>
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 7&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 7&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 7&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port7 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port7 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port7 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port7 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port7 SensorAddress"/>
</row>
</group>
<display item="Port7 Value2A"/>
<display item="Port7 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port7 Config"/>
<display item="Port7 Value1"/>
<display item="Port7 Value2"/>
<!--<display item="Port7 Old Block"/>-->
</row>
</column>
<column>
<!-- Port7 Servo3 -->
<row>
<display item="Port7 Pos1" layout="left" format="hslider"/>
<display item="Port7 Pos1" layout="left" label=""/>
</row>
<row>
<display item="Port7 Pos2" layout="left" format="hslider"/>
<display item="Port7 Pos2" layout="left" label=""/>
</row>
<row>
<display item="Port7 Speed" layout="left" format="hslider"/>
<display item="Port7 Speed" layout="left" label=""/>
</row>
</column>
<!--RCD2 only-->
<group>
<qualifier>
<variableref>Port7 Type</variableref>
<relation>ne</relation>
<value>0</value>
</qualifier>
<column>
<row>
<display item="Port7 Train Control" format="checkbox"/>
<display item="Port7 Train Reverse" format="checkbox"/>
</row>
<row>
<display item="Port7 Train Slow Down" layout="left" format="hslider"/>
<display item="Port7 Train Slow Down" layout="left" label=""/>
</row>
<row>
<display item="Port7 Train Wait" layout="left" format="hslider"/>
<display item="Port7 Train Wait" layout="left" label=""/>
</row>
</column>
</group>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port7 Opcode1 Type"/>
<display item="Port7 Opcode1 Address"/>
<row>
<display item="Port7 Opcode1 Opc"/>
<display item="Port7 Opcode1 Arg1"/>
<display item="Port7 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port7 Opcode2 Type"/>
<display item="Port7 Opcode2 Address"/>
<row>
<display item="Port7 Opcode2 Opc"/>
<display item="Port7 Opcode2 Arg1"/>
<display item="Port7 Opcode2 Arg2"/>
</row>
</column>
</row>
</group>
<group include="003,004,005"><!--label Port8-Port16 off on LocoBooster-->
<separator/>
<label>
<text>Ports 8-16 not available on LocoBooster</text>
<text xml:lang="de">Anschlüsse 8-16 auf LocoBooster nicht zugänglich</text>
<text xml:lang="nl">Poorten 8-16 niet beschikbaar op LocoBooster</text>
</label>
</group>
<group exclude="003,004,005,GCA51"><!--hide Port8 on LocoBooster and GCA51-->
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 8&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 8&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 8&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port8 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port8 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port8 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port8 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port8 SensorAddress"/>
</row>
</group>
<display item="Port8 Value2A"/>
<display item="Port8 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port8 Config"/>
<display item="Port8 Value1"/>
<display item="Port8 Value2"/>
<!--<display item="Port8 Old Block"/>-->
</row>
</column>
<column>
<!-- Port8 Servo4 -->
<row>
<group><!--hide/see pos1/pos3 label-->
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>2</value>
</qualifier>
<label>
<text> Pos1:</text>
</label>
</group>
<group>
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>3</value>
</qualifier>
<label>
<text> Pos3:</text>
</label>
</group>
<display item="Port8 Pos1" layout="left" format="hslider" label=""/>
<display item="Port8 Pos1" layout="left" label=""/>
</row>
<row>
<group><!--hide/see pos2/pos4 label-->
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>2</value>
</qualifier>
<label>
<text> Pos2:</text>
</label>
</group>
<group>
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>3</value>
</qualifier>
<label>
<text> Pos4:</text>
</label>
</group>
<display item="Port8 Pos2" layout="left" format="hslider" label=""/>
<display item="Port8 Pos2" layout="left" label=""/>
</row>
<row>
<display item="Port8 Speed" layout="left" format="hslider"/>
<display item="Port8 Speed" layout="left" label=""/>
</row>
</column>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port8 Opcode1 Type"/>
<display item="Port8 Opcode1 Address"/>
<row>
<display item="Port8 Opcode1 Opc"/>
<display item="Port8 Opcode1 Arg1"/>
<display item="Port8 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port8 Opcode2 Type"/>
<display item="Port8 Opcode2 Address"/>
<row>
<display item="Port8 Opcode2 Opc"/>
<display item="Port8 Opcode2 Arg1"/>
<display item="Port8 Opcode2 Arg2"/>
</row>
</column>
</row>
</group>
<group exclude="003,004,005"><!--hide Port9-Port16 on LocoBooster-->
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 9&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 9&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 9&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port9 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port9 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port9 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port9 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port9 SensorAddress"/>
</row>
</group>
<display item="Port9 Value2A"/>
<display item="Port9 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port9 Config"/>
<display item="Port9 Value1"/>
<display item="Port9 Value2"/>
<!--<display item="Port9 Old Block"/>-->
</row>
</column>
<column>
<!-- Port9 Servo5 -->
<row>
<display item="Port9 Pos1" layout="left" format="hslider"/>
<display item="Port9 Pos1" layout="left" label=""/>
</row>
<row>
<display item="Port9 Pos2" layout="left" format="hslider"/>
<display item="Port9 Pos2" layout="left" label=""/>
</row>
<row>
<display item="Port9 Speed" layout="left" format="hslider"/>
<display item="Port9 Speed" layout="left" label=""/>
</row>
</column>
<!--RCD2 only-->
<group>
<qualifier>
<variableref>Port9 Type</variableref>
<relation>ne</relation>
<value>0</value>
</qualifier>
<column>
<row>
<display item="Port9 Train Control" format="checkbox"/>
<display item="Port9 Train Reverse" format="checkbox"/>
</row>
<row>
<display item="Port9 Train Slow Down" layout="left" format="hslider"/>
<display item="Port9 Train Slow Down" layout="left" label=""/>
</row>
<row>
<display item="Port9 Train Wait" layout="left" format="hslider"/>
<display item="Port9 Train Wait" layout="left" label=""/>
</row>
</column>
</group>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port9 Opcode1 Type"/>
<display item="Port9 Opcode1 Address"/>
<row>
<display item="Port9 Opcode1 Opc"/>
<display item="Port9 Opcode1 Arg1"/>
<display item="Port9 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port9 Opcode2 Type"/>
<display item="Port9 Opcode2 Address"/>
<row>
<display item="Port9 Opcode2 Opc"/>
<display item="Port9 Opcode2 Arg1"/>
<display item="Port9 Opcode2 Arg2"/>
</row>
</column>
</row>
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 10&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 10&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 10&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port10 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port10 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port10 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port10 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port10 SensorAddress"/>
</row>
</group>
<display item="Port10 Value2A"/>
<display item="Port10 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port10 Config"/>
<display item="Port10 Value1"/>
<display item="Port10 Value2"/>
<!--<display item="Port10 Old Block"/>-->
</row>
</column>
<column>
<!-- Port10 Servo6 -->
<row>
<group><!--hide/see pos1/pos3 label-->
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>2</value>
</qualifier>
<label>
<text> Pos1:</text>
</label>
</group>
<group>
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>3</value>
</qualifier>
<label>
<text> Pos3:</text>
</label>
</group>
<display item="Port10 Pos1" layout="left" format="hslider" label=""/>
<display item="Port10 Pos1" layout="left" label=""/>
</row>
<row>
<group><!--hide/see pos2/pos4 label-->
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>2</value>
</qualifier>
<label>
<text> Pos2:</text>
</label>
</group>
<group>
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>3</value>
</qualifier>
<label>
<text> Pos4:</text>
</label>
</group>
<display item="Port10 Pos2" layout="left" format="hslider" label=""/>
<display item="Port10 Pos2" layout="left" label=""/>
</row>
<row>
<display item="Port10 Speed" layout="left" format="hslider"/>
<display item="Port10 Speed" layout="left" label=""/>
</row>
</column>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port10 Opcode1 Type"/>
<display item="Port10 Opcode1 Address"/>
<row>
<display item="Port10 Opcode1 Opc"/>
<display item="Port10 Opcode1 Arg1"/>
<display item="Port10 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port10 Opcode2 Type"/>
<display item="Port10 Opcode2 Address"/>
<row>
<display item="Port10 Opcode2 Opc"/>
<display item="Port10 Opcode2 Arg1"/>
<display item="Port10 Opcode2 Arg2"/>
</row>
</column>
</row>
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 11&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 11&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 11&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port11 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port11 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port11 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port11 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port11 SensorAddress"/>
</row>
</group>
<display item="Port11 Value2A"/>
<display item="Port11 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port11 Config"/>
<display item="Port11 Value1"/>
<display item="Port11 Value2"/>
<!--<display item="Port11 Old Block"/>-->
</row>
</column>
<column>
<!-- Port11 Servo7 -->
<row>
<display item="Port11 Pos1" layout="left" format="hslider"/>
<display item="Port11 Pos1" layout="left" label=""/>
</row>
<row>
<display item="Port11 Pos2" layout="left" format="hslider"/>
<display item="Port11 Pos2" layout="left" label=""/>
</row>
<row>
<display item="Port11 Speed" layout="left" format="hslider"/>
<display item="Port11 Speed" layout="left" label=""/>
</row>
</column>
<!--RCD2 only-->
<group>
<qualifier>
<variableref>Port11 Type</variableref>
<relation>ne</relation>
<value>0</value>
</qualifier>
<column>
<row>
<display item="Port11 Train Control" format="checkbox"/>
<display item="Port11 Train Reverse" format="checkbox"/>
</row>
<row>
<display item="Port11 Train Slow Down" layout="left" format="hslider"/>
<display item="Port11 Train Slow Down" layout="left" label=""/>
</row>
<row>
<display item="Port11 Train Wait" layout="left" format="hslider"/>
<display item="Port11 Train Wait" layout="left" label=""/>
</row>
</column>
</group>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port11 Opcode1 Type"/>
<display item="Port11 Opcode1 Address"/>
<row>
<display item="Port11 Opcode1 Opc"/>
<display item="Port11 Opcode1 Arg1"/>
<display item="Port11 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port11 Opcode2 Type"/>
<display item="Port11 Opcode2 Address"/>
<row>
<display item="Port11 Opcode2 Opc"/>
<display item="Port11 Opcode2 Arg1"/>
<display item="Port11 Opcode2 Arg2"/>
</row>
</column>
</row>
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 12&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 12&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 12&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port12 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port12 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port12 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port12 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port12 SensorAddress"/>
</row>
</group>
<display item="Port12 Value2A"/>
<display item="Port12 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port12 Config"/>
<display item="Port12 Value1"/>
<display item="Port12 Value2"/>
<!--<display item="Port12 Old Block"/>-->
</row>
</column>
<column>
<!-- Port12 Servo8 -->
<row>
<group><!--hide/see pos1/pos3 label-->
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>2</value>
</qualifier>
<label>
<text> Pos1:</text>
</label>
</group>
<group>
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>3</value>
</qualifier>
<label>
<text> Pos3:</text>
</label>
</group>
<display item="Port12 Pos1" layout="left" format="hslider" label=""/>
<display item="Port12 Pos1" layout="left" label=""/>
</row>
<row>
<group><!--hide/see pos2/pos4 label-->
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>2</value>
</qualifier>
<label>
<text> Pos2:</text>
</label>
</group>
<group>
<qualifier>
<variableref>Action Mode</variableref>
<relation>eq</relation>
<value>3</value>
</qualifier>
<label>
<text> Pos4:</text>
</label>
</group>
<display item="Port12 Pos2" layout="left" format="hslider" label=""/>
<display item="Port12 Pos2" layout="left" label=""/>
</row>
<row>
<display item="Port12 Speed" layout="left" format="hslider"/>
<display item="Port12 Speed" layout="left" label=""/>
</row>
</column>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port12 Opcode1 Type"/>
<display item="Port12 Opcode1 Address"/>
<row>
<display item="Port12 Opcode1 Opc"/>
<display item="Port12 Opcode1 Arg1"/>
<display item="Port12 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port12 Opcode2 Type"/>
<display item="Port12 Opcode2 Address"/>
<row>
<display item="Port12 Opcode2 Opc"/>
<display item="Port12 Opcode2 Arg1"/>
<display item="Port12 Opcode2 Arg2"/>
</row>
</column>
</row>
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 13&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 13&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 13&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port13 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port13 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port13 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port13 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port13 SensorAddress"/>
</row>
</group>
<display item="Port13 Value2A"/>
<display item="Port13 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port13 Config"/>
<display item="Port13 Value1"/>
<display item="Port13 Value2"/>
<!--<display item="Port13 Old Block"/>-->
</row>
</column>
<!--RCD2 only-->
<group>
<qualifier>
<variableref>Port13 Type</variableref>
<relation>ne</relation>
<value>0</value>
</qualifier>
<column>
<row>
<display item="Port13 Train Control" format="checkbox"/>
<display item="Port13 Train Reverse" format="checkbox"/>
</row>
<row>
<display item="Port13 Train Slow Down" layout="left" format="hslider"/>
<display item="Port13 Train Slow Down" layout="left" label=""/>
</row>
<row>
<display item="Port13 Train Wait" layout="left" format="hslider"/>
<display item="Port13 Train Wait" layout="left" label=""/>
</row>
</column>
</group>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port13 Opcode1 Type"/>
<display item="Port13 Opcode1 Address"/>
<row>
<display item="Port13 Opcode1 Opc"/>
<display item="Port13 Opcode1 Arg1"/>
<display item="Port13 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port13 Opcode2 Type"/>
<display item="Port13 Opcode2 Address"/>
<row>
<display item="Port13 Opcode2 Opc"/>
<display item="Port13 Opcode2 Arg1"/>
<display item="Port13 Opcode2 Arg2"/>
</row>
</column>
</row>
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 14&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 14&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 14&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port14 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port14 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port14 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port14 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port14 SensorAddress"/>
</row>
</group>
<display item="Port14 Value2A"/>
<display item="Port14 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port14 Config"/>
<display item="Port14 Value1"/>
<display item="Port14 Value2"/>
<!--<display item="Port14 Old Block"/>-->
</row>
</column>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port14 Opcode1 Type"/>
<display item="Port14 Opcode1 Address"/>
<row>
<display item="Port14 Opcode1 Opc"/>
<display item="Port14 Opcode1 Arg1"/>
<display item="Port14 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port14 Opcode2 Type"/>
<display item="Port14 Opcode2 Address"/>
<row>
<display item="Port14 Opcode2 Opc"/>
<display item="Port14 Opcode2 Arg1"/>
<display item="Port14 Opcode2 Arg2"/>
</row>
</column>
</row>
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 15&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 15&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 15&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port15 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port15 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port15 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port15 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port15 SensorAddress"/>
</row>
</group>
<display item="Port15 Value2A"/>
<display item="Port15 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port15 Config"/>
<display item="Port15 Value1"/>
<display item="Port15 Value2"/>
<!--<display item="Port15 Old Block"/>-->
</row>
</column>
<!--RCD2 only-->
<group>
<qualifier>
<variableref>Port15 Type</variableref>
<relation>ne</relation>
<value>0</value>
</qualifier>
<column>
<row>
<display item="Port15 Train Control" format="checkbox"/>
<display item="Port15 Train Reverse" format="checkbox"/>
</row>
<row>
<display item="Port15 Train Slow Down" layout="left" format="hslider"/>
<display item="Port15 Train Slow Down" layout="left" label=""/>
</row>
<row>
<display item="Port15 Train Wait" layout="left" format="hslider"/>
<display item="Port15 Train Wait" layout="left" label=""/>
</row>
</column>
</group>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port15 Opcode1 Type"/>
<display item="Port15 Opcode1 Address"/>
<row>
<display item="Port15 Opcode1 Opc"/>
<display item="Port15 Opcode1 Arg1"/>
<display item="Port15 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port15 Opcode2 Type"/>
<display item="Port15 Opcode2 Address"/>
<row>
<display item="Port15 Opcode2 Opc"/>
<display item="Port15 Opcode2 Arg1"/>
<display item="Port15 Opcode2 Arg2"/>
</row>
</column>
</row>
<separator/>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port 16&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;Anschluss 16&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poort 16&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<row>
<display item="Port16 Type"/>
</row>
<row>
<group>
<qualifier>
<variableref>Port16 OccuMode</variableref>
<relation>ne</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port16 Address"/>
</row>
</group>
<group>
<qualifier>
<variableref>Port16 OccuMode</variableref>
<relation>eq</relation>
<value>1</value>
</qualifier>
<row>
<display item="Port16 SensorAddress"/>
</row>
</group>
<display item="Port16 Value2A"/>
<display item="Port16 OccuMode" format="checkbox"/>
</row>
<row>
<display item="Port16 Config"/>
<display item="Port16 Value1"/>
<display item="Port16 Value2"/>
<!--<display item="Port16 Old Block"/>-->
</row>
</column>
<!--only show opcode for inputs, 0>Config>100, qualifier only works at variable level-->
<column>
<!--Opcode 1 2 option-->
<display item="Port16 Opcode1 Type"/>
<display item="Port16 Opcode1 Address"/>
<row>
<display item="Port16 Opcode1 Opc"/>
<display item="Port16 Opcode1 Arg1"/>
<display item="Port16 Opcode1 Arg2"/>
</row>
</column>
<column>
<display item="Port16 Opcode2 Type"/>
<display item="Port16 Opcode2 Address"/>
<row>
<display item="Port16 Opcode2 Opc"/>
<display item="Port16 Opcode2 Arg1"/>
<display item="Port16 Opcode2 Arg2"/>
</row>
</column>
</row>
<!--end of group to hide ports 8-16 on LocoBooster-->
</group>
<!--End of per port settings-->
<separator/>
</column>
</pane>
<pane>
<name>ReadMe</name>
<name xml:lang="de">Lese Mich</name>
<name xml:lang="fr">Lisez Moi</name>
<name xml:lang="nl">Lees Mij</name>
<column>
<label>
<text>&lt;html&gt;&lt;h1&gt;Information about LocoIO Boards&lt;/h1&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;h1&gt;Information bzw. LocoIO Einheiten&lt;/h1&gt;&lt;/html&gt;</text>
<text xml:lang="fr">&lt;html&gt;&lt;h1&gt;d'Information importante sur les Modules LocoIO&lt;/h1&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;h1&gt;Informatie over LocoIO Modules&lt;/h1&gt;&lt;/html&gt;</text>
</label>
<separator/>
<label>
<text>&lt;html&gt;&lt;strong&gt;JMRI 4.21.2 or later is required to use this definition.&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;strong&gt;JMRI 4.21.2 oder neuer erforderlich für diese Decoderdefinition.&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="fr">&lt;html&gt;&lt;strong&gt;JMRI 4.21.2 ou plus nouveau est réquis pour útiliser cette Definition Décodeur.&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Vereist JMRI 4.21.2 of later met deze definitie.&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<separator/>
<label>
<text>&lt;html&gt;&lt;h3&gt;SV Programming Ops Mode addressing (LOCONETSV1MODE), Read &amp; Write.&lt;/h3&gt;&lt;br&gt;
You have to select your PIC version and model when creating a roster entry.&lt;br/&gt;
Replace the DCC Address suggested by a reasonable low address like "81" (default, translates to 81/1)&lt;br/&gt;
Save and close the decoder Roster entry and reopen from the Roster using "Programming On Main".&lt;html&gt;</text>
<text xml:lang="de">&lt;html&gt;&lt;h3&gt;SV-Programmierung auf dem Hauptgleis (LOCONETSV1MODE), Lesen und Schreiben.&lt;/h3&gt;&lt;br&gt;
Handmässiger Modell- u. Versionsauswahl erforderlich bei Neueintrag. Vorgeschlagene Adresse ersetzen von
einem gültigen Wert wie "81" (Modul 81/1 = Werkseinstellung).&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;h3&gt;SV's Programmeren via POM (LOCONETSV1MODE), Lezen &amp; Schrijven.&lt;/h3&gt;&lt;br&gt;
Kies handmatig het type en PIC-versie bij het aanmaken van een Loc-definitie.&lt;br/&gt;
Vervang het ingevulde DCC-adres door een normaal getal bijv. "81" (standaard adres, 81/1).&lt;br/&gt;
Bewaar en sluit de Decoder en open in de Loklijst met "Programmeren via POM")&lt;/html&gt;</text>
</label>
<label>
<text>&lt;html&gt;
Follow these steps:&lt;br/&gt;
&lt;br/&gt;
Be careful to first &lt;strong&gt;disconnect all other LocoIO devices&lt;/strong&gt; before changing a board's (sub)address (using Broadcast to set all attached boards!).&lt;br/&gt;
&lt;br/&gt;
Step 1: Connect power and LocoNet to the unit.&lt;br/&gt;
Step 2: You can now modify the CVs using CV byte or CV bit programming.&lt;br/&gt;
Step 3: Set desired options and click "Write changes/sheet to decoder".&lt;br/&gt;
Step 4: Your modifications have been saved and the decoder module is ready for use.&lt;br/&gt;
Note: Don't use "Write all sheets" because it could write invalid values for the given firmware version.&lt;br/&gt;
&lt;br/&gt;
&lt;/html&gt;</text>
</label>
<label>
<text>For further information on this hardware and how to install it, please consult the manual available at https://locohdl.synology.me/</text>
<text xml:lang="de">Weitere Informationen zur Anwendung dieser Hardware finden Sie in der digitalen Anleitung, verfügbar über https://locohdl.synology.me/</text>
<text xml:lang="nl">Raadpleeg voor meer informatie over installatie en toepassing van deze hardware de handleiding, te vinden op https://locohdl.synology.me/</text>
</label>
<group include="GCA50">
<label>
<text>For Peter Giling GCA50 LocoIO, check out https://wiki.rocrail.net/doku.php?id=mgv50-en</text>
<text>For Peter Giling/ClubNCaldes GCA50a Nano LocoIO, check out https://wiki.rocrail.net/doku.php?id=gca50_an-en</text>
</label>
</group>
<group include="GCA51">
<label>
<text>For Peter Giling GCA51 2xRFID, check out https://wiki.rocrail.net/doku.php?id=gca51-en</text>
</label>
</group>
</column>
</pane>
<!-- LocoIO Valid Values Reference (static info) -->
<pane>
<name>Cheat Sheet</name>
<name xml:lang="nl">Spiekblad</name>
<column>
<row>
<label>
<text>&lt;html&gt;&lt;strong&gt;Values to enter on the Ports tab&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Waarden gebruikt op tab Poorten&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&lt;/html&gt;</text>
</label>
</row>
<row>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Port Mode&lt;/strong&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Poortfunctie&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<label>
<text>&lt;html&gt;
&lt;br/&gt;
Input: Toggle Switch - Indirect&lt;br/&gt;
Input: Toggle Switch&lt;br/&gt;
Input: Switch Point Feedback - Normal&lt;br/&gt;
Input: Block Detector - Active Low - Delayed&lt;br/&gt;
Input: Block Detector - Active Low&lt;br/&gt;
Input: Push Button - Active Low - Indirect&lt;br/&gt;
Input: Push Button - Active Low&lt;br/&gt;
Input: Switch Point Feedback - Contact 2&lt;br/&gt;
Input: Switch Point Feedback - Contact 1&lt;br/&gt;
Input: Block Detector - Active High - Delayed&lt;br/&gt;
Input: Block Detector - Active High&lt;br/&gt;
Input: Push Button - Active High - Indirect&lt;br/&gt;
Input: Push Button - Active High&lt;br/&gt;
&lt;br/&gt;
Output: Servo&lt;br/&gt;
Output: Fixed - 1 - Off&lt;br/&gt;
Output: Fixed - 2 - Off&lt;br/&gt;
Output: Fixed - 1 - On&lt;br/&gt;
Output: Fixed - 2 - On&lt;br/&gt;
Output: Pulse - 2 - Soft Reset&lt;br/&gt;
Output: Pulse - 1 - Soft Reset&lt;br/&gt;
Output: Pulse - 2 - Hard Reset&lt;br/&gt;
Output: Pulse - 1 - Hard Reset&lt;br/&gt;
Output: Fixed - 1 - Off - Blink&lt;br/&gt;
Output: Fixed - 2 - Off - Blink&lt;br/&gt;
Output: Fixed - 1 - On - Blink&lt;br/&gt;
Output: Fixed - 2 - On - Blink&lt;br/&gt;
Output: Fixed - 1 - Off - 4-Way&lt;br/&gt;
Output: Fixed - 1 - Off - 4-Way - Blink&lt;br/&gt;
Output: Fixed - 2 - Off - 4-Way&lt;br/&gt;
Output: Fixed - 2 - Off - 4-Way - Blink&lt;br/&gt;
Output: Fixed - 1 - On - 4-Way&lt;br/&gt;
Output: Fixed - 1 - On - 4-Way - Blink&lt;br/&gt;
Output: Fixed - 2 - On - 4-Way&lt;br/&gt;
Output: Fixed - 2 - On - 4-Way - Blink&lt;br/&gt;
Output: Occupancy = Block Detector&lt;br/&gt;
Output: Block Detector - Blink&lt;br/&gt;
Port Not In Use&lt;br/&gt;
&lt;/html&gt;</text>
</label>
</column>
<separator/>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Config&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<label>
<text>&lt;html&gt;
&lt;br/&gt;
7&lt;br/&gt;
15&lt;br/&gt;
23&lt;br/&gt;
27&lt;br/&gt;
31&lt;br/&gt;
39&lt;br/&gt;
47&lt;br/&gt;
55&lt;br/&gt;
55&lt;br/&gt;
91&lt;br/&gt;
95&lt;br/&gt;
103&lt;br/&gt;
111&lt;br/&gt;
&lt;br/&gt;
128&lt;br/&gt;
128&lt;br/&gt;
128&lt;br/&gt;
129&lt;br/&gt;
129&lt;br/&gt;
136&lt;br/&gt;
136&lt;br/&gt;
140&lt;br/&gt;
140&lt;br/&gt;
144&lt;br/&gt;
144&lt;br/&gt;
145&lt;br/&gt;
145&lt;br/&gt;
160&lt;br/&gt;
176&lt;br/&gt;
160&lt;br/&gt;
176&lt;br/&gt;
161&lt;br/&gt;
177&lt;br/&gt;
161&lt;br/&gt;
177&lt;br/&gt;
192&lt;br/&gt;
208&lt;br/&gt;
0&lt;br/&gt;
&lt;/html&gt;</text>
</label>
</column>
<separator/>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Value1&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<label>
<text>&lt;html&gt;
&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 2)&lt;br/&gt;
Note 2)&lt;br/&gt;
Note 2)&lt;br/&gt;
Note 2)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 2)&lt;br/&gt;
Note 2)&lt;br/&gt;
Note 2)&lt;br/&gt;
Note 2)&lt;br/&gt;
&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 1)&lt;br/&gt;
Note 2)&lt;br/&gt;
Note 2)&lt;br/&gt;
1&lt;br/&gt;
&lt;/html&gt;</text>
</label>
</column>
<separator/>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Value2&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<label>
<text>&lt;html&gt;
&lt;br/&gt;
16&lt;br/&gt;
16&lt;br/&gt;
112&lt;br/&gt;
16&lt;br/&gt;
16&lt;br/&gt;
16&lt;br/&gt;
16&lt;br/&gt;
96&lt;br/&gt;
112&lt;br/&gt;
0&lt;br/&gt;
0&lt;br/&gt;
0&lt;br/&gt;
0&lt;br/&gt;
&lt;br/&gt;
16&lt;br/&gt;
16&lt;br/&gt;
48&lt;br/&gt;
16&lt;br/&gt;
48&lt;br/&gt;
0&lt;br/&gt;
32&lt;br/&gt;
0&lt;br/&gt;
32&lt;br/&gt;
16&lt;br/&gt;
48&lt;br/&gt;
16&lt;br/&gt;
48&lt;br/&gt;
16&lt;br/&gt;
16&lt;br/&gt;
48&lt;br/&gt;
48&lt;br/&gt;
16&lt;br/&gt;
16&lt;br/&gt;
48&lt;br/&gt;
48&lt;br/&gt;
0&lt;br/&gt;
0&lt;br/&gt;
0&lt;br/&gt;
&lt;/html&gt;</text>
</label>
</column>
<separator/>
<column>
<label>
<text>&lt;html&gt;&lt;strong&gt;Since&lt;/strong&gt;&lt;br&gt;&lt;/html&gt;</text>
<text xml:lang="nl">&lt;html&gt;&lt;strong&gt;Vanaf&lt;/strong&gt;&lt;/html&gt;</text>
</label>
<label>
<text>&lt;html&gt;
&lt;br/&gt;
v1.43&lt;br/&gt;
Original&lt;br/&gt;
v1.44&lt;br/&gt;
v1.54&lt;br/&gt;
v1.41&lt;br/&gt;
v1.43&lt;br/&gt;
v1.41&lt;br/&gt;
v1.45&lt;br/&gt;
v1.45&lt;br/&gt;
v1.54&lt;br/&gt;
v1.41&lt;br/&gt;
v1.43&lt;br/&gt;
v1.41&lt;br/&gt;
&lt;br/&gt;
v1.01&lt;br/&gt;
Original&lt;br/&gt;
Original&lt;br/&gt;
v1.39&lt;br/&gt;
v1.39&lt;br/&gt;
v1.42&lt;br/&gt;
v1.42&lt;br/&gt;
v1.42&lt;br/&gt;
v1.42&lt;br/&gt;
v1.40&lt;br/&gt;
v1.40&lt;br/&gt;
v1.40&lt;br/&gt;
v1.40&lt;br/&gt;
v1.40&lt;br/&gt;
v1.40&lt;br/&gt;
v1.40&lt;br/&gt;
v1.40&lt;br/&gt;
v1.40&lt;br/&gt;
v1.40&lt;br/&gt;
v1.40&lt;br/&gt;
v1.40&lt;br/&gt;
Original&lt;br/&gt;
v1.40&lt;br/&gt;
v1.49&lt;br/&gt;
&lt;/html&gt;</text>
</label>
</column>
</row>
<row>
<label>
<text>&lt;html&gt;&lt;br/&gt;
Note 1) Address bits 0-6 (bits 7-12 stored in Value2 bits 4-7)&lt;br/&gt;
Note 2) Address bits 1-6 (bits 0 and 7-12 stored in Value2)&lt;/html&gt;</text>
</label>
</row>
</column>
</pane>
</decoder-config>