Manual, F/T Sensor, Ethernet Axia
Document #9610-05-Ethernet Axia-09
Pinnacle Park • 1031 Goodworth Drive • Apex, NC 27539 • Tel:+1 919.772.0115 • Fax:+1 919.772.8259 • www.ati-ia.com
78
11. System Settings XML Pages
A user application can retrieve the sensor settings in XML format by using standard Ethernet HTTP requests. This
enables programs to read system settings such as the Counts per Force value. The Java
®
demo application uses data
from these XML pages to correctly scale displayed data.
In the following tables, the data types of XML elements are as follows:
Table 11.1—Types Used by XML Elements
Data Type Description
DINT Signeddoubleinteger(32bit)
ENABL Boolean using Enabled to represent 1 and Disabled to represent 0
HEXn Hexadecimal number of nbits,prexedwith0x
INT Signedinteger(16bit)
REAL Floating-pointnumber(32bit)
SINT Signedshortinteger(8bit)
STRINGn String of n characters
UDINT Unsigneddoubleinteger(32bit)
UINT Unsignedinteger(16bit)
USINT Unsignedshortinteger(8bit)
The values of all data types are presented as an ASCII strings.
Arrays are represented if the sufx [i] is attached to the data type, where i indicates the number of values in the
array. Array values in an XML element may be separated by a semicolon, comma, or space.
11.1 SystemandCongurationInformation(netftapi2.xml)
The XML page netftapi2.xml retrieves the system setup and active conguration.
The reference column in Table 11.2 indicates which .htm page and .cgi function access this element. Refer
to the corresponding entry in Section6—ConguringtheSensorwiththeEthernetAxiaWebPages or
Section9—CommonGatewayInterface(CGI) for related information.
Table 11.2—XML Elements in netftapi2.xml
XML Element Data Type Description Reference
runstat HEX32 System status code –
runft DINT[6] Force and torque values in counts
rundata
runsg INT[6] Strain gage values
runmtx REAL Matrix value
runmcb HEX32 Threshold breached
runmco HEX8 Threshold output
runmcl USINT Threshold latched
unbiasedsg INT Unbiased strain gage values
setbias DINT[6] Software bias vector
settingsetrate USINT Set the ADC rate
setiirshift USINT Setalter