Python TwinCAT ADS async tools
Project description
Asyncio (or sans-i/o) TwinCAT AMS/ADS testing server in pure Python.
… and maybe a prototype client, too.
Requirements
Python 3.9+
(Optional) pytmc (for loading .tmc files in the server)
Server Functionality
Reference asyncio implementation.
Loads .tmc files for symbol information (basic types only).
Supports read, write, read/write of symbols (by handle or name).
Supports ‘sum up’ bulk reads (by way of read_write).
Pretends to create/delete notifications (not yet working)
Client Functionality
Preliminary symbol, handle, and notification support
LOGGER port message decoding
Shortcuts for common information (project/application/task names, task count)
Ability to easily prune unknown notification handles
Automatic reconnection
Log system configuration
Installation
$ git clone git@github.com:pcdshub/ads-async $ cd ads-async $ pip install .
Running the Tests
$ pip install pytest $ pytest -vv ads_async/tests
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 ads_async-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 756a1f01b63b027a43bd594f48c0243f3448f3a94eaff6145b6029da1aeb9478 |
|
MD5 | 5d3d01c1555a00044602c5ce0709df7d |
|
BLAKE2b-256 | 6500585a5e68b2811e9c3e28b6b3040eb4dbd342241983537cc954ce2b19a7b6 |