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.

Source Distribution

pyModSlave-0.4.2.1.tar.gz (1.6 MB view hashes)

Uploaded Source

Built Distribution

pyModSlave-0.4.2.1-py2-none-any.whl (1.6 MB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page