Azzera filtri
Azzera filtri

Beckhoff TwinCAT Interface - TE1410

41 visualizzazioni (ultimi 30 giorni)
VaL V6
VaL V6 il 2 Mag 2023
Commentato: Hazem il 29 Set 2023
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 Commenti
VaL V6
VaL V6 il 26 Set 2023
No unfortunately. I solved it by buying the license.
Not a great solution :)
Hazem
Hazem il 29 Set 2023
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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by