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 details)
MinimalModbus-0.1.tar.gz
(5.9 kB
view details)
Built Distribution
MinimalModbus-0.1.win32.exe
(203.6 kB
view details)
File details
Details for the file MinimalModbus-0.1.zip
.
File metadata
- Download URL: MinimalModbus-0.1.zip
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
dca1eff71d379dc5ba9d2320e5e89b64ce5034750f12fbf0e303687c86d480a7
|
|
MD5 |
9a980eb0f996abb0bf3b099b2d668f83
|
|
BLAKE2b-256 |
f923e26ddf330b6f384ed9caf33045a763f9bdbdc0f4fa2f1e6fe0dda394a27b
|
File details
Details for the file MinimalModbus-0.1.tar.gz
.
File metadata
- Download URL: MinimalModbus-0.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8fabf3359a4bc83a5d5b66f1f7f34ab33da636b3c0256cbfaa201b718fa837c6
|
|
MD5 |
33ecdab5a32da9cac89a8aae50dc9c0c
|
|
BLAKE2b-256 |
eac23a70b4b2f737d91e7975a1ecec53ddf3b526386b746ac152fee23477e4d5
|
File details
Details for the file MinimalModbus-0.1.win32.exe
.
File metadata
- Download URL: MinimalModbus-0.1.win32.exe
- Upload date:
- Size: 203.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
da28219f94734e1f643079b6127b806e86bc9d7f583527daf5ca9d9c5188bd2f
|
|
MD5 |
a3a71fd69d1676da74d23e0887a5723e
|
|
BLAKE2b-256 |
334155e51e52556772d22209943cdd47936a563ddb7d3176ac322185db1a4497
|