Is there a way to batch-update tag names for controls?

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
stm-tjt
Posts: 7
Joined: Wed Nov 07, 2018 6:08 am

Is there a way to batch-update tag names for controls?

Post by stm-tjt »

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.

User avatar
Russ C.
Posts: 213
Joined: Thu Nov 16, 2017 3:32 pm
Contact:

Re: Is there a way to batch-update tag names for controls?

Post by Russ C. »

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)
xaml_tags.png
xaml_tags.png (188.52 KiB) Viewed 5192 times
Best regards,

Russ
(801) 708-6690
Technical Support
Contact Us

Beijer Electronics AB
http://www.beijerelectronics.us

stm-tjt
Posts: 7
Joined: Wed Nov 07, 2018 6:08 am

Re: Is there a way to batch-update tag names for controls?

Post by stm-tjt »

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)
xaml_tags.png
Thank you Russ, that is very helpful.

Needless to say, I am now long past that particular task, but I will keep it in mind for next time.

Post Reply