Set OPC tag OPC server property value from another UDT Tag output value

Hi All
I am new to ignition and trying to implement a project, where I have the requirement to connect to different OPC servers for Development, Testing, and production environments. therefore, I have created a UDT tag that will tell me if it's a development or Test or Production environment and the value of the server i.e., server name. I would like to feed this server name to the Original OPC tag (another UDT tag) "OPC server" property field. Is it even possible? Can you experts guide us? below are the details. is there any better approach?

Thank you.

You cannot bind tag properties to follow something dynamically. You can monitor the dynamic item with a change script and write to the target tag's property. Or, if using UDTs where you've parameterized the OPC server property for the OPC tags within the UDT, you can write to the UDT instance's parameter (to change all of the tags in the UDT from one spot).

Hint: UDTs will make your life easier.

2 Likes

Thank you for your assistance and sorry for the late reply.