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.
50 lines
1.4 KiB
50 lines
1.4 KiB
# 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](https://steffen.gulpe.de/modbus-tcpip/).
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|