Simulink and an OPC-UA server

7 vues (au cours des 30 derniers jours)
Vasily Karpenko
Vasily Karpenko le 15 Juin 2017
Modifié(e) : Shubham le 18 Avr 2024
Is it possible from Simulink to connect to an OPC-UA server? And what are correct settings in the 'OPC Client Manager->OPC Server Properties' if an URL of the OPC-UA is 'opc.tcp://192.168.100.102:12686/server': 1) Host - ? 2) Server - ?
I could connect/write to an OPC-UA server with the Matlab's connect/writeValue functions.
Thanks.
  2 commentaires
Christoph Dütsch
Christoph Dütsch le 27 Fév 2019
I have the same question...I can connect to OPC-UA Server with connect functions but not via OPC Client Mananger. I think the problem is, that OPC Client Manager doesn't support OPC-UA data.
Is it possible to do realtime simulation in simulink with data from OPC-UA server or just for OPC server data?
Thanks.
amr ali
amr ali le 8 Fév 2021
I hope the link of supporting OPC with simulink Matlab please from here if possible

Connectez-vous pour commenter.

Réponses (1)

Shubham
Shubham le 29 Août 2023
Modifié(e) : Shubham le 18 Avr 2024
Hi,
I understand you want to connect to OPC UA Server via simulink.
Starting with R2024a, the Industrial Communication Toolbox has introduced support for OPC UA Servers in Simulink, using OPC UA Read and Write Blocks.
To know more about the OPC UA Read and Write Blocks, refer :
  1. OPC UA Read
  2. OPC UA Write
Here is the link to Getting Started Example of OPC UA Blocks for your reference:
Some more examples:

Community Treasure Hunt

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

Start Hunting!

Translated by