Releases: ottowayi/pycomm3
0.5.2
0.5.1
- added
micro800
option to LogixDriver, support needs testing - added automatic retry of with a standard Forward Open if and Extended Forward Open fails
- removes requirement to set
large_packets=False
in constructor
- removes requirement to set
- module refactoring
- some initial documentation started
- removed the COM server stuff, if this is a wanted feature it may be re-added in the future.
[Breaking Change] Added CIP routing support
- replaced the separate ip address and slot args with a single required path argument.
- the new path arg allows full CIP paths, see readme for examples
After adding CIP routing support it seemed unnecessary to have separate ip address and slot arguments, so I chose to remove them and replace with a single path variable. Unfortunately, this is a breaking change for anyone using a PLC not in slot 0. The idea was that the path would look similar to what shows up in Logix. I kept shortcuts for just the IP address or 'IP/slot', so you will not need to add the backplane part to the path if staying the same rack. Hopefully this does not cause many issues, I believe this change was the better approach and it provides a cleaner solution.
Minor bugfix
Fixed minor issues with the program scope tag names containing an extra 'Program:' in the tag name
Minor bugfixes
- fixed issue with program scoped tags in read/write methods
- fixed issue with parsing some custom string types inside structures
- other minor changes
Added data_types property
data_types property added for access to struct definitions without having to loop thru tags
Published to PyPI
Minor fixes to documentation and rearranged some methods. Published to PyPI.
New read/write API
This release includes new methods (read/write) for the LogixDriver class. They replace the existing pycomm read_tag/read_array/read_string ( and corresponding write methods) and offer many quality of life and performance improvements over the existing methods. The intention is that these new methods will replace the existing API and the older methods will be removed in the future. These new methods leverage the tag definitions uploaded from the controller to provide many enhancements that other similar libraries don't offer. This library is still very much a work in progress, but these new methods have proven stable enough for my use case and I decided it was time to move them to the master branch. Pull requests for tests/documentation/bugfixes/enhancements/etc are always welcome.
Driver Rename & Bugfix
Renamed the CLXDriver to Logix Driver, since it works with both CompactLogix and ControlLogix.
Bugfix for issue using array tags when using Symbol Segment Addressing and not Symbolic Instance Addressing.
New get_module_info method
v0.2.0