[etherlab-users] Warnings during code generation with simulink

Florian Pose fp at igh-essen.com
Fri Feb 5 09:48:01 CET 2010


Hi,

On Fri, Feb 05, 2010 at 08:17:48AM +0100, Jannes Kloepfer wrote:
>   CC     rtw_data_interface.o
> //opt/etherlab/rtw/src/rtw_data_interface.c: In Funktion »rtw_capi_init«:
> //opt/etherlab/rtw/src/rtw_data_interface.c:409: Warnung: Variable »tid« wird nicht verwendet
> //opt/etherlab/rtw/src/rtw_data_interface.c:407: Warnung: Variable »samplePeriodPtr« wird nicht verwendet

I think this comes up, when only one task is used. It is harmless, but
we will fox the warnings for the 1.2 release.

> WARNING: "ecrt_master_receive" [/usr/local/matlab/work/example_etl_rtw/example_kmod.ko] undefined!
> ...
> WARNING: "ecrt_slave_config_sdo8" [/usr/local/matlab/work/example_etl_rtw/example_kmod.ko] undefined!

In 2.6.24, there is no method to tell the MODPOST script about symbols,
that originate from external modules, so it warns about those symbols in
the generated modules.

> Failed to configure mapping of PDO 0x1600
> Failed to configure mapping of PDO 0x1602
> Failed to configure mapping of PDO 0x1602
> Failed to configure mapping of PDO 0x1603
> Slave 1 does not support changing the PDO mapping

Beckhoff changed the indices of the PDOs between some revisions of the
slave. Please try to switch between the normal and the '*v2' versions in the block mask.

> The problem is that there is no signal at the output channels from the
> EL4034. There should be a constant voltage about 10V on output 1 and a
> sine wave with amplitude of 10V and a frequency of 10Hz at ouput 2. 

Please post the output of

ethercat slaves -v
ethercat pdos
ethercat config

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the Etherlab-users mailing list