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 Commenti

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

Accedi per commentare.

Risposte (0)

Richiesto:

il 24 Ott 2020

Commentato:

il 18 Ott 2023

Community Treasure Hunt

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

Start Hunting!

Translated by