Skip to content

Releases: ottowayi/pycomm3

0.11.0

18 Oct 22:55
Compare
Choose a tag to compare
0.11.0 Pre-release
Pre-release

LogixDriver

  • added array support for non-string data types for the data_format in generic_message
    • e.g. data_format=[('example', 'SINT[5]'), ]
  • added string (2-byte len) and logix_string (4-byte len) support for data_format in generic_message
  • improved error messages for bad tag names, fix ambiguous 'Invalid tag request - 'plc_tag' error message

SLCDriver

  • added get_file_directory
    • confirmed working for SLC and MLX1100, other MLX models will require help from someone with the hardware to debug against
  • added r/w support for L/ST/A files

0.10.2

12 Aug 12:53
Compare
Choose a tag to compare
0.10.2 Pre-release
Pre-release
  • fixed error with get_module_info method

0.10.1

11 Aug 13:16
Compare
Choose a tag to compare
0.10.1 Pre-release
Pre-release
  • generic_message method now accepts bytes or ints for service, class, instance, and attribute arguments
  • minor refactoring and exception improvements

0.10.0

07 Aug 22:19
Compare
Choose a tag to compare
0.10.0 Pre-release
Pre-release
  • (new) - SLCDriver for SLC 500 and MicroLogix
    • read/write methods similar to LogixDriver

0.9.2

05 Aug 12:55
Compare
Choose a tag to compare
0.9.2 Pre-release
Pre-release
  • fixed loggers so they all contain the module name, not just the class name

0.9.1

04 Aug 00:08
Compare
Choose a tag to compare
0.9.1 Pre-release
Pre-release
  • removed autologging dependency
  • changed minimum Python version to 3.6.1 due to bug w/ NamedTuples
  • some internal restructure and refactoring
  • improved some exception handling and raising
  • multi-request read/write calls now only filter RequestError and DataError, other exceptions will have to be handled by the user

0.9.0

27 Jul 12:27
4984184
Compare
Choose a tag to compare
0.9.0 Pre-release
Pre-release
  • restructured some modules, there is now a CIPDriver class that LogixDriver inherits from
    • CIPDriver handles session registrations, forward open/close, generic_message, etc
    • possibly to be used as a base for a SLC/Micrologix driver
  • fixed issue with improper unpacking of session ID that would sometime cause a crash
  • set minimum Python version to 3.6.1
    • 3.6 had a bug with overloading methods in NamedTuple that broke checking validity of Tag objects
  • [Breaking Change] list_identity method now returns a dict with the full identity object, not just a string of the product name

0.8.1

16 Jul 21:07
Compare
Choose a tag to compare
0.8.1 Pre-release
Pre-release
  • replaced the generic_read/generic_write method with a single generic_message method
    • it should now work properly, the previous methods did not always
    • replaced some internal methods to use generic_message instead of manually building the requests
    • tested getting/setting drive parameters from a PF525
  • updated documentation
  • lots of internal changes and restructuring

0.7.1

27 Jun 18:51
4da11e1
Compare
Choose a tag to compare
0.7.1 Pre-release
Pre-release
  • minor refactoring
  • fix for not using instance ids in requests for array tags

0.7.0

05 Jun 19:05
b48669f
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release
  • fix for incorrectly parsing arrays of structures inside structures
  • fix for improper packing/parsing strings with lengths not aligned to 4-byte boundaries
  • [EXPERIMENTAL] added support for writing of full structures
    • value should be a sequence of values for each tag in a structure, nesting as needed
    • does not read tag first, starts with a zero-filled struct. application responsibility to get the current values.
    • does not validate value matches data type definition, only throws exception if unable to pack value using definition
    • not recommended for built-in types (TIMER, COUNTER, etc)