[etherlab-users] EL2502 problem

Andreas Stewering-Bone ab at igh-essen.com
Mon Nov 15 13:24:39 CET 2010


Hello Michael,

please post
- your code
- output ethercat pdos -px -v
- dmesg output after ethercat debug 1 and starting your code
- output ethercat config -px -v

Greatings

Andreas

Michael Sagner schrieb:
> I made the changes to the code as quoted below, but I still don't get a
> valid data offset (0xFFFFFFFE).
>
>
> -----Ursprüngliche Nachricht-----
> Von: Andreas Stewering-Bone [mailto:Andreas.Stewering-Bone at gmx.de] 
> Gesendet: Mittwoch, 10. November 2010 22:14
> An: etherlab-users at etherlab.org
> Cc: Michael Sagner
> Betreff: Re: [etherlab-users] EL2502 problem
>
> Hello Michael,
>
>
> please note the exclude directive in the xml description,
>
> you must not use pdo 0x1600 and 0x1602 at the same time, eg 0x1601 and
> 0x1603
>
>
> Am Wednesday 10 November 2010 19:27:04 schrieb Michael Sagner:
>   
>>         ec_pdo_info_t el2502_pdos[] = {
>>         {0x1600, 1, el2502_pdo_entries + 0}, /* PWM RxPDO-Map  Ch.1 */
>>         {0x1602, 1, el2502_pdo_entries + 1}, /* Freq RxPDO-Map  Ch.1 */
>>         {0x1601, 1, el2502_pdo_entries + 2}, /* PWM RxPDO-Map  Ch.2 */
>>         {0x1603, 1, el2502_pdo_entries + 3}, /* Freq RxPDO-Map  Ch.2 */
>>         };
>>     
>
> it should be
>
>          ec_pdo_info_t el2502_pdos[] = {
>          {0x1602, 2, el2502_pdo_entries }, /* Freq RxPDO-Map  Ch.1 */
>          {0x1603, 2, el2502_pdo_entries + 2}, /* Freq RxPDO-Map  Ch.2 */
>          };
>
> Greatings 
>
> Andreas
>
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>   


-- 

------------------------------------------------------------------------

Dipl.-Ing. Andreas Stewering-Bone            Amtsgericht Essen HRB 11500 
Ingenieurgemeinschaft IgH                    USt-Id.-Nr.: DE 174 626 722 
Gesellschaft für Ingenieurleistungen mbH     Geschäftsführung:           
Heinz-Bäcker-Str. 34                         Dr.-Ing. S. Rotthäuser      
D-45356 Essen                                Dr.-Ing. T. Finke           
Tel.: +49 201 / 360-14-15                    Dr.-Ing. W. Hagemeister     
Fax.: +49 201 / 360-14-14                    Tel.: +49 201 / 360-14-0    
Andreas.Stewering-Bone at igh-essen.com         http://www.igh-essen.com    

------------------------------------------------------------------------




More information about the Etherlab-users mailing list