PM583-ETH OPC shut down problem
I am working on PM583-ETH plc, and developing c# program to communicate the plc through opc. The program is working mostly, but sometimes the opc suddenly shuts down, the quality of tags become bad from good. When this happens, I exit the gateway and restart the plc couple of times and the opc suddenly starts to run and tags' quality become good. Do you know what may cause this issue? Why does the opc shuts down suddenly? If anyone has any idea, I would be glad of hearing it. I need help.
Thank you very much,
But you should not have to restart the PLC because the OPC server failed. It sounds like something quite serious is going wrong.
> "and developing c# program to communicate the plc through opc."
No you're not. You're developing a program to communicate to the OPC server. Yes this is obvious, but it is important to be clear that your C# program is supposed to be isolated from the PLC by the OPC server. The OPC server is entirely responsible for communicating to the PLC.
> "restart the plc couple of times and the opc suddenly starts to run"
So you don't restart the OPC server - instead you reboot the PLC ? In this case it sounds like the OPC server is fine and you've crashed the PLC. Are you requesting too much data too quickly from the server ?
> "Why does the opc shuts down suddenly?" If the PLC has crashed then the OPC server cant get any good data from it. So obviously all the tags will go bad.
Are there any error messages ? Windows logs ? PLC logs etc ?