필터 지우기
필터 지우기

OPC configuration block reports no OPC servers

조회 수: 7 (최근 30일)
impero vittorio eboli
impero vittorio eboli 2021년 7월 7일
댓글: Alaa Abderrahim 2024년 5월 28일
Hi,
I'm writing this post because I tried every possible option shown in the support. I was trying to estabilish a connection on my localhost between the program CODESYS and Simulink, wich is supposed to read some values from the server I created using CODESYS. When I try to configure a client by clicking "configure OPC clients" --> " add... " --> "select... " a warning is shown:
" Host 'localhost' reports no OPC servers "
I think this is very strange, because I succeded (using the command window) to connect to the same server previously mentioned and even read the variables I needed!
Is there any way to know what I should type inside the textbox to bypass the Simulink automatic local inspection?
Alternatively how can I solve the problem?
I tried to re-register OPC foundation core components and to configure properly DCOM. To be honest, I'm beginning to think that there's no solution :(
Thank you for your help!

답변 (1개)

Yatharth
Yatharth 2024년 5월 6일
Hi,
It's important to prior to MATLAB R2024a, MATLAB does not extend support for OPC UA blocks within Simulink. Consequently, the OPC Read block that is available in these versions is designed exclusively for connections to OPC DA servers. This is the underlying reason for the challenges you are facing in connecting to an OPC UA server.
Starting with R2024a, the Industrial Communication Toolbox has introduced support for OPC UA Servers in Simulink, using OPC UA Read and Write Blocks.
  댓글 수: 1
Alaa Abderrahim
Alaa Abderrahim 2024년 5월 28일
I am already using MATLAB R2024a and I still get the same problem

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Server Connection and Browsing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by