Beckhoff TwinCAT Interface - TE1410

조회 수: 29 (최근 30일)
VaL V6
VaL V6 2023년 5월 2일
댓글: Hazem 2023년 9월 29일
I'm curretly try to connect a Beckhoff PLC with Simulink using the official Beckhoff tool TE1410 for MATLAB version greater then 2019. The Beckhoff manual can be found here: Manual TwinCAT 3 | Interface for MATLAB®/Simulink® (beckhoff.com)
I properly install and set my simulink environment for the simulation in order to read one parameter from the PLC. When I start the simulation, this error is reported:
"Error:Error reported by S-function 'MatlabRuntime' in 'testDataExchangeADS/Async ADS Read':
License invalid."
I don't understand why the licence which license is talking about since in the Beckhoff manual is cleary steated:
"Restrictions in the demo version
When using the demo version, appropriate warnings are displayed to the user. For ADS in Simulink®: after 30 minutes, the simulation ends with an error message. The simulation must be restarted. In addition, the number of ADS symbols for reading or writing is limited to 4" (pag. 26)
PS: I am also moving on the Beckhoff side to see if this error had already been dealt with.
  댓글 수: 3
VaL V6
VaL V6 2023년 9월 26일
No unfortunately. I solved it by buying the license.
Not a great solution :)
Hazem
Hazem 2023년 9월 29일
I had the same problem. To fix it, open TwinCAT3 and follow these steps:
  1. Navigate to System -> License in the Solution Explorer (it should be in the right window of your screen).
  2. Double-click on "License." You will then see four tabs in your main window. Choose "Manage Licenses."
  3. Navigate to T1410 and click on "CPU License" in the "Add License" section.
  4. Run the project. It will prompt you to generate a trial license.
Hopefully, this will fix your problem.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by