Best Way to Copy Parameter Values to OPC?

I would suggest changing your code there to run a single readBlocking() call with a list all the tags, then single writeBlocking() call with a list of all the tags, it will be far more scalable on the server resources end.

1 Like

Thank you! I'll do that!

If you have auditing turned on, those tag writes will fill it up.

If you don't need it to constantly be setting the values and only set on change, I would be adding value change scripts to your ref tags, and on change writing it's value to the relevant opc tag. This will only run when the value actually changes, not periodically.

Otherwise, if you have auditing on and you do want to run this script without inserting records for each write, create a new project with auditing turned off, and run it in there