Error EtherCAT Cyclic Task Not Defined

I am trying to create an ENI file from Beckoff TwinCat to use in simulink for position control of two actuators. I get no errors when building the code in the twinCat software and I have input global variables which are connected to my two drives. I am using the computer as the master and each drive is a slave. I have tried everything I think of, but everytime I try to use the ENI file I generated from TwinCat in the simmulink EtherCat Int Block I get the following error. Has anyone come across this/figured out how to fix it before?

2 commentaires

lio94
lio94 le 30 Jan 2023
One I/O variable of your EtherCAT slave device needs to be linked to a Task Input in your TwinCAT project.
marlon
marlon le 18 Oct 2023
The task is very important since is there where the bus cycle is defined.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by