justin lutz
Member
Hello,
I am working on a project where we are migrating from PLC-5 to ControlLogix. I have used Project Migrator in an attempt to expedite the migration. The first time I tried this utility, I did not select the option for converting symbols to alias tags. The tag descriptions came over no problem, but we are still left with a program full of "tags" that use RSLogix 5 memory registers. The second time I tried this, I did select the option for converting symbols to alias tags. The symbols from RSLogix 5 came in as the actual tag name, however the issue here is that since RSLogix 5 has a 20 character limit, many of the descriptions used were highly truncated.
In either of these two scenarios, I am looking for a way to perform a mass modification of the tag names in Studio 5000. I tried performing an export of the tags and logic to a CSV file and pasted my new tags in over the old tags. After importing the CSV back into Studio 5000, I quickly found that instead of overwriting the old tags with the new, it kept the old tags and added the new tags, essentially doubling my tag count. I have since tried countless scenarios of trying to achieve this mass modification, with no success.
I have read on one of the threads here that it may be possible to export to an L5K file and then to perform find/replace on the tags in Notepad, but I am dealing with 3 PLCs with roughly 1,000 tags per PLC. Individual find/replace will not be efficient. Also, I did give this method a try and manually modified one tag in Notepad. When importing the modified L5K file, I received an error regarding a missing end delimiter on the row that I modified. I was careful to replace only the text I needed to and I compared the modified L5K file against a known working one and could not spot any difference. Based on this experience, I do not feel this will be a reliable method for achieving what I need, but perhaps I am missing something.
Has anyone else had success in doing this or is anyone aware of any other ways to accomplish what I am trying to do? I have searched the RA Knowledgebase and forums, but to no avail. I've burned a fair amount of time trying different things and could use a shove in the right direction (if there is one).
Thank you,
Justin
I am working on a project where we are migrating from PLC-5 to ControlLogix. I have used Project Migrator in an attempt to expedite the migration. The first time I tried this utility, I did not select the option for converting symbols to alias tags. The tag descriptions came over no problem, but we are still left with a program full of "tags" that use RSLogix 5 memory registers. The second time I tried this, I did select the option for converting symbols to alias tags. The symbols from RSLogix 5 came in as the actual tag name, however the issue here is that since RSLogix 5 has a 20 character limit, many of the descriptions used were highly truncated.
In either of these two scenarios, I am looking for a way to perform a mass modification of the tag names in Studio 5000. I tried performing an export of the tags and logic to a CSV file and pasted my new tags in over the old tags. After importing the CSV back into Studio 5000, I quickly found that instead of overwriting the old tags with the new, it kept the old tags and added the new tags, essentially doubling my tag count. I have since tried countless scenarios of trying to achieve this mass modification, with no success.
I have read on one of the threads here that it may be possible to export to an L5K file and then to perform find/replace on the tags in Notepad, but I am dealing with 3 PLCs with roughly 1,000 tags per PLC. Individual find/replace will not be efficient. Also, I did give this method a try and manually modified one tag in Notepad. When importing the modified L5K file, I received an error regarding a missing end delimiter on the row that I modified. I was careful to replace only the text I needed to and I compared the modified L5K file against a known working one and could not spot any difference. Based on this experience, I do not feel this will be a reliable method for achieving what I need, but perhaps I am missing something.
Has anyone else had success in doing this or is anyone aware of any other ways to accomplish what I am trying to do? I have searched the RA Knowledgebase and forums, but to no avail. I've burned a fair amount of time trying different things and could use a shove in the right direction (if there is one).
Thank you,
Justin