libplctag / libplctag.NET

A .NET wrapper for libplctag.
https://libplctag.github.io/
Mozilla Public License 2.0
214 stars 53 forks source link

UDT with mixed read/write access #355

Open airwedge1 opened 10 months ago

airwedge1 commented 10 months ago

A new interesting issue arose. I have a UDT where some of the tags within it are tag access = Read/Write and some are tag access = None. The @udt special tag returns all of the fields regardless of access level.

I'm trying to determine in the @tags or @udt special tags which of the fields have access and which do not. I looked at and tried debugging UdtInfoPlcMapper but I could not find anything in there that seems to change when the access level is changed.

Any help would be appreciated.

kyle-github commented 10 months ago

Huh... Yeah, that is a problem. I think that there is an attribute that will tell us the protection on a field, but I am not sure. Let me reach out to the gurus who might know.

kyle-github commented 10 months ago

My guru contact is not responding. I will keep seeing if there is something I can query to find this out.

airwedge1 commented 10 months ago

Thanks for your time. Much appreciated.

[created with MySignature.io]https://kubicacorp.com/ Nicholas Walker Software Leader | Kubica mobile: 248.924.1507 website: Kubicacorp.comhttps://kubicacorp.com/ email: @.**@.>

From: Kyle Hayes @.> Sent: Wednesday, December 6, 2023 7:22 PM To: libplctag/libplctag.NET @.> Cc: Nick Walker @.>; Author @.> Subject: Re: [libplctag/libplctag.NET] UDT with mixed read/write access (Issue #355)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

My guru contact is not responding. I will keep seeing if there is something I can query to find this out.

— Reply to this email directly, view it on GitHubhttps://github.com/libplctag/libplctag.NET/issues/355#issuecomment-1843930637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKJPXBWO3BUA6DQCALNGIQLYIED4FAVCNFSM6AAAAAA7OINK7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTHEZTANRTG4. You are receiving this because you authored the thread.Message ID: @.**@.>>