Control digital input and output of Spectra PowerBox and PowerTwin series industrial computers
Project description
spectra_dio
Python Module for PowerBox / PowerTwin digital I/O
Installation
pip install spectra_dio
Example Usage
import spectra_dio
dio = spectra_dio.DIO(spectra_dio.IOConfig.from_dmi())
dio.initialize()
# Read digital input status
print(dio.read_di())
# Set digital output DO0 on
dio.write_do(0, True)
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
spectra_dio-1.0.0.tar.gz
(16.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spectra_dio-1.0.0.tar.gz.
File metadata
- Download URL: spectra_dio-1.0.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.12.4 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1b56170d4b2db3ab63ba21d6893f5a639dc75fdea6ea8f8cb87a27ef3c92a28
|
|
| MD5 |
d9e76699250f6c0e459e923076a9d141
|
|
| BLAKE2b-256 |
78e5b64724b1b20f6ea8ded55fbb66cd50bf45034e8421d5e9ae446f0195c8f4
|
File details
Details for the file spectra_dio-1.0.0-py3-none-any.whl.
File metadata
- Download URL: spectra_dio-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.12.4 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d188ec7c081dfaa5d51fcd5cd5c520db5be91c20162c687ae2d2771dfe0c6c26
|
|
| MD5 |
24d341b3bab10dddb339a5090d1c884d
|
|
| BLAKE2b-256 |
781b13ec9c2e877e80ed058a8883eaa5126f718518509a141b08ccad9f074f9a
|