Skip to main content

A modbus RTU/TCP slave application

Project description

#pyModSlave

pyModSlave is a free python-based implementation of a ModBus slave application for simulation purposes and is based on [modbus-tk] (http://code.google.com/p/modbus-tk/), [pySerial] (http://pyserial.sourceforge.net/) and [pyQt4] (http://www.riverbankcomputing.co.uk).

It starts a TCP/RTU ModBus Slave.Builds 4 data blocks (coils,discrete inputs,input registers,holding registers) and sets random values. You can also set values for individual registers.

To configure the logging level set the 'LoggingLevel' in 'pyModSlave.ini' file

  • CRITICAL : 50
  • ERROR : 40
  • WARNING : 30 [default]
  • INFO : 20
  • DEBUG : 10
  • NOTSET : 0

You can easily build a windows standalone 'exe' version using the command : 'python cx_frz_create_exe.py build' from the installation folder (you will need to install 'cx_freeze' package).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyModSlave, version 0.4.3
Filename, size File type Python version Upload date Hashes
Filename, size pyModSlave-0.4.3-py3-none-any.whl (1.6 MB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page