[etherlab-users] "Slave does not support CoE!" An error occurs.

Gavin Lambert gavinl at compacsort.com
Fri Jun 2 08:19:16 CEST 2017


Basic slaves have a fixed layout of PDOs.  Complex slaves sometimes allow
you to select alternate layouts or in rare cases even build your own layout.
Complex slaves require CoE to do that configuration.

 

The error you are getting indicates that the configuration doesn't match, so
Etherlab tries to update it, but it can't because the slave doesn't support
CoE.

 

For a basic slave that doesn't have CoE, you need to make sure that the PDO
layout in your application matches exactly what the slave publishes.  What
matters to Etherlab is not the contents of the SII XML file, but the
contents of the SII EEPROM.

 

Assuming that this has been correctly programmed by the supplier of your
slave device (or whoever else is authoring the XML file), you should be able
to run the "ethercat cstruct" command to generate the code required to
configure your application to correctly use your slave's PDOs.

 

From: tykwon
Sent: Friday, 2 June 2017 18:07
To: etherlab-users at etherlab.org
Subject: [etherlab-users] "Slave does not support CoE!" An error occurs.

 

Hi. all

 

I am using ODROID-C1.

The EtherCAT Slave uses the EVB-LAN9252-ADD-ON(Microchip LAN9252) board.

 

I am testing the EtherCAT Master with a program using the user library.

I am testing
http://lists.etherlab.org/pipermail/etherlab-users/attachments/20120413/b83b
76d4/attachment.c  to test it.

The source of my created ec_user_example is the attachment ec_user_kty.c.

The ESI currently used by the EtherCAT Slave is an attachment kty.xml.

 

When I run ec_user_example compiled, I get the following error. 

/**************************************************************/

           EtherCAT DEBUG 0-0: Downloading SDO 0x1C12:00.

           EtherCAT DEBUG: 00

           EtherCAT ERROR 0-0: Slave does not support CoE!

           EtherCAT ERROR 0-0: SDO configuration failed.

/**************************************************************/

 

How do I fix this error?

Actually, my ESI file has nothing to do with CoE.

Is the use of CoE essential?

 

Since I am EtherCAT Newbi I do not know what is wrong.

I am not sure if my program is wrong or ESI is wrong.

 

Could you please help me solve this problem?

 

The attachment slaves.txt is the result of the "ethercat slaves" command.

Attachment ec_user_example_output.txt is the result of running my
ec_user_example.

Attached file demsg.txt is my kernel message.(ethercat debug 1)

 

Best regards,
Kwon

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20170602/9596cc15/attachment-0004.htm>


More information about the Etherlab-users mailing list