Beckhoff TwinCAT Interface - TE1410
조회 수: 29 (최근 30일)
이전 댓글 표시
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
Hazem
2023년 9월 29일
I had the same problem. To fix it, open TwinCAT3 and follow these steps:
- Navigate to System -> License in the Solution Explorer (it should be in the right window of your screen).
- Double-click on "License." You will then see four tabs in your main window. Choose "Manage Licenses."
- Navigate to T1410 and click on "CPU License" in the "Add License" section.
- Run the project. It will prompt you to generate a trial license.
Hopefully, this will fix your problem.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Target Computer Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!