I'm trying to nest several layers of UDTs and struggling to use the pre-defined parameters to make that happen. Trying to understand if I'm overthinking this or if it's not possible without creating my own parameters. An example would be pump -> vfd_starter->D2SD, with each of those being a UDT.
The D2SD UDT OPC Item Path would like something like ns=1;s=[{PLC_Name}]{InstanceName}.{TagName}
, PLC_Name being the only custom parameter.
But then once I nest it within vfd_starter this Item Path no longer works. It would need to be something like ns=1;s=[{PLC_Name}]{ParentInstanceName}.{InstanceName}.{TagName}
.
And so on and so forth, ns=1;s=[{PLC_Name}]{RootInstanceName}.{ParentInstanceName}.{InstanceName}.{TagName}
.
Is there a way to easily nest hypothetically as many layers deep as you'd like while utilizing the pre-defined parameters? Or a parameter that provides the entire tag structure up to the UDT instance you are operating within?
Thanks,
Andrew