Bulk Edit PLC Tag Values

I have a campus with multiple buildings. Each building is identical and hosts their own Ignition server. I need to periodically edit groups of 30-50 tags such as setpoints per building. What is the best way to go about this? Ideally, I would like to have the freedom of something like Excel where I can quickly manipulate the tag names and values and import this to each server.

I'd just do it in excel. Build a template with all your tags w/ tagpaths & values and then make a VBA macro that formats into json strings. Copy that into the script console and then have a generic script that does the write and you just drop your json strings in as a payload and it writes it.

That's how I do my UDT creation and set all my parameters, easier to maintain everything in excel.

You can easily do what you’re suggesting via scripting.
Every tag property/value has an associated tag path.
Build a list of tag paths and a list of tag values and use system.tag.writeBlocking
If that doesn’t capture all the changes you need then system.tag.getConfiguration and system.tag.configure can do more.

My preference is to keep Ignition in Ignition; Excel :face_vomiting:

1 Like

If you can narrow down a way to search for the tags you need to modify, the Tag Report Tool allows you to bulk edit properties on multiple tags to a single value.

It can also allow you to copy a script that will let you return the same query where you can write a script to add values to properties should they not all have the same value but an easily calculated value.

2 Likes