libplctag.NET icon indicating copy to clipboard operation
libplctag.NET copied to clipboard

UDT with mixed read/write access

Open nw5428 opened this issue 2 years ago • 3 comments

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.

nw5428 avatar Nov 16 '23 14:11 nw5428

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 avatar Nov 16 '23 14:11 kyle-github

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

kyle-github avatar Dec 07 '23 00:12 kyle-github

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: @.@.>>

nw5428 avatar Dec 08 '23 21:12 nw5428