[etherlab-users] ecrt_support warning

Cor Meijneke - 3ME C.Meijneke at tudelft.nl
Mon Dec 8 08:03:12 CET 2014


Dear all,

I'm trying to commuinacate with an ELMO Gold Whistle motor controller with via an Etherlab implementation on an intel mini PC (OpenSuse 13.1 with preempt 3.4.32_rt46-2.1 kernel, Etherlab 2.1.0 With MATLAB/Simulink 2014b, and EThercat Master 1.5.2 with e1000e driver).

I've generated a mapping file from the EtherCAT master and used a generic slave block in Simulink. When I run the model, I can read PDO variables without a problem (encoder values, analog input etc.). But when I try to send a Control Word (via the TestManager) with PDO, the drive doesn't respond (no state change -> Status Word). I tried to send the Control Word with twincat, and the drive responds correctly (changing state -> Status Word).

I've already rechecked the PDO mappings, they seem to be fine.

Although the model compiles successfully, I noticed the following message when compiling Simulink models:
### File ecrt_support.c associated with S-Function 'ec_slave3' (used in 'MyModel/EGSW_0') does not exist
Can this be causing such problem?

Is anybody familiar with this problem? Got such ELMO drives to communicate?

What are good next steps to solve this problem?

Best regards,
Cor Meijneke

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20141208/501e27ff/attachment-0002.htm>


More information about the Etherlab-users mailing list