<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=DE-CH>Hello together,<o:p></o:p></span></p><p class=MsoNormal><span lang=DE-CH><o:p> </o:p></span></p><p class=MsoNormal>I'm doing a long-term test of:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>root@MTEST-PC-IFC12:~# ethercat version<o:p></o:p></p><p class=MsoNormal>IgH EtherCAT master 1.5.2 2eff7c993a63<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Basically the application is working perfectly except for error events that takes place approx every 16 days... As my final application is running 24/7 this is a problem.<o:p></o:p></p><p class=MsoNormal>I will continue testing for the months to come, but I have the feeling that some kind of "overflow" is happening.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Does anybody have an explanation for what the bus is doing?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My application is running on a PowerPC with GNU/Linux PREEMPT_RT. <o:p></o:p></p><p class=MsoNormal>The application is in user space and is triggered cyclically at 3125Hz.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On the bus there is a small number of Beckhof devices:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>root@MTEST-PC-IFC12:~# ethercat config<o:p></o:p></p><p class=MsoNormal>0:0 0x00000002/0x044c2c52 0 OP <o:p></o:p></p><p class=MsoNormal>0:1 0x00000002/0x10243052 1 OP <o:p></o:p></p><p class=MsoNormal>0:2 0x00000002/0x0c1d3052 2 OP <o:p></o:p></p><p class=MsoNormal>0:3 0x00000002/0x25213052 3 OP <o:p></o:p></p><p class=MsoNormal>0:4 0x00000002/0x084c3052 4 OP <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Below is the /var/log/syslog for the last month. There were a total of 5 error events during this period of time.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>cut<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Mar 30 03:28:15 MTEST-PC-IFC12 -- MARK -- <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:26 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: 2 working counter changes - now 6/6EtherCAT 0: Domain 0: Working counter changed to 0/6 <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:26 MTEST-PC-IFC12 kernel: EtherCAT ERROR 0-2: Failed to receive AL state datagram: Datagram timed out. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:26 MTEST-PC-IFC12 kernel: EtherCAT 0: 0 slave(s) responding on main device. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:27 MTEST-PC-IFC12 kernel: EtherCAT WARNING: Datagram ef907e4c (domain0-0-main) was SKIPPED 1562 times. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:27 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: 382 datagrams TIMED OUT! <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:27 MTEST-PC-IFC12 kernel: libphy: mdio@ffe24520:03 - Link is Down <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:27 MTEST-PC-IFC12 kernel: EtherCAT 0: Link state of ecm0 changed to DOWN. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:28 MTEST-PC-IFC12 kernel: EtherCAT WARNING: Datagram ef907e4c (domain0-0-main) was SKIPPED 1930 times. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:28 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: 80 datagrams TIMED OUT! <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:28 MTEST-PC-IFC12 kernel: libphy: mdio@ffe24520:03 - Link is Up - 100/Full <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:28 MTEST-PC-IFC12 kernel: EtherCAT 0: Link state of ecm0 changed to UP. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:28 MTEST-PC-IFC12 kernel: EtherCAT 0: 5 slave(s) responding on main device. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:28 MTEST-PC-IFC12 kernel: EtherCAT 0: Slave states on main device: SAFEOP, OP + ERROR. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:28 MTEST-PC-IFC12 kernel: EtherCAT 0: Scanning bus. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:29 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0-1: Slave has state error bit set (SAFEOP + ERROR)! <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:29 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: Working counter changed to 4/6 <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:29 MTEST-PC-IFC12 kernel: EtherCAT WARNING: Datagram ef907e4c (domain0-0-main) was SKIPPED 15 times. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:29 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: 2 datagrams TIMED OUT! <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:30 MTEST-PC-IFC12 kernel: EtherCAT 0: Bus scanning completed in 1302 ms. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:30 MTEST-PC-IFC12 kernel: EtherCAT 0: Using slave 0 as DC reference clock. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:30 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: No app_time received up to now, but master already active. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:30 MTEST-PC-IFC12 kernel: EtherCAT ERROR 0-1: AL status message 0x001B: "Sync manager watchdog". <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:30 MTEST-PC-IFC12 kernel: EtherCAT 0-1: Acknowledged state SAFEOP. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:30 MTEST-PC-IFC12 kernel: EtherCAT 0: Slave states on main device: OP. <o:p></o:p></p><p class=MsoNormal>Mar 30 03:33:31 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: Working counter changed to 6/6 <o:p></o:p></p><p class=MsoNormal><span lang=DE-CH>Mar 30 03:48:15 MTEST-PC-IFC12 -- MARK -- <o:p></o:p></span></p><p class=MsoNormal><span lang=DE-CH><o:p> </o:p></span></p><p class=MsoNormal>cut<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Apr 6 20:28:17 MTEST-PC-IFC12 -- MARK -- <o:p></o:p></p><p class=MsoNormal>Apr 6 20:30:45 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: 2 working counter changes - now 6/6<7>EtherCAT WARNING 0: 1 datagram UNMATCHED! <o:p></o:p></p><p class=MsoNormal>Apr 6 20:30:46 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: Working counter changed to 0/6 <o:p></o:p></p><p class=MsoNormal>Apr 6 20:30:46 MTEST-PC-IFC12 kernel: EtherCAT WARNING: Datagram ef907e4c (domain0-0-main) was SKIPPED 1 time. <o:p></o:p></p><p class=MsoNormal><span lang=DE-CH>Apr 6 20:48:17 MTEST-PC-IFC12 -- MARK -- <o:p></o:p></span></p><p class=MsoNormal><span lang=DE-CH><o:p> </o:p></span></p><p class=MsoNormal>cut<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Apr 16 06:48:19 MTEST-PC-IFC12 -- MARK -- <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:39 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: Working counter changed to 6/6 <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:39 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: Working counter changed to 0/6EtherCAT ERROR 0-1: Failed to receive AL state datagram: Datagram timed out. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:39 MTEST-PC-IFC12 kernel: EtherCAT 0: 0 slave(s) responding on main device. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:39 MTEST-PC-IFC12 kernel: EtherCAT WARNING: Datagram ef907e4c (domain0-0-main) was SKIPPED 699 times. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:39 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: 187 datagrams TIMED OUT! <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:39 MTEST-PC-IFC12 kernel: libphy: mdio@ffe24520:03 - Link is Down <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:39 MTEST-PC-IFC12 kernel: EtherCAT 0: Link state of ecm0 changed to DOWN. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:40 MTEST-PC-IFC12 kernel: EtherCAT WARNING: Datagram ef907e4c (domain0-0-main) was SKIPPED 1196 times. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:40 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: 73 datagrams TIMED OUT! <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:41 MTEST-PC-IFC12 kernel: libphy: mdio@ffe24520:03 - Link is Up - 100/Full <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:41 MTEST-PC-IFC12 kernel: EtherCAT 0: Link state of ecm0 changed to UP. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:41 MTEST-PC-IFC12 kernel: EtherCAT 0: 5 slave(s) responding on main device. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:41 MTEST-PC-IFC12 kernel: EtherCAT 0: Slave states on main device: SAFEOP, OP + ERROR. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:41 MTEST-PC-IFC12 kernel: EtherCAT 0: Scanning bus. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:42 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0-1: Slave has state error bit set (SAFEOP + ERROR)! <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:42 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: Working counter changed to 4/6 <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:42 MTEST-PC-IFC12 kernel: EtherCAT WARNING: Datagram ef907e4c (domain0-0-main) was SKIPPED 13 times. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:42 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: 2 datagrams TIMED OUT! <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:43 MTEST-PC-IFC12 kernel: EtherCAT 0: Bus scanning completed in 1543 ms. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:43 MTEST-PC-IFC12 kernel: EtherCAT 0: Using slave 0 as DC reference clock. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:43 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: No app_time received up to now, but master already active. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:43 MTEST-PC-IFC12 kernel: EtherCAT ERROR 0-1: AL status message 0x001B: "Sync manager watchdog". <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:43 MTEST-PC-IFC12 kernel: EtherCAT 0-1: Acknowledged state SAFEOP. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:44 MTEST-PC-IFC12 kernel: EtherCAT 0: Slave states on main device: OP. <o:p></o:p></p><p class=MsoNormal>Apr 16 06:51:44 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: Working counter changed to 6/6 <o:p></o:p></p><p class=MsoNormal><span lang=DE-CH>Apr 16 07:08:19 MTEST-PC-IFC12 -- MARK -- <o:p></o:p></span></p><p class=MsoNormal><span lang=DE-CH><o:p> </o:p></span></p><p class=MsoNormal>cut<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Apr 27 21:08:22 MTEST-PC-IFC12 -- MARK --<o:p></o:p></p><p class=MsoNormal>Apr 27 21:47:13 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: 2 working counter changes - now 6/6EtherCAT 0: Domain 0: Working counter changed to 0/6<o:p></o:p></p><p class=MsoNormal>Apr 27 21:47:13 MTEST-PC-IFC12 kernel: EtherCAT WARNING: Datagram ef907e4c (domain0-0-main) was SKIPPED 1 time.<o:p></o:p></p><p class=MsoNormal>Apr 27 21:47:13 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: 1 datagram UNMATCHED!<o:p></o:p></p><p class=MsoNormal><span lang=DE-CH>Apr 27 22:08:22 MTEST-PC-IFC12 -- MARK --<o:p></o:p></span></p><p class=MsoNormal><span lang=DE-CH><o:p> </o:p></span></p><p class=MsoNormal>cut<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Apr 30 13:08:22 MTEST-PC-IFC12 -- MARK -- <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:39 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: Working counter changed to 6/6 <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:39 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: Working counter changed to 0/6EtherCAT ERROR 0-4: Failed to receive AL state datagram: Datagram timed out. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:39 MTEST-PC-IFC12 kernel: EtherCAT 0: 0 slave(s) responding on main device. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:39 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: 9 datagrams TIMED OUT! <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:40 MTEST-PC-IFC12 kernel: EtherCAT WARNING: Datagram ef907e4c (domain0-0-main) was SKIPPED 689 times. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:40 MTEST-PC-IFC12 kernel: libphy: mdio@ffe24520:03 - Link is Down <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:40 MTEST-PC-IFC12 kernel: EtherCAT 0: Link state of ecm0 changed to DOWN. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:40 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: 99 datagrams TIMED OUT! <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:41 MTEST-PC-IFC12 kernel: EtherCAT WARNING: Datagram ef907e4c (domain0-0-main) was SKIPPED 102 times. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:42 MTEST-PC-IFC12 kernel: libphy: mdio@ffe24520:03 - Link is Up - 100/Full <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:42 MTEST-PC-IFC12 kernel: EtherCAT 0: Link state of ecm0 changed to UP. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:42 MTEST-PC-IFC12 kernel: EtherCAT 0: 5 slave(s) responding on main device. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:42 MTEST-PC-IFC12 kernel: EtherCAT 0: Slave states on main device: SAFEOP, OP + ERROR. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:42 MTEST-PC-IFC12 kernel: EtherCAT 0: Scanning bus. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:42 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0-1: Slave has state error bit set (SAFEOP + ERROR)! <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:42 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: 2 datagrams TIMED OUT! <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:43 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: Working counter changed to 4/6 <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:43 MTEST-PC-IFC12 kernel: EtherCAT WARNING: Datagram ef907e4c (domain0-0-main) was SKIPPED 14 times. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:43 MTEST-PC-IFC12 kernel: EtherCAT 0: Bus scanning completed in 1325 ms. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:43 MTEST-PC-IFC12 kernel: EtherCAT 0: Using slave 0 as DC reference clock. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:43 MTEST-PC-IFC12 kernel: EtherCAT WARNING 0: No app_time received up to now, but master already active. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:43 MTEST-PC-IFC12 kernel: EtherCAT ERROR 0-1: AL status message 0x001B: "Sync manager watchdog". <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:43 MTEST-PC-IFC12 kernel: EtherCAT 0-1: Acknowledged state SAFEOP. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:44 MTEST-PC-IFC12 kernel: EtherCAT 0: Slave states on main device: OP. <o:p></o:p></p><p class=MsoNormal>Apr 30 13:35:44 MTEST-PC-IFC12 kernel: EtherCAT 0: Domain 0: Working counter changed to 6/6 <o:p></o:p></p><p class=MsoNormal><span lang=DE-CH>Apr 30 13:48:22 MTEST-PC-IFC12 -- MARK -- <o:p></o:p></span></p><p class=MsoNormal><span lang=DE-CH><o:p> </o:p></span></p><p class=MsoNormal><span lang=DE-CH>cut<o:p></o:p></span></p><p class=MsoNormal><span lang=DE-CH><o:p> </o:p></span></p><p class=MsoNormal><span lang=DE-CH>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=DE-CH>Ernst Johansen<o:p></o:p></span></p><p class=MsoNormal><span lang=DE-CH><o:p> </o:p></span></p><p class=MsoNormal><span lang=DE-CH><o:p> </o:p></span></p></div></body></html>