rackio-modbus
A Rackio extension to enable Modbus TCP Server/Client integration
Installation
pip install RackioModbus
Usage
from rackio import Rackio, TagEngine
from rackio_modbus import RackioModbus
app = Rackio()
driver = RackioSocket(app, mode="server")
Defining Tags and Modbus bindings
tag_egine = TagEngine()
# Tags definitions
tag_egine.set_tag("T1", "float")
tag_egine.set_tag("T2", "float")
tag_egine.set_tag("T3", "float")
# Modbus mapping
driver.define_mapping("T1", "write", 0, 60) # Tag, mode, lower limit, upper limit
driver.define_mapping("T2", "write", 0, 50)
driver.define_mapping("T3", "read", 0, 110)
Release files for RackioModbus 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| RackioModbus-0.2.win-amd64.zip | 21.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| RackioModbus-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.3 kB
Release files / RackioModbus-0.2.win-amd64.zip
| Download URL | RackioModbus-0.2.win-amd64.zip |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27734e6ba7b56670a4ef899a198fcc373a959cc34adb89e8fc32e6286bec3ac0
|
|
BLAKE2b-256 checksum How to use checksums |
274910a5a66a7f746b4c806ab4782fe12cbfa498988074916cfafbec1f0b8ca3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
|
Release files / RackioModbus-0.2-py3-none-any.whl
| Download URL | RackioModbus-0.2-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7157a33095647f002b1a510ad22ab244ed852841accc4ebe9f3778ee69ba6745
|
|
BLAKE2b-256 checksum How to use checksums |
4b55c3c44a53f449eb3a1f32bdf6f6f48cf5b69bd58202d41f552a70190cc233
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
|