Components of Protected datatypes should be visible in PPA?
I have created protected datatypes in my library and they are restricted from being viewed or edited from Control Builder but they are visible from PPA.
From user point of view even if there is a protected datatype in CB, I can still do the component connection in my code by entering the components manually (component names as seen from Object Type Structure in PPA).
And if viewing is allowed in PPA why not make the editor in control builder read only instead of restricting it?
am confused if the requirement of Protected data type is met or not.
Voted best answer
I think you need to make use of the "Hidden" property attribute to make it invisible for the HMI. Protected datatype prevents manipulation in CBM, not viewing them in Plant Explorer.
In fact; it is recommended to not expose more OPC properties than really required; some components like Multisystem Integration sometimes spends an almost infinite amount of resources to bring "all to the subscriber" but he is only interested in a few.
Current senario: A message is displayed saying "The Protected datatype cannot be edited". The editor does not open for viewing the componets. So I follow the above mentioned work around procedure to perform component connection in my code.
As an Engineer: If Protected attribute is only meant for preventing manupulation of datatype not from using it in my code, then the datatype editor should open in read only mode which is not the case.
Wouldn't it be better if editor opens for protected data types in "Read Only" mode?