Invalid configuration or missing EtherCAT initialization block

조회 수: 6 (최근 30일)
When I try to simulate my model containing EtherCAT blocks, I receive the error message "Invalid configuration or missing EtherCAT initialization block". I have an EtherCAT configuration block in my model. When I look inside the EtherCAT Init block, it says "Duplicate specification of Box 1 (PNOZ mmc11p CAT (1.0)).RxPDO.Not used in the configuration XML file". What is causing this error?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2017년 2월 16일
The initial error message quoting invalid configuration or missing EtherCAT configuration block is a generic message indicating an invalid EtherCAT specification is present. By looking in the configuration block you will be able to see more information about what the issue is as error messages generated from parsing the XML are relayed here.
In this case, you have a duplicate definition of a signal (i.e. two signals with the same name). Names should be unique identifiers and as such, this is considered an invalid configuration.

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by