Operation
X-317™ Users Manual
5.2 XML Operation
Custom XML computer applications may be created to monitor and control the X-317. This method
does not use a web browser. Diagnostics.xml is available for troubleshooting and system
monitoring. With XML, the analog output values are the “user units” values which are subsequently
processed by the Y=mX+b equation to drive the digital to analog converter. The XML data values
are not the raw output to the digital to analog converter. As such, the values are in easy to use
engineering units such as percent (%), feet per minute (fpm) etc as defined in the
Analog Output
tab.
5.2.1 XML Monitoring
The state of the analog outputs can be monitored by sending a request to port 80 (or port specified in
setup). This can be demonstrated by entering the following URL into the address bar of a web browser
(substituting the IP address as necessary):
The following state.xml page is returned:
<datavalues>
<an1state>0.0000</an1state>
<an2state>0.0000</an2state>
<an3state>0.0000</an3state>
<an4state>0.0000</an4state>
<an5state>0.0000</an5state>
<extvar1>0.00</extvar1>
<extvar2>0.00</extvar2>
<extvar3>0.00</extvar3>
<extvar4>0.00</extvar4>
<serialNumber>00:0C:C8:00:00:78</serialNumber>
<reloadPage>0</reloadPage>
</datavalues>
The numbers enclosed by the tags,
<tag>
, indicate the current analog output value. Values for each tag
are described in the table below. XML computer applications will open a TCP/IP socket with the X-317
and send a
GET
command followed by the state.xml command string.
XML Tags*
Monitor Values
<anXstate>
The current analog output value
<extvarX>
Value of each External Variable.
<serialNumber>
00:00:00:00:00:00, serial number of the X-317.
<reloadPage>
* 'X' is replaced by the
analog channel or extvar number
.
Page 40
Xytronix Research & Design, Inc.
Содержание ControlByWeb X317
Страница 1: ......