Skip to main content

A Rackio extension to enable Modbus TCP Server/Client integration

Project description

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)

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

RackioModbus-0.2.win-amd64.zip (21.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

RackioModbus-0.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file RackioModbus-0.2.win-amd64.zip.

File metadata

  • Download URL: RackioModbus-0.2.win-amd64.zip
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for RackioModbus-0.2.win-amd64.zip
Algorithm Hash digest
SHA256 27734e6ba7b56670a4ef899a198fcc373a959cc34adb89e8fc32e6286bec3ac0
MD5 c69dca413f13a40261986d1e78314e4e
BLAKE2b-256 274910a5a66a7f746b4c806ab4782fe12cbfa498988074916cfafbec1f0b8ca3

See more details on using hashes here.

File details

Details for the file RackioModbus-0.2-py3-none-any.whl.

File metadata

  • Download URL: RackioModbus-0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for RackioModbus-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7157a33095647f002b1a510ad22ab244ed852841accc4ebe9f3778ee69ba6745
MD5 638e76c06024ab4e2270cb2411dd962f
BLAKE2b-256 4b55c3c44a53f449eb3a1f32bdf6f6f48cf5b69bd58202d41f552a70190cc233

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page