SimpleComTools, LLC
XML1000 – User Manual
SimpleComTools, LLC
21
XML1000 Example Output ‘Document’
<?xml version="1.0" encoding="UTF-8"?>
<XML1000>
<UID>TEST1</UID>
<CFG>
<UID>TEST1</UI
<VER>XML1000 1.3.002.A</VER>
<EID>1</EID>
<XSL>1</XSL>
<RBX>1</RBX>
<RBXTMR>1</RBXTMR>
<RBXCNT>0</RBXCNT>
<AUNITS>0</AUNITS>
</CFG>
<DIN>
<D1>1</D1>
<D2>1</D2>
<D3>1</D3>
<D4>1</D4>
<D5>1</D5>
<D6>1</D6>
<D7>1</D7>
<D8>1</D8>
</DIN>
<DCNT>
<C1>000000001</C1>
<C2>000000001</C2>
<C3>000000001</C3>
<C4>000000001</C4>
<C5>000000001</C5>
<C6>000000001</C6>
<C7>000000001</C7>
<C8>00000000
</DCNT>
<AIN>
<A1>0.0</A1>
<A2>0.0</A2>
<A3>0.0</A3>
<A4>0.0</A4>
<A5>0.0</A5>
<A6>0.0</A6>
<A7>0.0</A7>
<A8>0.7</A8>
</AIN>
<AOUT>
<AO1>5.0</AO1>
<AO2>3.5</AO2>
</AOUT>
<RELAY>
<R1>0</R1>
<R2>0</R2>
</RELAY>
</XML1000>
•
<XML1000> is the ROOT (top hierarchal) element
•
Main ‘container’ for all other elements & data
•
Equivalent to the MAIN C:\ drive of your PC
•
Each lower data element is wrapped in a container
•
Equivalent to a folder or sub-directory on your PC
•
Data array is wrapped with a start and closing tag
•
Digital input COUNT data
•
DCNT is the ‘parent’ container
•
Each COUNT has it’s own container as well
•
<DCNT><C1>data</C1></DCNT>
•
Analog output STATUS
•
<AOUT><AO1>data</AO1></AOUT>
•
Relay output STATUS
•
<RELAY><R1>data</R1></RELAY>
•
Analog input STATUS
•
<AIN><A1>data</A1></AIN>
•
‘</XML1000>’ is the closing tag for the ‘document’
•
Digital input STATUS data
•
<DIN><D1>data</D1></DIN>
•
General configuration values (CFG)
•
Includes UID, VER, EID, XSL, RBX and more