321 lines
12 KiB
XML
321 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
|
|
<decoder-config xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder-4-15-2.xsd"
|
|
showEmptyPanes="no"
|
|
suppressFunctionLabels="yes"
|
|
suppressRosterMedia="yes"
|
|
>
|
|
|
|
<version author="Bob Jacobsen" version="1" lastUpdated="20230410" />
|
|
|
|
<decoder>
|
|
|
|
<family name="Series 7 Boards" mfg="Digitrax">
|
|
<model model="PM74"/>
|
|
</family>
|
|
|
|
<programming direct="no" paged="yes" register="no" ops="no">
|
|
<!-- paged yes allows initial setup and change of address -->
|
|
<mode>LOCONETBD7OPSWMODE</mode>
|
|
</programming>
|
|
|
|
<variables>
|
|
|
|
<variable CV="1" comment="Base Address" item="Long Address" default="1" infoOnly="yes">
|
|
<!-- This is needed to set the Base Address value.
|
|
2037 is a practical maximum.
|
|
Note that the PM74 will allow higher numbers
|
|
to be set, but they will conflict with the
|
|
"interrogate" switches. -->
|
|
<splitVal highCV="2" upperMask="XXXXXVVV" default="0" min="1" max="2037"/>
|
|
<label>Board Address</label>
|
|
</variable>
|
|
|
|
<!-- CV7 is the product ID. Should be 0x4a, 74 decimal -->
|
|
<variable CV="7" item="Device Type" readOnly="yes">
|
|
<decVal min="0" max="255"/>
|
|
<label>Device Type</label>
|
|
</variable>
|
|
|
|
<variable CV="8" item="Device Mfgr" readOnly="yes">
|
|
<decVal min="0" max="255"/>
|
|
<label>Device Manufacturer (NMRA number) </label>
|
|
</variable>
|
|
|
|
<variable CV="9" item="Serial Number" default="0" mask="VVVVVVVV" readOnly="yes">
|
|
<splitVal highCV="10" upperMask="VVVVVVVV"/>
|
|
<label>Serial Number</label>
|
|
</variable>
|
|
|
|
|
|
<variable CV="11" item="DS1 mode" default="0" tooltip="OpSw1" mask="XXXXXXXV"><!-- opsw 1 -->
|
|
<enumVal>
|
|
<enumChoice>
|
|
<choice>over-current</choice>
|
|
</enumChoice>
|
|
<enumChoice>
|
|
<choice>auto-reverse</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>DS1 mode: </label>
|
|
</variable>
|
|
|
|
<variable CV="11" item="DS2 mode" default="0" tooltip="OpSw2" mask="XXXXXXVX"><!-- opsw 2 -->
|
|
<enumVal>
|
|
<enumChoice>
|
|
<choice>over-current</choice>
|
|
</enumChoice>
|
|
<enumChoice>
|
|
<choice>auto-reverse</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>DS2 mode: </label>
|
|
</variable>
|
|
|
|
<variable CV="11" item="DS3 mode" default="0" tooltip="OpSw3" mask="XXXXXVXX"><!-- opsw 3 -->
|
|
<enumVal>
|
|
<enumChoice>
|
|
<choice>over-current</choice>
|
|
</enumChoice>
|
|
<enumChoice>
|
|
<choice>auto-reverse</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>DS3 mode: </label>
|
|
</variable>
|
|
|
|
<variable CV="11" item="DS4 mode" default="0" tooltip="OpSw4" mask="XXXXVXXX"><!-- opsw 4 -->
|
|
<enumVal>
|
|
<enumChoice>
|
|
<choice>over-current</choice>
|
|
</enumChoice>
|
|
<enumChoice>
|
|
<choice>auto-reverse</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>DS4 mode: </label>
|
|
</variable>
|
|
|
|
<variable CV="11" item="Trip current" default="0" tooltip="OpSw7-8" mask="VVXXXXXX"><!-- opsw 7-8 -->
|
|
<enumVal>
|
|
<enumChoice choice="0">
|
|
<choice>normal</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="1">
|
|
<choice>lower</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="2">
|
|
<choice>higher</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Trip current: </label>
|
|
</variable>
|
|
|
|
<variable CV="12" item="Occupancy" default="0" tooltip="OpSw11" mask="XXXXXVXX"><!-- opsw 11 -->
|
|
<enumVal>
|
|
<enumChoice>
|
|
<choice>enabled</choice>
|
|
</enumChoice>
|
|
<enumChoice>
|
|
<choice>disabled</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Occupancy detection: </label>
|
|
</variable>
|
|
|
|
<variable CV="12" item="Transponding" default="0" tooltip="OpSw12" mask="XXXXXVXX"><!-- opsw 12 -->
|
|
<enumVal>
|
|
<enumChoice>
|
|
<choice>enabled</choice>
|
|
</enumChoice>
|
|
<enumChoice>
|
|
<choice>disabled</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Transponding detection: </label>
|
|
</variable>
|
|
|
|
<variable CV="13" item="Section 1 det. speed" default="0" tooltip="OpSw17, 21" mask="XXXVXXXV">
|
|
<enumVal>
|
|
<enumChoice choice="0">
|
|
<choice>Standard</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="1">
|
|
<choice>Slow</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="2">
|
|
<choice>Fast</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="3">
|
|
<choice>Fastest</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Section 1 Occupancy Detection speed: </label>
|
|
</variable>
|
|
<variable CV="13" item="Section 2 det. speed" default="0" tooltip="OpSw18, 22" mask="XXVXXXVX">
|
|
<enumVal>
|
|
<enumChoice choice="0">
|
|
<choice>Standard</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="1">
|
|
<choice>Slow</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="2">
|
|
<choice>Fast</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="3">
|
|
<choice>Fastest</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Section 2 Occupancy Detection speed: </label>
|
|
</variable>
|
|
<variable CV="13" item="Section 3 det. speed" default="0" tooltip="OpSw19, 23" mask="XVXXXVXX">
|
|
<enumVal>
|
|
<enumChoice choice="0">
|
|
<choice>Standard</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="1">
|
|
<choice>Slow</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="2">
|
|
<choice>Fast</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="3">
|
|
<choice>Fastest</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Section 3 Occupancy Detection speed: </label>
|
|
</variable>
|
|
<variable CV="13" item="Section 4 det. speed" default="0" tooltip="OpSw20, 24" mask="VXXXVXXX">
|
|
<enumVal>
|
|
<enumChoice choice="0">
|
|
<choice>Standard</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="1">
|
|
<choice>Slow</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="2">
|
|
<choice>Fast</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="3">
|
|
<choice>Fastest</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Section 4 Occupancy Detection speed: </label>
|
|
</variable>
|
|
|
|
<variable CV="14" item="Sensitivity" default="0" tooltip="OpSw31" mask="XVXXXXXX"><!-- opsw 31 -->
|
|
<enumVal>
|
|
<enumChoice>
|
|
<choice>normal</choice>
|
|
</enumChoice>
|
|
<enumChoice>
|
|
<choice>increased</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Sensitivity: </label>
|
|
</variable>
|
|
|
|
<variable CV="16" item="LEDs" default="0" tooltip="OpSw41" mask="XXXXXXXV"><!-- opsw 41 -->
|
|
<enumVal>
|
|
<enumChoice>
|
|
<choice>detection and Transponding</choice>
|
|
</enumChoice>
|
|
<enumChoice>
|
|
<choice>relay state (like the PM4x)</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>LEDs show: </label>
|
|
</variable>
|
|
</variables>
|
|
</decoder>
|
|
<pane xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/programmer.xsd">
|
|
<name>CVs</name>
|
|
<column>
|
|
<row>
|
|
<cvtable/>
|
|
</row>
|
|
<row>
|
|
<column>
|
|
<label>
|
|
<text><html>The "CV" column in the table above shows CV
|
|
numbers, not the Op Switch number.<p>To see those, hover
|
|
your mouse over a variable on the OpSw Settings pane.
|
|
<p>CVs 1 and 2 are the low and high (respectively) 8-bit
|
|
"Base Address" values.<p>The "Base Address" is practically
|
|
limited to 2040, max.<p>The "Roster" tool and its
|
|
Roster entries <em> cannot</em> change the
|
|
"Base Address".
|
|
</text>
|
|
</label>
|
|
<label>
|
|
<text> </text>
|
|
</label>
|
|
</column>
|
|
</row>
|
|
</column>
|
|
|
|
</pane>
|
|
<pane>
|
|
<name>Basic</name>
|
|
<column>
|
|
<display item="Long Address"/>
|
|
<label>
|
|
<text><html>
|
|
<p>This roster entry will only access the specified
|
|
board if the Base Address specified above <br>was
|
|
correctly entered when the roster entry was first created.
|
|
You <em>cannot</em> change it in the Roster Entry.
|
|
</html></text>
|
|
</label>
|
|
<label>
|
|
<text> </text>
|
|
</label>
|
|
<display item="Device Type"/>
|
|
<display item="Device Mfgr"/>
|
|
<display item="Serial Number"/>
|
|
</column>
|
|
</pane>
|
|
|
|
<pane>
|
|
<name>OpSw Settings</name>
|
|
<column>
|
|
<label>
|
|
<text><html><h2>Section "Mode"</text>
|
|
</label>
|
|
<display item="DS1 mode"/>
|
|
<display item="DS2 mode"/>
|
|
<display item="DS3 mode"/>
|
|
<display item="DS4 mode"/>
|
|
<display item="Trip current"/>
|
|
<label>
|
|
<text><html><h2>Occupancy Detection</text>
|
|
</label>
|
|
<display item="Occupancy"/>
|
|
<display item="Sensitivity"/>
|
|
<label>
|
|
<text><html><span style="color: green;"><em>The "Occupancy Detection Speed" settings, below, apply to
|
|
PM74 "July 1, <p>2024 (version Rev 7)" and later firmware. Previous firmware versions
|
|
do <p>not implement these OpSws.</text>
|
|
</label>
|
|
<display item="Section 1 det. speed"/>
|
|
<display item="Section 2 det. speed"/>
|
|
<display item="Section 3 det. speed"/>
|
|
<display item="Section 4 det. speed"/>
|
|
|
|
<label>
|
|
<text><html><h2>Transponding</text>
|
|
</label>
|
|
<display item="Transponding"/>
|
|
|
|
<label>
|
|
<text><html><h2>Outputs</text>
|
|
</label>
|
|
<display item="LEDs"/>
|
|
</column>
|
|
</pane>
|
|
|
|
</decoder-config>
|