|
|
1 month ago | |
|---|---|---|
| .gitignore | 3 years ago | |
| Changelog | 1 month ago | |
| HowTo-Cross-Compile.md | 6 months ago | |
| LICENSE | 4 years ago | |
| Makefile | 6 months ago | |
| Makefile.rules.crosswindows | 2 years ago | |
| Makefile.rules.linux | 2 years ago | |
| Makefile.rules.windows | 2 years ago | |
| README.md | 1 month ago | |
| copydlls.sh | 2 years ago | |
| copyshare.sh | 4 years ago | |
| gui.cc | 1 month ago | |
| gui.h | 1 month ago | |
| guimodbusdata.cc | 1 month ago | |
| guimodbusdata.h | 2 years ago | |
| guivalues.cc | 1 month ago | |
| guivalues.h | 2 years ago | |
| json.cc | 1 month ago | |
| json.h | 1 year ago | |
| mbsconfig.cc | 4 years ago | |
| mbsconfig.h | 1 month ago | |
| modbussrv.cc | 1 month ago | |
| modbussrv.h | 2 years ago | |
| server.cc | 1 month ago | |
| tcp.cc | 2 years ago | |
| tcp.h | 4 years ago | |
| test-fc15.cc | 1 year ago | |
| test-fc16.cc | 1 year ago | |
| testmodbus-server.png | 4 years ago | |
| testmodbus-server.ui | 1 month ago | |
README.md
testmodbus-server
This programm is used for testing modbus-tcpip configuations. If you do not know what modbus-tcpip mean stop using this programm.
This software is written by Steffen Pohle (steffen@gulpe.de), check for a newer version of this software at https://steffen.gulpe.de/modbus-tcpip/
Compilation on Linux
As requirement to compile this application you need to install the gnome3-devel packages. If this is done you can compile and run the application with the following commands:
make configlinux
make
./testmodbus-server
Installation
not needed.
Cross Compilation for Windows (build on Debian, target Windows)
Configue the Makefiles.rules.crosswindows file to your needs. A little manual on my cross compilation setup can be found in HowTo-Cross-Compile.txt. Make sure you copy all needed dll files to dll in this directory.
make buildwindows
All needed files will be placed in a separate subfolder together with all needed librarys (needs to prepared, see Makefile for some hints).
For precompiled windows binarys look at this link.
some usefull functions
Bulk load of csv files works.
NAME,TYPE,FC,REGISTER,VALUE
TEST_FC3_0,FLOAT,3,0,1.5
TEST_FC3_2,FLOAT,3,2,1.6
TEST_FC4_4,FLOAT,4,4,2.6
TEST_FC4_6,FLOAT,4,6,15.6