libplctag / libplctag.NET

A .NET wrapper for libplctag.

Home Page:https://libplctag.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UDT with mixed read/write access

airwedge1 opened this issue · 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.

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.

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