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.
- Forum
- Discussions
- QuickOPC-Classic in COM
- Reading, Writing, Subscriptions, Property Access
- error from server when writing
error from server when writing
The two operations certainly aren't the same.
In the WireShark capture taken with QuickOPC, you are writing an array of 33 Booleans.
In the WireShark capture taken with UAExpert (packet 421), you are writing a single Boolean.
Also, contrary to your claim, the NodeId is different. With QuickOPC, it was "ns=3; i=3911". With UAExpert, it was "ns=3; i=3861".
Regards
Please Log in or Create an account to join the conversation.
unfortunatley the server vendor doesn't support me at all, he says the problem doesn't exist with UaExpert.
I attach the report of the WriteRequest with UaExpert (same server, same data, same node), everything seems to work fine. This is my last attempt then I will quit the job.
Thank you, for your support.
Attachments:
Please Log in or Create an account to join the conversation.
It can be seen that right after the WriteRequest (packet 223), the server abruptly closes the TCP connection (packet 225).
I do not see anything wrong with the WriteRequest, and even if it were wrong, the server should not react in this way.
To me, this looks like a server bug, until proven otherwise. Send this analysis to the server vendor and ask them to fix it.
We can also ponder about why another client had worked, and try to find the differences and a possible workaround. If you want to pursue this way, send me the WireShark capture of the same operation (same node, same data, ...) from that other client.
Best regards
Attachments:
Please Log in or Create an account to join the conversation.
OpcUA Server: 172.16.108.33
PC: 172.16.108.13
Filter: ip.addr==172.16.108.33
Could it be a security policy issue?
Thank you
Attachments:
Please Log in or Create an account to join the conversation.
The page link I have provided (kb.opclabs.com/Collecting_information_for_troubleshooting ) contained two more links with WireShark instructions:
- opcconnect.opcfoundation.org/2017/02/analyzing-opc-ua-communications-with-wireshark/
- www.prosysopc.com/blog/opc-ua-wireshark/
You can post the data here (zipped, if it's too long).
Thank you
Please Log in or Create an account to join the conversation.
ulix86 wrote: Yes, I'm able to write with UaExpert without any problem.
Today I talked to the manufacturer of the machine and he told me that other software-houses have also managed to write to the server without problems.
I tried to install and configure Wireshark but I don't understand how it works, I see only lan connection in the main page...
Thank you
I was able to export the wireshark report of the writing procedure. Can I attach it here?
Please Log in or Create an account to join the conversation.
Today I talked to the manufacturer of the machine and he told me that other software-houses have also managed to write to the server without problems.
I tried to install and configure Wireshark but I don't understand how it works, I see only lan connection in the main page...
Thank you
Please Log in or Create an account to join the conversation.
One more question, are you able to write the same using some other client? (such as UAExpert?)
If so, I tend to say that for whatever reason, the server disconnects upon the Write request. It is difficult to tell more without knowing the actual communication. Would you be able and willing to capture the communication using Wireshark? (ideally also with another client that works).
kb.opclabs.com/Collecting_information_for_troubleshooting
Regards
Please Log in or Create an account to join the conversation.
2. Yes, I can read the value without errors but I cannot write it.
3. With UaExpert the datatype is Default Binary - UInt32 Array[-1] (OneOrMoreDimensions)
but the same error happens with a Boolean Value.
Thank you
Please Log in or Create an account to join the conversation.
can you give some more information?
1. With this particular operation, does it happen always, often, or rarely?
2. Are you able to do other operations (such as reading, or writing to other items) on the same server (using QuickOPC?)
3. What data type are you attempting to write?
Thank you
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-Classic in COM
- Reading, Writing, Subscriptions, Property Access
- error from server when writing