[etherlab-users] Warnings during code generation with simulink

Jannes Kloepfer j.kloepfer at googlemail.com
Tue Mar 30 17:19:32 CEST 2010


Hi Florian,

>
> Unfortunately the list of devicec selectable is only a subset of those
>> defined in the included slave description XMLs. You can help yourself by
>> editing the initialization code in the block mask and adding the missing
>> devices.
>>
>
> Following your last tip above I looked at the device description and after
changing the PDO indices for the Beckhoff EL4034 module (there was just on
revision for EL4034 in the device description with wrong indices I think)
from 0x7000:11 to 0x7000:01 (for PDO 0x1600), respectively for PDO 0x1601,
0x1602 and 0x1603 and regenerating the EtherCATInfo MAT File I could resolve
the error ("Slave 1 does not support changing the PDO mapping").

But I have still the problem, that I get nothing at the output channels when
measuring with the multimeter. This is very strange because after looking at
the output from  "ethercat domains -v"  my impression was that everything
should be ok.

I attached the output for "ethercat domains -v" and a screenshot of the
simulink model. In my test measuring I had 2.895V on the input channel 1 of
EL3102 (slave 1). The max. output/input range goes from -32768 (-10V) to
+32767 (+10V).


Do you have any idea what goes wrong?



Best regards,
Jannes Kloepfer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20100330/a5a6153e/attachment-0005.htm>
-------------- next part --------------
Domain0: LogBaseAddr 0x00000000, Size   8, WorkingCounter 1/1
  SlaveConfig 0:3, SM2 (Output), LogAddr 0x00000000, Size 8
    0x0e 0x25 0x00 0x00 0xff 0x7f 0x00 0x80 
Domain1: LogBaseAddr 0x00000008, Size   6, WorkingCounter 1/1
  SlaveConfig 0:1, SM3 ( Input), LogAddr 0x00000008, Size 6
    0x00 0x0e 0x25 0x00 0x00 0x00 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simulink_model.jpg
Type: image/jpeg
Size: 35761 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20100330/a5a6153e/attachment-0005.jpg>


More information about the Etherlab-users mailing list