UDT parameterization using Custom Properties

Hello All,

I am wondering if there is a way to incorporate custom properties in the parameterized fields of a UDT?

The only available bindings are parameters that are specific for the UDT itself. I am trying to make the OPC Item path dynamic using a custom property called "Address". This is basically the offset within a Siemens data block of DINTs.

Thank you for looking

No. Make another UDT parameter for such things.

I figured, however that would not work for me as I need this value to be unique in each tag's path...

I my case the value increments by 4 for each tag.

Thank you for the quick response!

You can create another UDT with just an integer that has that parameter. Then, just nest those inside your original UDT

I am sorry, I don't follow... Can you explain?

You already show a parameter for {Offset} with arithmetic. Simply adjust that arithmetic for the various member tags.

That's what I wanted to automate. I have 400 to adjust manually

Seems a bit odd for a UDT to have so many member tags. Are you going to have multiple instances of this UDT, each with many member tags?

(You may want to export as JSON, replicate there, and re-import the UDT.)