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