pyads icon indicating copy to clipboard operation
pyads copied to clipboard

Python wrapper for TwinCAT ADS

Results 70 pyads issues
Sort by recently updated
recently updated
newest added

Fixes #266 This adds the option to read multiple symbols at once, or write to multiple at once. Unfortunately this is not directly compatible with `adsSumRead` and `adsSumWrite` (assuming we...

Until now we can only read/write arrays of simple types or single structure variables. Reading/Writing an array of a defined structure would be a great enhancement

documentation

Add unit tests for the following helper functions which have been introduced by the refactoring PR #269: - get_value_from_ctype_data - adsSumReadBytes - adsSumWriteBytes Kindly ask @RobertoRoos to take care of...

testing

Hi I was using `read_by_name` before and wanted to switch to `get_symbol(...).read()` because of the nicer syntax and not having to pass around the plc object. So I discovered, that...

bug

I could use functions to read/write to/from a list of symbols (i.e. update multiple symbols with a single request to save some overhead). Pretty much `read_list_by_name` but for Symbol instances...

On Windows 11, for TwinCAT 4026.5, it seems TcAdsDll.dll has moved and we can not rely on TWINCAT3DIR. I have added to the resolution method to first search for a...

I think it would be good to make full use of the `pyproject.toml` file and drop the `setup.cfg` file at least. Ideally I think we would also drop the `setup.py`...

Fixes #398 Also added Python requirement to `setup.py`.

\+ Added exception raising for unknown types Fixes #263 . The issue is almost three years old, but still relevant. This allows using enums both with `plc.read_by_name()` and through `AdsSymbol.read()`....

Currently: - The Gitlab CI is tested with Python 3.7 to 3.10. - Black is configured to work on Python 3.7 to 3.10 - `pyproject.toml` / `setup.py` / `setup.cfg` I...

todo