Curious if there is any way to make tag security within a UDT utilize an instance parameter? When you click read and write permissions, dialogs open up allowing you to select role and security zone. Can I bind these to instance parameters instead?
The Read/Write permissions can’t be made dynamic in the way you desire. They utilize the Gateway’s Security Levels and have to be statically set.
They can be overwritten via scripting with the system.tag.configure() function, but that is much harder to manage than an internal UDT binding. It is not something I would recommend doing unless the use-case is very simple such as swapping the write permissions from a day shift to a night shift role.
Will this ever be an option in a future release? Setting tag security dynamically in a UDT would be extremely helpful.
We utilize alarm an Alarm UDT that is used across multiple pieces of equipment and being able to add indirection to the write permissions of tag security would allow it to be more widely used.
We have roles like Machine1_Right_Access, Machine2_Write_Access so we would need to be able to use something like {Machine}_Write_Access in the UDT tag security and then fill out the {Machine} parameter in the UDT instance.