Get MBLogic at SourceForge.net. Fast, secure and Free Open Source 
	software downloads

Help Topics

Topic Details for HMI

Help - HMI Server Start Parameters


Overview:

The HMI server requires certain command line parameters to be set at start up. These parameters specify the communications connections.


Client Version of HMIServer:

This program provides a simple combination HMI http server and Modbus/TCP client (master). It can be started with a variety of command line parameters. Any parameters which are not specified will use their default values. These include:

Examples: (Linux):


	./hmiserver.py -p 8082 -h localhost -r 8600 -u 1 -t 5.0


	./hmiserver.py -p 8082 -h 192.168.10.5 -r 502 -u 1 -t 5.0

Examples: (MS Windows):


	c:\python26\python hmiserver.py -p 8082 -h localhost -r 8600 -u 1 -t 5.0

Note: - With MS Windows the path to the Python installation includes the version number. If you are using a different version of Python, you may need to alter the path accordingly (e.g. "c:\python25\python").


Server Version of HMIServer:

This program provides a simple combination HMI http server and Modbus/TCP server (slave). It can be started with the following command line parameters. Any parameters which are not specified will use their default values. These include:

Example: (Linux):


	./hmiserver.py -p 8082 -r 8600

Examples: (MS Windows):


	c:\python26\python hmiserver.py -p 8082 -r 8600

Note: - With MS Windows the path to the Python installation includes the version number. If you are using a different version of Python, you may need to alter the path accordingly (e.g. "c:\python25\python").