[etherlab-users] Datagram Timeout and other issues

Andreas Stewering-Bone ab at igh-essen.com
Tue Nov 23 08:43:29 CET 2010


Hello Newell,

There seems to be a communication problem.

can you reduce the slaves only using the EK1100 and the EL2004

and post

ethercat slaves -v

and

ethercat master -v

and maybe your code

Greatings


Andreas



Newell Jensen schrieb:
> Hello All,
>
> I am in the middle of trying to test a simple cyclic loop that toggles 
> the digital output of the EL2004 which is attached to the EK1100.  We 
> have an oscilloscope attached to this digital output so that we can 
> verify the square waveform that is created from the toggling of this 
> digital output to see how fast the system can respond.  However, we 
> are getting some bleeps in this waveform and I believe they are coming 
> from the following errors:
>
> [   24.920744] EtherCAT: Accepting device 00:04:5F:B0:8E:49 for master 0.
> [   24.920924] ec_generic: Binding socket to interface 3 (eth1).
> [   24.930057] EtherCAT 0: Starting EtherCAT-IDLE thread.
> [   25.532553] e1000e: eth1 NIC Link is Up 100 Mbps Full Duplex, Flow 
> Control: None
> [   25.532724] 0000:02:00.0: eth1: 10/100 speed: disabling TSO
> [   25.533311] EtherCAT 0: Link state changed to UP.
> [   25.533401] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
> [   25.535026] EtherCAT 0: 5 slave(s) responding.
> [   25.535160] EtherCAT 0: Slave states: PREOP.
> [   25.537370] EtherCAT 0: Scanning bus.
> [   27.158003] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow 
> Control: RX/TX
> [   27.384322] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [   27.596617] EtherCAT ERROR 0-4: Reception of CoE upload request for 
> SDO 0x1c12:0 failed with timeout after 1000 ms: No response.
> [   27.596636] EtherCAT ERROR 0-4: Failed to read number of assigned 
> PDOs for SM2.
> [   28.596325] EtherCAT ERROR 0-4: Reception of CoE upload request for 
> SDO 0x1c13:0 failed with timeout after 1000 ms: No response.
> [   28.596344] EtherCAT ERROR 0-4: Failed to read number of assigned 
> PDOs for SM3.
> [   28.596355] EtherCAT 0: Bus scanning completed in 3061 ms.
> [   28.596364] EtherCAT ERROR 0: Failed to calculate bus topology.
> [  215.389287] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [  215.389324] EtherCAT WARNING 0: 1 datagram UNMATCHED!
> [  341.602318] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [  341.602339] EtherCAT WARNING 0: 1 datagram UNMATCHED!
> [  403.613306] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [  403.613369] EtherCAT WARNING 0: 1 datagram UNMATCHED!
> [  469.944365] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [  469.944387] EtherCAT WARNING 0: 1 datagram UNMATCHED!
> [  500.001363] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [  500.001384] EtherCAT WARNING 0: 1 datagram UNMATCHED!
> [  523.217296] EtherCAT WARNING 0: 2 datagrams TIMED OUT!
> [  523.217332] EtherCAT WARNING 0: 2 datagrams UNMATCHED!
> [  683.901311] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [  683.901395] EtherCAT WARNING 0: 1 datagram UNMATCHED!
> [  757.067347] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [  757.067368] EtherCAT WARNING 0: 1 datagram UNMATCHED!
> [  759.003291] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [  759.003331] EtherCAT WARNING 0: 1 datagram UNMATCHED!
> [ 1060.422312] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [ 1060.422370] EtherCAT WARNING 0: 1 datagram UNMATCHED!
> [ 1492.539299] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [ 1492.539339] EtherCAT WARNING 0: 1 datagram UNMATCHED!
> [ 2260.018306] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [ 2260.018364] EtherCAT WARNING 0: 1 datagram UNMATCHED!
> [ 2435.205290] EtherCAT WARNING 0: 1 datagram TIMED OUT!
> [ 2435.205325] EtherCAT WARNING 0: 1 datagram UNMATCHED!
>
>
> Any one have any ideas how I can get rid of all these different errors?
>
> Plus, we are shooting for having a system that polls (cyclic task) at 
> 0.5 ms (2 kHz) with a jitter of about 10 us and from everything that I 
> have read in the ethercat master documentation pdf...it seems like 
> this should not be a problem at all.
>
> My setup:
> Linux ubuntu-ioc 2.6.31-11-rt #154-Ubuntu SMP PREEMPT RT Wed Jun 9 
> 12:28:53 UTC 2010 i686 GNU/Linux
> generic driver
> IgH EtherCAT master devel e9f722488fcd
>
> Thanks!
>
> -- 
>
> Newell
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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