pyModSlave is a free, Python-based Modbus slave application for simulation purposes. It supports Modbus RTU and TCP, includes a built-in bus monitor for examining all traffic on the bus, and can be run as a Python module or as a standalone GUI (Windows only — unzip and run, no installation required).
pyModSlave is based on modbus-tk, pySerial, and PyQt5.

The repository has moved to GitHub: https://github.com/elbarbas/pyModSlave. SourceForge will continue to host updated binary releases, but the latest source code is maintained on GitHub.

PyPI: https://pypi.org/project/pyModSlave/

Related project: QModMaster https://github.com/elbarbas/QModMaster — a Modbus master application

Video demos:
- Modbus RTU: https://youtu.be/1get1ELKz_A
- Modbus TCP: https://youtu.be/nX_kTQwK2f4
- Session: https://youtu.be/y_9Di7E3y8w
- Log: https://youtu.be/Xcb6sj1uzyY

Features

  • ModBus RTU/TCP Slave
  • Simulate Coils, Discrete Inputs, Input Registers, Holding Registers
  • Monitor Bus activity [Raw Data and PDU details]
  • Supports both Windows and Linux

Project Samples

Project Activity

See All Activity >

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow pyModSlave

pyModSlave Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
★
0
1
2
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

User Reviews

  • 3 out of 5 stars
    This looks great but I can't use it because I need Modbus RTU/ASCII protocol and there doesn't seem to be an option for it.
  • 4 out of 5 stars
    So far so good! this tool is great!!!
  • 3 out of 5 stars
    whenever I try to connect to master it given me message saying "slave threw exception" connection timed out.. Where can I get detailed document for the user? plz help me out
Read more reviews >

Additional Project Details

Intended Audience

Advanced End Users, Engineering, Telecommunications Industry

User Interface

Qt

Programming Language

Python

Related Categories

Python Communications Software, Python Interface Engines

Registered

2012-03-30