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.

Timeout during WriteMultipleItemValues

More
19 Jan 2025 08:08 #13344 by support
Hello.

Thanks for the info. I am slightly concerned about the fact you worded your response. You wrote "I do see some log entries when I apply the license but I don't see any log entries when this error happens". If there truly was a queue overflow (which is what I am trying to determine), the log entry for that would *not* be when the :Write not completed" error occurs. It would be somewhere before it (even a long time before it). So, it is necessary to have the whole record of all log entries to rule out the queue overflow. Please check it, or post it here or send to support09 (at) opclabs.com.

In case the queue overflow is not the cause, it can then be truly the case that the server has not reported the outcome of the "Write" operation in time. And yes, that may have to do with the fact it is Modbus - perhaps even the actual device had not responded at all (or not in time). I think the default timeout now is 20 seconds. You can either

1) Try to increase the timeout (I can give instructions on how to do that), or
2) Try to use OPC Analyzer to analyze the communication between QuickOPC (your app) and the Kepware server. That would tell us whether it is the Kepware server not returning the "write" result in time, or some issue on QuickOPC side. Again, I can give some instruction on this if you like.

Best regards

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

More
16 Jan 2025 22:03 #13343 by aris
Just to add more info. I am using EasyDAClient to communicate with Kepware opc server. I have two devices configured. Device1 uses "GE Ethernet" and device2 uses "Modbus". I never had this problem with device1. Could it be that Modbus is slower and Kepware sometimes can't process requests fast enough? Or does it not matter since these communications are between Kepware and the devices and do not affect the communication between EasyDAClient and Kepware?

Attachments:

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

More
16 Jan 2025 21:47 #13342 by aris
I subscribed to logs with
EasyDAClient.LogEntry += EasyDAClientOnLogEntry;
. I do see some log entries when I apply the license but I don't see any log entries when this error happens. Any suggestions what next steps I can take?

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

More
10 Dec 2024 09:10 #13311 by support

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

More
09 Dec 2024 20:31 #13310 by aris
I'm using "App_Web_OpcLabs.EasyOpcClassicRaw.x86" version 5.63.246.1.

Once in a while I get the following error when using WriteMultipleItemValues. What can do to resolve/debug and understand what's causing it. The message suggests to Check the event log for queue overflow errors, where are the logs?:
Write not completed. This error indicates that it could not be verified that the requested write operation was completed during the timeout period. It is possible that the write operation will actually succeed or fail, but later. Increase the timeout period if you want to obtain positive or negative indication of the operation outcome. Other reason for this error may be that under  heavy loads, topic request or response queue is overflowing. Check the event log for queue overflow errors (if event logging is supported by the product and enabled).
+ The client method called (or event/callback invoked) was 'WriteMultipleItemValues[4]'.

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

Moderators: support
Time to create page: 0.051 seconds