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

16 vues (au cours des 30 derniers jours)
Aschmann
Aschmann le 13 Août 2019
Commenté : Srijith Vijay le 27 Fév 2024
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 commentaires
Jonas Hillenbrand
Jonas Hillenbrand le 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 le 27 Fév 2024
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.

Connectez-vous pour commenter.

Réponses (1)

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

Tags

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by