The Matlab OPC UA Client does not connect to the OPC UA Server (OPC CoDeSys V3)

13 views (last 30 days)
Why the client doesn't connect to the server.? I thought I did everything according to the instructions in the help. Who has an idea?
MatlabOPC.JPG
  2 Comments
Jonas Hillenbrand
Jonas Hillenbrand on 11 Mar 2020
Same problem here:
I'm running a raspberry Pi with Codesys Image and the OPC UA Server on the Pi is correctly configured and can be reached and browsed with UA Expert.
But the OPC UA Client from MATLAB fails to connect to server!
Any help would be appreciated...
Greetings
Jonas
Srijith Vijay
Srijith Vijay on 27 Feb 2024 at 8:40
Hi Aschmann, Jonas,
Which MATLAB version are you using? This issue could be happening due to the server taking more time to respond to the connection request. I'd suggest logging the OPC UA packets using an application like Wireshark to see if/what the OPC UA server returns in response to the connection request. This could help root cause the issue.

Sign in to comment.

Answers (1)

Srinivasarao Kamala
Srinivasarao Kamala on 1 Mar 2021
Hi,
Try to make your connection "Trust" in OPC UA aerver. Then it will work.

Tags

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!