SimpleComTools, LLC
XML1000 – User Manual
SimpleComTools, LLC
17
Querying the Entire Device Configuration
As shown above, sending either <XML1000></XML1000> or <XML1000/> will query the root element. The
device will respond with all its element values, including general configuration values and live data values.
Querying Specific Values
To query a specific value, the command will have to include the root element followed by the sub element
start and ending tags. Here are some examples:
Query
Response
Query for General Config Values
<XML1000><CFG></CFG></XML1000>
or
<XML1000><CFG/></XML1000>
<?xml version="1.0" encoding="UTF-8"?>
<XML1000>
<CFG>
<UID>TEST1</UID>
<VER>XML1000 1.3.002.A</VER>
<EID>0</EID>
<XSL>1</XSL>
<RBX>1</RBX>
<RBXTMR>1</RBXTMR>
<RBXCNT>0</RBXCNT>
<AUNITS>0</AUNITS>
</CFG>
</XML1000>
Query for Digital Input Values
<XML1000><DIN></DIN></XML1000>
or
<XML1000><DIN/></XML1000>
<?xml version="1.0" encoding="UTF-8"?>
<XML1000>
<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>
</XML1000>
Query for Digital Input Counts
<XML1000><DCNT></DCNT></XML1000>
or
<XML1000><DCNT/></XML1000>
<?xml version="1.0" encoding="UTF-8"?>
<XML1000>
<DCNT>
<C1>000000000</C1>
<C2>000000000</C2>
<C3>000000000</C3>
<C4>000000000</C4>
<C5>000000000</C5>
<C6>000000000</C6>
<C7>000000000</C7>
<C8>000000000</C8>
</DCNT>
</XML1000>