Simple Modbus RTU implementation for Python
Project description
There are several types of modbus protocols:
Modbus RTU
Modbus ??
Typical usage:
#!/usr/bin/env python import minimalmodbus instrument = minimalmodbus.Instrument('/dev/ttyUSB1', 1) # port name, slave address temperature = instrument.read_register( 23541, 1 ) # Registernumber, number of decimals
Installation
Home page
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
MinimalModbus-0.1.zip
(7.5 kB
view hashes)
MinimalModbus-0.1.tar.gz
(5.9 kB
view hashes)
Built Distribution
MinimalModbus-0.1.win32.exe
(203.6 kB
view hashes)