Studo 5000 V32 - Rename AOI - Error Already Exists

theColonel26

Lifetime Supporting Member
Join Date
Feb 2014
Location
West Michigan
Posts
782
I am trying to rename an AOI Definition and I keep getting the Error "Failed to Modify the instruction. Already Exists"

But there isn't another datatype/instruction with the name I am trying to change it too.

I even tried assigning it a name of random letters and it still does it.

I have tried renaming other AOIs and they work fine.

2020-11-04 13-39-27 CL-CTRLS-VM-ROC.png
 
Do you have a tag by that name? I think (Unsure ATM) that AOIs, UDTS, Tags, cannot share the same name. Its got to be unique.

Just tested that

I was able to create tags with the same names as UDT's & AOI's.

I was able to create an AOI and a UDT named the same as existing tags, BUT:

I could not create a UDT or AOI named the same as an existing AOI or UDT - that faulted.

However, the line "I even tried assigning it a name of random letters and it still does it." seems to me to indicate the AOI is locked in the properties or something (Like a Windows "File in use" error that won't go away until a CHKDSK is performed.)
 
sorry for the late reply. took me a while to get back to this project.

So what I did was I exported the AOI type then reimported it, in the import config I changed the name to what I wanted it to be. Then I went and changed the references to that type to the new type name.

I could then delete the only one. ONLY Now I can't rename it again. I don't need to because it has the right name now but it is really strange.
 
Oh I just figured it out.

Apparently if you use an AOI inside another AOI it gives you this error. I was using this AOI in side another one. :doh2:I hate AB
 

Similar Topics

Hi everyone, I have an issue with installation of Studio 5000 33.00.02 DVD Media disc 2 with View Designer on Windows 11. After installation...
Replies
0
Views
23
I am completely stuck on building a ladder program that requires a start button to be pressed 3 times to turn on motor 1. Then motor 2 starts...
Replies
20
Views
493
Anyone have problems/solutions with Rehosting Studio 5000 to a new computer. Our IT department successfully Rehosted 2 laptops, but the other 2...
Replies
1
Views
103
Hi, I'm quite new to Rockwell PLC and currently trying to implement the following if Sw1 then for i:=1 to 20 by 1 do xEnable := 1...
Replies
4
Views
123
Back
Top Bottom