Hi,
The tags in our iX projects are prefixed with the PLC name, e.g. "S1". We recycle a lot of our iX programs, but often the tags will have to be renamed or re-imported.
Is it possible to batch-replace e.g. "S1_" with "S2_" in the tag names used in panel controls, like numerical fields, buttons etc., instead of doing so manually?
Tag and alarm lists can easily be updated in Excel with search and replace, but there is a lot of manual work in updating the tag of every control object.
Is there a way to batch-update tag names for controls?
Re: Is there a way to batch-update tag names for controls?
If you're just updating a tag name from Tags.S1_<tagname> to Tags.S2_<tagname> on each screen, you can do a search and replace in the XAML page on each screen.
Its not as ideal as an import, but it a bit easier than clicking each object on each screen. (See below for the example of an XAML page)
Its not as ideal as an import, but it a bit easier than clicking each object on each screen. (See below for the example of an XAML page)
Best regards,
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Re: Is there a way to batch-update tag names for controls?
Thank you Russ, that is very helpful.Russ C. wrote:If you're just updating a tag name from Tags.S1_<tagname> to Tags.S2_<tagname> on each screen, you can do a search and replace in the XAML page on each screen.
Its not as ideal as an import, but it a bit easier than clicking each object on each screen. (See below for the example of an XAML page)
Needless to say, I am now long past that particular task, but I will keep it in mind for next time.