Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Connection Problem

More
01 Aug 2018 10:21 #6567 by support
Replied by support on topic Connection Problem
I do not know why Kepware client works. There are, however, some differences that are clear from the logs:

1) for some reason, you seem to be creating two connections at the same, and
2) (this is by design) QuickOPC creates an internal subscription (on each session) for checking the server status, besides the one subscription your code creates.

So, in total, if you count the effects of the two things above, there are 4 (2*2) subscriptions where it can be probably just one. That should still work, however. As to #2 (the status subscription), that can be turned off by a parameter in QuickOPC.

Changing timeouts etc. makes little sense. There is already enough "extra" time space to allow for normal variations in performance.

Regards

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

More
01 Aug 2018 09:48 #6566 by alr1976
Replied by alr1976 on topic Connection Problem
Ok can i add some timeouts?
Why kepware client works?

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

More
01 Aug 2018 09:06 #6565 by support
Replied by support on topic Connection Problem
According to the log, the server has not sent a Publish response in time.

3002 0 4 01/08/2018 09:54:05 The OPC-UA subscription on client session with connect sequence number 1 to endpoint URL "opc.tcp://172.16.7.200:49320/" has been successfully created and checked, and given subscription ID 648. Revised publishing interval is 500, keep-alive count is 20 and lifetime count is 5000.
3021 0 2 01/08/2018 09:54:35 The OPC-UA subscription ID 648 publishing has stopped on the client session with connect sequence number 1 to endpoint URL "opc.tcp://172.16.7.200:49320/" for approximate current duration of 19953 milliseconds. The current keep-alive count is 20, the current publishing interval is 500 milliseconds, and the probationary period will be 5000 milliseconds. Further such errors on this session will not be logged.
3023 0 2 01/08/2018 09:54:40 The OPC-UA subscription ID 648 publishing has halted on the client session with connect sequence number 1 to endpoint URL "opc.tcp://172.16.7.200:49320/" for approximate current duration of 24965 milliseconds. The current keep-alive count is 20, the current publishing interval is 500 milliseconds, and the probationary period was 5000 milliseconds. Further such errors on this session will not be logged.

Regards

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

More
01 Aug 2018 08:29 #6564 by alr1976
Connection Problem was created by alr1976
Hi!

I try to connect to opc ua remotely but never connect.(With quickopc and Delphi) I have tried with Kepware opc ua client driver and I can connect with opc ua.(So with Kepware works and with quickopc doesn t works) I have attached Debug log.
Attachments:

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

Moderators: support
Time to create page: 0.048 seconds