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
Hashes for sdss_drift-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 150815b48234386f6acaa9931f76ba5d8f8a2b2396ac003b2cfdeb82344f07a7 |
|
MD5 | 5aeb15c20df61ee81c35053bd57e2495 |
|
BLAKE2b-256 | 7e4f2d6227a3dceb5e1839b94ffb7c7cf954723c89c11ccf3e7e4a5965e7ad3e |