Skip to main content

Modbus PLC control library

Project description

SDSS-V Modbus PCL library

Versions Documentation Status Build codecov

This library provides an asynchronous interface with modbus devices over a TCP ethernet controller (such as this one) and control of the connected I/O modules. The code is a relatively thin wrapper around Pymodbus with the main feature being that it's possible to define a PLC controller and a complete set of modules as a YAML configuration file which can then be loaded. It also provides convenience methods to read and write to the I/O modules and to convert the read values to physical units.

This code is mostly intended to interface with the SDSS-V FPS electronic boxes but is probably general enough for other uses. It's originally based on Rick Pogge's WAGO code.

Installation

To install, run

pip install sdss-drift

To install from source, git clone or download the code, navigate to the root of the downloaded directory, and do

pip install .

sdss-drift uses Poetry for development. To install it in development mode do

poetry install -E docs

Documentation

Refer to the Read the Docs documentation for more details.

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

sdss-drift-0.1.4.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

sdss_drift-0.1.4-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file sdss-drift-0.1.4.tar.gz.

File metadata

  • Download URL: sdss-drift-0.1.4.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for sdss-drift-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3edf5199bab7c4a81991761337c931cf2b81cc24e804289bd8a1d027b7e65132
MD5 71ba1e739cc5523a7d636f8c705f7f7c
BLAKE2b-256 c34533a8824b09377c737d9d55c8b1356636df469ee80548cfe167215994f0c7

See more details on using hashes here.

File details

Details for the file sdss_drift-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: sdss_drift-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 11.1 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/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for sdss_drift-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c906d137da8990204d1ae3ed83f0225891b89b69f17a9030fb74de27a7616cc4
MD5 d3470ff5dd0accfced91d1283cdee75e
BLAKE2b-256 0c3f0d4b02b46b36ba79dcae1e07d49214ad080410df43286465f24c3f47d3e4

See more details on using hashes here.

Supported by

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