Partially edit the "OPC Item Path" for multiple tags at the same time

Is there a quick way to partially edit the “OPC Item Path” for multiple tags at the same time?

We have multiple similar machines, for some tag properties, such as, “OPC Server” or “Scan class” you select multiple tags, open the Tag Editor, select the new property and hit OK and Done, all tags are updated with the new setting.

However if you want to only partially edit a property, in our case the “OPC Item Path” we need to do it manually one by one, for example a tag has this path “ns=1;s=[DeviceName]PLC_Tag_Address”, is there a way to replace only the “DeviceName” for multiple tags at the same time.

Thanks and Regards,

Export the tags to XML,
Open XML in Notepad etc…
Find/Replace
Import back in

Very quick, I do this when moving from a test bench using Rslinx OPC DA (due to using an emulator) to production setup using the Ignition OPC UA

3 Likes

I will try that, I assume when importing the XML file, the tags will be overwritten instead of duplicated?

Yeh they will be overwritten unless you change the tags name.

2 Likes

Yeh they will be overwritten unless you change the tags name.

It worked like as desired. For some things, I’ve been using the export/import functions, but using CSV files to be able to easily edit PLC addresses in excel, but doing it this way you loose part of the tag configuration. I knew there was the XML option, but never explored that much, for some reason my brain don’t like editing XML files in a text editor.

Thank you!