This program is used for testing modbus-tcpip configurations. https://steffen.gulpe.de/modbus-tcpip/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Steffen Pohle d7faa21676
Update 'README.md'
1 month ago
.gitignore ignore default config file 3 years ago
Changelog adding bulk load, some little gui improvements. 1 month ago
HowTo-Cross-Compile.md cross build manual fixed. 6 months ago
LICENSE adding files 4 years ago
Makefile cross build manual fixed. 6 months ago
Makefile.rules.crosswindows preparation for testmodbus-client 2 years ago
Makefile.rules.linux preparation for testmodbus-client 2 years ago
Makefile.rules.windows preparation for testmodbus-client 2 years ago
README.md Update 'README.md' 1 month ago
copydlls.sh crosscompiling works again 2 years ago
copyshare.sh crosscompiling works. 4 years ago
gui.cc adding bulk load, some little gui improvements. 1 month ago
gui.h adding bulk load, some little gui improvements. 1 month ago
guimodbusdata.cc preparation for testmodbus-client 2 years ago
guimodbusdata.h preparation for testmodbus-client 2 years ago
guivalues.cc adding bulk load, some little gui improvements. 1 month ago
guivalues.h preparation for testmodbus-client 2 years ago
json.cc adding files 4 years ago
json.h fixed windows build. missing include of stdint.h 1 year ago
mbsconfig.cc adding files 4 years ago
mbsconfig.h preparation for testmodbus-client 2 years ago
modbussrv.cc fixed single word/coil write fc5/fc6 1 year ago
modbussrv.h fixed: ignore faulty requests 2 years ago
server.cc windows alwas windows. 1 month ago
tcp.cc code cleanup 2 years ago
tcp.h adding files 4 years ago
test-fc15.cc fixed windows build part two. missing include of stdint.h 1 year ago
test-fc16.cc fixed windows build part two. missing include of stdint.h 1 year ago
testmodbus-server.png adding files 4 years ago
testmodbus-server.ui adding bulk load, some little gui improvements. 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/

Image_01 Image_02

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 functions - bulk load

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