Beckhoff TwinCAT Interface - TE1410
30 次查看(过去 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!