05.12.2015 Views

Network Force/Torque Sensor System

Net F/T Manual - ATI Industrial Automation

Net F/T Manual - ATI Industrial Automation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Net F/T Installation and Operation Manual<br />

Document: 9620-05-net ft-11<br />

9. <strong>System</strong> Settings XML Pages<br />

The Net F/T’s current settings can be retrieved in XML format using standard Ethernet HTTP requests. This<br />

enables programs to read system settings such as the Counts per <strong>Force</strong> value. The Net F/T’s Java demo<br />

application uses data provided in these XML pages to correctly scale displayed data.<br />

In the following tables, the data types of XML elements are as follows:<br />

Table 9.1—Types Used by XML Elements<br />

Data Type<br />

DINT<br />

Signed double integer (32 bit)<br />

Description<br />

ENABL Boolean using Enabled to represent 1 and Disabled to represent 0<br />

HEXn Hexadecimal number of n bits, prefixed with 0x.<br />

INT<br />

REAL<br />

SINT<br />

STRINGn<br />

UDINT<br />

UINT<br />

USINT<br />

Signed integer (16 bit)<br />

Floating-point number (32 bit)<br />

Signed short integer (8 bit)<br />

String of n characters<br />

Unsigned double integer (32 bit)<br />

Unsigned integer (16 bit)<br />

Unsigned short integer (8 bit)<br />

The values of all data types are presented as an ASCII strings.<br />

Arrays are represented if the suffix [i] is attached to the data type, where i indicates the number of values in<br />

the array. Array values in an XML element may be separated by a semicolon, comma, or space.<br />

9.1 <strong>System</strong> and Configuration Information (netftapi2.xml)<br />

The XML page netftapi2.xml retrieves the system setup and active configuration. To retrieve information<br />

about other configurations, those configurations must be made active prior to the request.<br />

A configuration index can be specified when requesting this configuration information. This is done by<br />

appending ?index=n to the request, where n is the index of the desired configuration. If a configuration<br />

index is not specified the active configuration will be assumed.<br />

For example, to retrieve configuration information for the second configuration the requested page would<br />

be netftapi2.xml?index=1.<br />

The reference column in Table 9.2— XML Elements in netftapi2.xml indicates which .htm page and .cgi<br />

function access this element. Refer to the corresponding entry in Section 4—Web Pages or Section 8–<br />

Common Gateway Interface (CGI) for related information.<br />

Pinnacle Park • 1031 Goodworth Drive • Apex, NC 27539 USA • Tel: +1.919.772.0115 • Fax: +1.919.772.8259 • www.ati-ia.com • Email: info@ati-ia.com<br />

B - 69

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!