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 件のコメント

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

サインインしてコメントする。

回答 (0 件)

質問済み:

2020 年 10 月 24 日

コメント済み:

2023 年 10 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by