Skip to main content

Easy-to-use ModbusTCP Server in pure Python

Project description

SimpleModbusServer

A Modbus server implementation in pure Python.

Installation

pip install modbus_server

Usage

import modbus_server
s = modbus_server.Server(port=5020)
s.start()
s.set_coil(1,True)

Todo:

  • Client tests with pyModbusTCP
  • Test 32bit values
  • Test performance

Testing:

For testing, install a symlink to the package in the python environment using flit:

flit install . -s

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

modbus_server-0.1.9.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

modbus_server-0.1.9-py2.py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 2 Python 3

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