I have created UDTs for repetitive tag blocks in a Siemens S7 PLC. My hope was to parameterize the OPC mappings in my UDTs, but I am having trouble getting it to parse correctly. Here is an example of a opc path: nsu=http://www.siemens.com/simatic-s7-opcua;s=“Motor_CamAssy_Mtr11”.“DrvTemp”.
However, due to the double slashes in the http address, this is what the mapping looks like:
Whenever I try to pass in my machine name string parameter with the value Motor_CamAssy_Mtr11, I get an Error_Config. I’m not sure if the path just isn’t resolving correctly with the parameter or if there’s another way I need to format the path.
Ignition uses curly braces around parameters, not quotes. I’m not familiar with the Siemens OPC server, but I would not expect quotes to be in the final item path.