Skip to content

plc_tag_set_string() feature additions #488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 22, 2024
Merged

Conversation

kyle-github
Copy link
Member

plc_tag_set_string() will now expand or contract the string's part of the tag buffer if the new string value is longer or shorter than the old one. This is only true if the string type is not fixed size.

@kyle-github kyle-github merged commit c808fa1 into prerelease Aug 22, 2024
@kyle-github kyle-github deleted the set_string_fixes branch August 22, 2024 17:10
kyle-github added a commit that referenced this pull request Sep 3, 2024
* Make file number optional if input or output file.  Fix #481.

* Added fix for omitted data file number on I or O files. Added support for a numeric subelement.  Fix #479. (#483)

* Fix #486. (#487).   String size change problem.   Fixed with #488.

* Added atomic flag and checks to aid in making all sessions terminate when the library is shutting down. Fix #450.

* plc_tag_set_string() feature additions (#488).   Setting string can change tag data buffer size.  And added flag, allow_field_resize, to suppress change.

* Added msp response size check before adding new requests to msp with allow_packing=1 and fragmented reads disabled (#489)

* Support for Omron to use multi-request packets.

---------

Co-authored-by: Phil Smith <105802449+ptsOSL@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant