[etherlab-users] ecrt_support warning

Richard Hacker ha at igh.de
Tue Dec 9 09:24:00 CET 2014


Hi,

on Matlab's command line, type:
which ec_slave3
which ec_slave3.tlc

Have you called setup_etherlab.m to configure etherlab?

- Richard

Am 2014-12-08 08:03, schrieb Cor Meijneke - 3ME:
> 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
>
>
>
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>



More information about the Etherlab-users mailing list