12-08-2022 09:44 AM
Hello,
I have one question, I am creating a peripheral object, when I click export button, a window is popped up with error message, I do not understand what the meaning is. need help. thank you
Solved! Go to Solution.
12-08-2022 11:02 AM - edited 12-08-2022 11:08 AM
When you get the error
System.IO.IOException: The process cannot access the file 'C:\TwinCAT\3.1\Components\Plc\Managed Libraries\cache' because it is being used by another process.
just click OK and export again until export finishes without this error.
It is a kind of timing error when the export installs libraries and TwinCAT is updating the library cache.
If you are using NexeedEcStaubliCS9uniValPlc, updating your project to TwinCAT 3.1.4022.32 will solve the problem (because with TC <4022.32 the library is installed during every export although it exists already).
12-08-2022 12:28 PM
My experience shows that the problem occurs mainly when you have several TwinCat projects open.
So just close all the other projects except for the current one you are working on.
12-12-2022 03:08 AM
thank you