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 Comments

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.

Sign in to comment.

Answers (0)

Asked:

on 24 Oct 2020

Commented:

on 18 Oct 2023

Community Treasure Hunt

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

Start Hunting!