Omega C4EIT User Manual page 56

Embedded ethernet for iseries monitor/controller
Table of Contents

Advertisement

Appendix F
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 sends this string to TCP port
1000 and 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
is available on our website.
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:
4. For help, execute HTTPget.exe
C:\iServer\httpget>httpget –r –S "*01X01\r" 192.168.1.200:1000
where:
–r –S
*01
X01
\r
192.168.1.200
1000
Response:
01X01074.3
where:
01X01
074.3
In the example above the 4-digit iSeries controller has been connected to
the serial communication port of iServer.
HTTPget Program
are parameters needed for the command string
is device address (in hex format) for RS485 (-C4EIT)
communication interface (skip for embedded ethernet (-EIT))
read measurement data value (iSeries protocol)
is the carriage return termination character
is an IP address
is a local port number
is Echo command
is a display reading of the 4-digit device
50

Advertisement

Table of Contents
loading

This manual is also suitable for:

Eit

Table of Contents