38
testo 6651 Ethernet
-
1.3 Commissioning
1.3.4.5
Integration into customer’s Ethernet system
Precondition
The user should be familiar with the structure of an XML
document.
Furthermore, enough knowledge should be
available that this type of document can be downloaded and
decoded via an Internet connection with the aid of a
programming/script language
Interface
The communication takes place according to the client/server principle,
whereby the Ethernet module takes on the role of the server:
The XML interface will be approached via a URL. The URL consists of the IP
address of the Ethernet module, the path for the XML document and,
depending on the URL, with a clearly defined parameter. If a parameter is
missing or an incorrect value is transferred, the Ethernet module sends back
a simple error message.
Example:
IP address = 254.169.100.100
URL for serialnumber.xml:
http://254.169.100.100/data/getserialnumber
If a parameter is required, a “?” (question mark) is always in the first place
after the URL
then the parameter is transferred to the common query string
form (name=value).
Example:
IP address = 254.169.100.100
URL for / identification.xml:
http://254
.
169.100.100/data/getidentification?param=0 (compare table
xml codes)
After calling up the compound URL, if everything was correct, an XML
document is returned. With faulty parameters a simple HTML answer comes
that points out the reason that an XML answer could not be given.
If an XML document is to be loaded on the server, access is provided by
means of a POST request
1.888.610.7664
www.
Testo-Direct
.com