modbus_tcprtu
A ModbusRTU Over TCP/IP library, depends on modbus_tk. It's often use with 485-to-TCP converter.
# must install modbus_tk
import modbus_tk.defines as cst
from modbus_tcprtu import TcpRtuMaster
# create a master
master = TcpRtuMaster(host='127.0.0.1', port=9001)
master.set_timeout(2)
for i in range(10):
# read data from modbus
# just use as modbus_tk.Master
print(i, master.execute(1, cst.READ_HOLDING_REGISTERS, 0, i + 1))
CHANGES
1.0.0
- First version
Metadata
Release files for modbus-tcprtu 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| modbus_tcprtu-1.0.0.tar.gz | 2.7 kB | Without provenance | Details for modbus_tcprtu-1.0.0.tar.gz |
Release files / modbus_tcprtu-1.0.0.tar.gz
| Download URL | modbus_tcprtu-1.0.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ceea6c7306dfc37a7432f46b634ae8bb0b1fcbc2ec17e440e1d83f4adab6d157
|
|
BLAKE2b-256 checksum How to use checksums |
7bc4be0fb65c29bb6e414f367e4d8eb58adac771e11ac60e9eb0c91a4ff60bab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.8.2 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/2.7.16
|
Security for modbus-tcprtu 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.