Skip to content

Add ConnectionGroupId attribute to Tag class - #479

Open
jgorea wants to merge 1 commit into
libplctag:mainfrom
jgorea:connection_group_id
Open

Add ConnectionGroupId attribute to Tag class#479
jgorea wants to merge 1 commit into
libplctag:mainfrom
jgorea:connection_group_id

Conversation

@jgorea

@jgorea jgorea commented Sep 6, 2026

Copy link
Copy Markdown

libplctag core added the connection_group_id tag attribute (see libplctag#312) to allow a process to open multiple independent connections/sessions to the same PLC. This attribute was not yet exposed by the high-level Tag class.

This adds a nullable ConnectionGroupId property, following the same GetField/SetField pattern used by the other simple integer attributes (e.g. ElementCount), and wires it into the generated attribute string as connection_group_id.

…ctag/libplctag#312) to allow a process to open multiple independent connections/sessions to the same PLC. This attribute was not yet exposed by the high-level Tag class.

This adds a nullable ConnectionGroupId property, following the same GetField/SetField pattern used by the other simple integer attributes (e.g. ElementCount), and wires it into the generated attribute string as connection_group_id.
@timyhac

timyhac commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Wow, didn't know about this - thanks. Are you able to raise a documentation bug on the libplctag repo so that it is documented there, then copy the explanation from the official repo in the xmldocs here.

@jgorea

jgorea commented Sep 7, 2026

Copy link
Copy Markdown
Author

Just raised this documentation bug: libplctag/libplctag#668

@timyhac

timyhac commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

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.

2 participants