We are upgrading some Allen Bradley processors which will require switching from the legacy driver to the drive for the newer versions.
The company historically has created new windows/projects/devices. And then swapped it all, change all tag paths manually. then re launch new project.
It just seems like a really bad way. Also I fell like nothing changes but the processor. So why test? Why the need for a new device name and to update all the tags.
Wouldn't it be easier to just pop in the new processor then delete and create new device with updated driver but same name. Then everything should work as long as the connection takes.
Will not work. The legacy drivers have different syntax wherever there are arrays.
However, you should not have to redo all of the windows and templates. Just the OPC tags. Export it all, run through regular-expression-based search and replace, and import them back in. The tag names themselves can stay the same.
Thanks @pturmel , next question. Since I can't do this with production running.
Would it be best to setup a local gateway on host machine, make the changes and test, then when we put in the new one just upload the backup from the local host?
I would test on a complete separate network with a trial mode gateway (same version, same modules) and PLCs with new firmware.
Take a gateway backup from production,
Load into test environment,
Export all tags from test,
Search/replace OPC Item Path to new syntax on affected devices (note that you may be adjusting UDT parameters to get the desired item paths in some cases),
Change drivers (delete old driver, make new with same name),
Import updated tags (I would prune this to just the affected tags),
Restart the test gateway,
Validate.
Adjust for bugs. Repeat validation until all works.
Re-export affected tags.
Then, during a production outage, on the production gateway:
Change drivers (delete old driver, make new with same name),
Because then the gateway can connect to anything your workstation/laptop can connect to, and that is usually undesirable (especially if your laptop normally can reach the production LAN).