Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

I can write to an OPC server but not read - by: mikeboiko

$
0
0
Hi,

I'm not able to perform read/write operations to a Yokogawa ExaOPC.

I downloaded the latest QuickOPC library (2019.1) for this test. Then, I opened EasyOpcNetDemo.exe to perform a test on FCS0317!202PC01093B.MV
- I am able to retrieve the value property (2) without issues. When I clicked "Get property value", I got: 14.95476
- I am not able to read properly, when I clicked "Read Item", I got the following error after waiting for approximately for 30s "Read not completed. This error indicates that it could not be verified that the requested read operation was completed during the timeout period. It is possible that the read 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)."
- I am somewhat able to write, but with an error. When I clicked "Write item value" and put a value of 20, the OPC server changed to 20 as expected, but I got the following error after approximately 30s: "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)."
- When I clicked on "Get property value" again, I got: 20

During some read operations, I would simply get the "Access is denied." error.

I'm pretty sure that it's not a DCOM permissions problem either because I was able to successfully perform the exact same read/write operations with the Matrikon Explorer and Kepware OPC clients.

Please let me know if the QuickOPC library can be patched somehow to rectify this issue.

Thank you!
Mike

Viewing all articles
Browse latest Browse all 1794