Modbus PLC control library
Project description
SDSS-V Modbus PCL library
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
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 Distribution
Built Distribution
File details
Details for the file sdss-drift-0.4.3.tar.gz
.
File metadata
- Download URL: sdss-drift-0.4.3.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b3ae46514cfd85bb3df96cdaf229c76298841d3758dab27a5f1208b0e1a3c4f |
|
MD5 | 1765bb541f7e253ed7d85beb5790478c |
|
BLAKE2b-256 | 467771d461f38e25c937b1958994e8c6fe2e5d20114753c3a607cd4528239fee |
File details
Details for the file sdss_drift-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: sdss_drift-0.4.3-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a489aba841bb697d6254db0179c11701526b8c46b25a437a0f5701286b82517 |
|
MD5 | 8faa7813ddf7dd911de6375d025c44c3 |
|
BLAKE2b-256 | f42ff00b212dfc475a717bb20c452fa94370048351de1e561ec3fbd21a06220d |