Peripheral object creation issue

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

Perihperal_error.png
117.08KB
Best reply by SteffenR-

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).

View original
3 replies
Resolved