UDT OPC ItemPath indirect Binding using Tag instead of Parameter


I am trying do an indirect binding of the OPCItemPath of a OPC Tag inside a UDT, I can successfuly bind regular UDT parameters, but I havent been able to add an indirect bind of an internal tag in the mix.

Inside the same UDT there is an expression tag that gets populated with the correct data. All parameters get replaced correctly, except the tag.

Any ideas of what I may be doing wrong?

It simply is not supported for property bindings in tags. Expression tags have full access to other tags. Tag properties are not expression tags themselves.

If you must, use a script on the peer tag that writes an override to the OPC Item Path of the target tag.

1 Like

Oops, for some reason I was in the idea that I've seen that somewhere.

Is there a way to programmatically (script or expression tag) override parameters of a UDT tag?

For most, just write to the property. For some, use system.tag.configure.

1 Like

Thank you! @pturmel for the quick responses!

For now, I will create a new UDT Parameter that will be automatically get overwritten by the internal expression tag, seems to be working on my dev environment.