Hi, this could also be a UAC / Permission issues, since the communication dll is trying to extract an xml file.
You could make the dll not extract the dll, and use it in RAM, by:
PLCFactory.WorkWithXmlInternally = true;
(Do this just once, when the application starts).
Tell me if it helps. If not, when you can debug the code (the exception you see hides the actual error. I don't know if it fails dues to timeout or some other issues).
Cannot communicate with the PLC with the specified UnitID!
in .NET driver
Posted
I have this problem.
i show that my problem is a timeout.
In this case what i do?
thanks