The Plc Kid
Member
How can I Replace a Tag that has 20 Instances in multiple ladders with a new tag without doing it in a manual way.
Is there a replace feature.
Is there a replace feature.
I change tag names for multiple reasons. Mostly typo's or from hitting enter key to quick before change tag type. If I make a tag type error ie: DINT to STRING. I'll add a 1 to end of my tag name. It will change thru out program to tagname1. Then I will go to tag database and delete the original tagname and remake it with the correct tag type.
Once I have done that then go to tagname1 in program and remove the 1.
Then of course delete tagname1.
.....
Yes, it's a workable solution, but the effort involved depends on how many instances of the old tag there are to replace in the code. I just wonder how and why this situation can occur on a system that is already deployed in service, and has gone through testing, simulation, and customer acceptance ?