The HMI server requires certain command line parameters to be set at start up. These parameters specify the communications connections.
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:
./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
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").
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:
./hmiserver.py -p 8082 -r 8600
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").