Invalid configuration or missing EtherCAT initialization block

6 views (last 30 days)
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?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Feb 2017
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.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!