pyModSlave is a free python-based implementation of a ModBus slave application for simulation purposes. You can install the python module or use the precompiled (for Windows only) stand alone GUI (Qt based) utility (unzip and run). pyModSlave also includes a bus monitor for examining all traffic on the bus. You can also download it from pypi <https://pypi.org/project/pyModSlave/>.
pyModSlave is based on modbus-tk <http://code.google.com/p/modbus-tk/>, pySerial <https://github.com/pyserial/pyserial> and pyQt5 <http://www.riverbankcomputing.co.uk>.
Check out my modbus master project <http://sourceforge.net/projects/qmodmaster/>.
Checkout the following youtube videos :
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
License
GNU Library or Lesser General Public License version 3.0 (LGPLv3)Follow pyModSlave
User Reviews
-
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.
-
So far so good! this tool is great!!!
-
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