UTL0001 Error: Propagates through unrelated projects
I have been experience the UTL0001 Error in both old and new projects. Existing projects that historically would build now exhibit this error.
There is limited documentation that I can find on this error message and the internal documentation of PLCNext Engineer does not seem to exist.
I have read a few other posts that talk about HMI tag issues and others that talk about library incompatibility but I have projects that have no HMI at all and that have libraries that have all worked historically now throwing this error.
Any recommendation on how to get to the bottom of this would be greatly appreciated.
Comments
I have no experience with this error. However I have seen that PLCNext Egineer has some kind of memory that produce problems. Stefan suggest to erase the binaries files on Document>PLCNext Egineer> Binaries. If you have an error and it propagates to other files it looks that PLCNext store some data that could be the origin of the problem. You can test. I never have this kind of problems with other PLC ´s software.
I am very sorry I test the solution Stefan suggest me to erase the files on the binaries directory and It does not work. I am sure that Phoenix Contact has a problem with the PLCNext egineer software. I erase some function blocks and the compiler continue to detect them. The function blocks I introduce was safety blocks. I erase them and the compiler continue to detect them
@VictorRuiz The files located in the binaries folder are not 'some kind of memory'. What you see there is the compile result of each project in separate sub folder. They are also re-created when executing Project->Rebuild. Since every project has it's own files it there is no back and forth between different projects.
Regarding your second problem of deleting Function Blocks... please make sure you delete the FB call in the code worksheet AND the function block variable in the variable worksheet.
@mayplewell I'd suggest you should perform a repair installation. If that does not do the trick you can try to delete the folder C:\Users\<YourWindowsUserName>\AppData\Roaming\PHOENIX CONTACT\PLCnext Engineer\<VersionNumber>
This basically reset the application settings to default.
BR
DivisionByZero
For future reference, I just had this error on my project. It seems to come out of nowhere and does not necessarily have a reason to suddenly come up. Maybe my solution will help you as well.
I archived the project with plcnext engineer and created a new folder to open the project in. This fixed my issue (UTL0001 Internal error). I also made sure the new folder was not in any way synced to a cloud like onedrive, etc. but I don't know if this influenced it. Archiving and unarchiving alone seems to do the job.