Skip to Content
0

OPC Connection error with PCO

Nov 17, 2016 at 01:13 PM

146

avatar image

Hi all,

We have the following setup:

SAP MII --> SAP PCO --> Kepware OPC Server

Communication between the last two systems is done through COM settings. We have 1 agent instance in PCO for reading and writing tag values.

At first everything is working fine.

After some hours or a few days, the communication stops working. The agent instance is still running (green) so there is no issue with the service itself. When we try to send information from MII to OPC we see errors in the error log. So these errors are only there at runtime.

After I restart the agent instance, the communication is working again (for a while).

I have a full verbose log attached of sending some information to OPC. The leading error I think seems to be :

COMException: The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED)

Any help is greatly appreciated.

SAP PCO version: 15.0.5.2522

SAP MII version: 15.0 SP6 Patch 0

Thanks,

Philippe

opcissue.txt (308.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Kuntal Sarkar Dec 02, 2016 at 10:31 AM
0

Hi Philip,

It seems the Remote Procedure Call on your server is failing to run.

you can refer this tech note by microsoft https://support.microsoft.com/en-us/kb/293631

Aso you can have an diagonstic done on your server using any tool like OPCExpert to veryfy all DCOM settings are fine.

Regards,

Kuntal.

Share
10 |10000 characters needed characters left characters exceeded
Abhijeet Naste Jan 05, 2017 at 10:13 AM
0

Hi,

Please check the PCO process agent memory in task manager i.e. agentname.exe kind of process running when you restart the agent and when you start facing the issue. See it its getting increased from 30-70 MB to almost ~700 MB. If that's the case then need to check tags passed are all valid or not and various other things to minimize the memory utilization.

Regards,

Abhijeet

Share
10 |10000 characters needed characters left characters exceeded