Omega -C4EIT/-EIT Switch User Manual


 
Appendix F 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 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 are parameters needed for the command string
*01 is device address (in hex format) for RS485 (-C4EIT)
communication interface (skip for embedded ethernet (-EIT))
X01 read measurement data value (iSeries protocol)
\r is the carriage return termination character
192.168.1.200 is an IP address
1000 is a local port number
Response:
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.
50