Skip to content

Releases: stlehmann/pyads

3.3.1

10 Jan 12:27
05d7e79
Compare
Choose a tag to compare

Added

  • #174 Add AdsSymbol class for pythonic access
  • #169 Add adsGetNetIdForPLC to pyads_ex
  • #179 Added destructor to pyads.Connection

Changed

Removed

3.3.0

27 Oct 08:56
Compare
Choose a tag to compare

Added

  • #155 Add get_all_symbols method to Connection
  • #157 Add write_structure_by_name method to Connection
  • #161 Add sum read and write commands

Changed

  • #150 Use function annotations and variable annotations for type annotations

Removed

  • #152 Remove deprecated functions
  • #150 Drop support for Python 2.7 and Python 3.5

3.2.2

28 Aug 12:16
839331a
Compare
Choose a tag to compare

Added

  • #141 Add ULINT support to read_structure_by_name
  • #143 Add parse_notification method to Connection

Changed

  • #140 Fix lineendings to LF in the repository
  • #139 Fix documentation and test issues with DeviceNotifications
  • ea707 Fix documentation on ReadTheDocs
  • 45859 Fix issue with async handling in adslib

3.2.1

10 May 20:46
Compare
Choose a tag to compare

Added

  • #130 Allow read_write with NULL read/write data
  • #131 Add FILETIME passthrough to notification decorator

Changed

  • #135 Bug fix for setting up remote route from linux
  • #137 Update adslib from upstream

3.2.0

04 May 09:04
Compare
Choose a tag to compare

Added

  • #111 test cases for notification decorators
  • #113 Add option not to check for data size
  • #118 Add support for arrays in notification decorator
  • #112 Add getters/setters for connection netid and port

Changed

  • #128 Deprecation warning for older non-class functions. In
    future versions only methods of the Connection class are supported.

Removed

  • #127 Drop support for Python 2

3.1.3

04 May 09:09
Compare
Choose a tag to compare

Added

  • #120 Allow to write ctypes directly

Changed

  • #125 Add notifications by address. The data_name parameter changed to data as now not only strings can be passed but also a tuple with index group and offset.
  • #123 Add ULINT data type
  • #106 Store notification callbacks per AmsAddr

Removed

Version 3.1.2

10 Feb 12:59
Compare
Choose a tag to compare
  • new function read_structure_by_name to read a structure with multiple
    datatypes from the plc (issue #82, many thanks to @chrisbeardy)
  • simplify pyads.add_route, now the ams address can be supplied by a string
    instead of an AmsAddr object

Version 3.0.1

13 Jul 08:54
Compare
Choose a tag to compare

With version 3.0.1 only the extended ADS functions will be used. This allows to use
the same library functions for Linux and Windows. As a result the pyads.py module has
been removed from the package. Certain older versions of TcAdsDll don't support the 'Ex'
set of functions. If you experience trouble please update your TwinCAT version.

The new version also comes with completely covered PEP484 compliant type-annotations. So
you can conveniently apply static type-checking with mypy or others.

Improved Device Notification handling

26 Sep 14:38
Compare
Choose a tag to compare

callback decorator that handles timestamp conversion of notifications to datetime and value extraction

Minor Bugfixes

09 May 13:22
Compare
Choose a tag to compare
  • automatic code checking with travis
  • remove wildard imports
  • some documentation updates