Httpget Program - Omega iServer DPi8 User Manual

Embedded ethernet for iseries monitor/controller
Hide thumbs Also See for iServer DPi8:
Table of Contents

Advertisement

4.10 HTTPGET Program

You can setup and read the information from the iServer by using the HTTPGET
program. The following program can be used to read data from the embedded server
firmware by using TCP port 1000. The command string sends to this TCP port, then it
reads back the response from the same port. Whatever you write to the port goes to the
serial port unmodified. Any response from the serial port can be read back from the
same socket.
The Httpget.exe file is used to setup and read information from the iServer. This file will
be automatically installed when you run any iServer related software available on our
website and CD.
Example to use the "Httpget" program:
1. Create a directory C:\iServer\Httpget.
2. Copy httpget.exe and readme_features.doc files to this directory.
3. Make sure that you are in this directory and then enter the following test program:
C:\iServer\Httpget\httpget –r –S "*01X01\r" 192.168.1.200:1000
where:
"-r –S" are switches before the command string
"01" is device address (in hex format) for RS485 communication interface (skip for
RS232)
"X01" read measurement data value (iSeries protocol)
"\r" calls out a CR
"192.168.1.200" is an IP address
"1000" is a local port number
Respond:
01X01074.3
where:
"01X01" is Echo command
"074.3" is a display reading of the 4-digit device
In the example above the 4-digit iSeries controller has been connected to the
serial communication port of iServer.
28

Advertisement

Table of Contents
loading

Table of Contents