Professional OPC
Development Tools

logos

My OPC Client can connect to server but can not select item

More
21 Feb 2016 10:44 #3868 by support
Thank you.

I have checked the code history, and the additional protection against some server problems which I described is not present in version 5.31. Can you please download and try out the current version (5.35?). You do not have to rebuild your project or test it with it - it would be sufficient just to start the Demo application that comes with version 5.35, point it to the target server, and then try the item browsing from within the demo app.

Here is what the possibilities are:
1. A bug in the server, mitigated in version 5.35. Note that even if the additional "sanity checks" we have added help to prevent the infinite loop, the results returned from browsing may still be incorrect (incomplete).
2. A bug in the server, but not mitigated in version 5.35.
3. A bug in the client.

We may have to deploy the OPC Analyzer in the next step anyway, in order to figure out how the actual communication looks like.

Best regards

Please Log in or Create an account to join the conversation.

More
21 Feb 2016 03:42 #3867 by mikeboiko
Hi,

Ok, it's good that I checked with you before I started going down a different path.

1) I am using QuickOPC 5.31.1424.1
2) I only tried clicking on several of the controllers (nodes), but they all froze up consistently.

Thanks,
Mike

Please Log in or Create an account to join the conversation.

More
19 Feb 2016 07:33 #3862 by support
Hi.

It is actually unlikely that the issue is related to DCOM, because from the screenshot you sent, it is apparent that other parts of the address space can be browsed successfully, and DCOM is not concerned about the actual details of the OPC calls.

Unfortunately there are several ways to do the browsing: It major version of OPC-DA specification (1.0, 2.0, and 3.0) has made significant changes. And servers may implement multiple specs, and it then depends on the client which one it picks up. Consequently, if there is a problem in one of the implementations and not the other, and the clients pick a different one, the clients may behave differently for the same server - and it does not have to be a "fault" of the client.

QuickOPC prefers the highest version available (3.0 if it is there), but many clients out there have support up to 2.0 only. In the past, we have met a server that had a bug in the 3.0 interface which caused the client to loop indefinitely, and the symptoms were similar to what you have described. We have added a special treatment for that server (not Yokogawa), and some sanity check in attempt to prevent that from happening, although the check cannot be done with 100% reliability.

My first question is therefore, which precise version and build of QuickOPC are you using? I am trying to determine whether this additional check is present on not.

My second question is: Is the behavior deterministic? I.e. is it so that each named node either always works fine, or always shows the problem. Or does the problem "shift" randomly between nodes?

Thank you, and best regards

Please Log in or Create an account to join the conversation.

More
18 Feb 2016 23:09 #3861 by mikeboiko
Hi,

I am trying to connect to a Yokogawa ExaOPC server with my client but I'm having some issues with selecting items. I am using a combined machine, server and item browser dialogue. I am able to select ExaOPC and then I get a list of controllers on that server. When I try to expand a controller (FCS0316) in order to see all the items listed, the program just keeps loading indefinitely and nothing happens. See attached screenshot.

I think it may be a security setting issue. I have basically made all the DCOM security settings as relaxed as possible on the server machine and the machine my client is installed on. I was able to read/write the items on ExaOPC using the Kepware OPC Client and a Yokogawa OPC Client. It seems that this problem only occurs with my client.

Do you have any tips that might help me with this problem?

Thanks a lot,
Mike
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.163 seconds

      

 Recommend this on Google