Colway Solutions
Modbus Member Logo

Build and test your port with the supplied Modbus Protocol Tester


If you have reached here then you have:

2  Created a project in your IDE and added the MSPL files to it

2  Implemented the hook functions to glue the library to your platform's physical interface

2  Implemented the hook functions to glue the library to your application's database or are using the simulated database

2  Configured the debugger

2  Defined appropriate values for various open macros to set the Endian style, optimise the memory utilisation etc.

Use the facilities of the IDE now to compile and build the project and download it to your target. You can test this port with the bundled Modbus Protocol Tester application.


2.8.1       Modbus Protocol Tester - Overview

The Modbus Protocol Tester or MPT in short is a simple Windows Modbus Master application that enables a user to send Modbus requests to a slave device and decode the response. It can be configured to poll specified data points in the slave device at a periodic interval and generate a log if any error occurs. It can display raw Modbus packets as well as the data extracted from a Modbus packet. The data can be shown as raw Modbus data (bits and words) or as interpreted data (integers, floats and so on). It is an excellent light-weight test tool to validate a Modbus device's compliance to the supported function codes and also perform stress tests on it by bombarding it with Modbus requests.


2.8.2       Installing Modbus Protocol Tester

The setup file for the Modbus Protocol Tester is in the "..\MPT" folder of MSPL-C package. Run setup.exe from this folder and follow the onscreen instructions to complete the installation.


2.8.3       Help on using Modbus Protocol Tester

Modbus Protocol Tester online user's manual can be found at



Back to Index

Privacy Policy Site Map FAQ Contact Us