<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" xmlns:ns0="urn:schemas-microsoft-com:office:smarttags">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</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="Section1">
<p class="MsoNormal">Hi Etherlab-dev.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Just wanted to let you about a problem I’m currently chasing.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We have 2 domains:<o:p></o:p></p>
<p class="MsoNormal">EtherCAT 0: Domain0: Logical address 0x00000000, 373 byte, expected working counter 18.<o:p></o:p></p>
<p class="MsoNormal">EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 373 byte, type LRW.<o:p></o:p></p>
<p class="MsoNormal">EtherCAT 0: Domain1: Logical address 0x00000175, 548 byte, expected working counter 3.<o:p></o:p></p>
<p class="MsoNormal">EtherCAT 0: Datagram domain1-373-main: Logical offset 0x00000175, 548 byte, type LRW.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Domain0 is updated cyclic every 10ms to 6 slaves<o:p></o:p></p>
<p class="MsoNormal">Domain1 is updated cyclic every 4ms to 1 slave<o:p></o:p></p>
<p class="MsoNormal">On domain 1 there is a single SDO download to the slave every 1 second. (change of a simulator value)<o:p></o:p></p>
<p class="MsoNormal">There is no EoE running.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This runs without error for ~40 hours but then I get a ‘EtherCAT DEBUG 0: UNMATCHED datagram:’ with a dump of the EtherCAT telegram and all SDO exchanging stops working.
<o:p></o:p></p>
<p class="MsoNormal">When debugging with ‘ethercat debug 1’ I can see the SDO exchange has finished correctly when the UNMATCHED error happens.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It seems that the master stops checking for new SDO requests after this error. (SDO request stays in ‘busy/queued’ forever)<o:p></o:p></p>
<p class="MsoNormal">Also, when I exit my C application and the master returns to the EtherCAT-IDLE thread there is no data flowing when you monitor with ‘ethercat ma’ (Rx/Tx stays the same) so it seems locked.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have to restart the master to get it up and running again.<o:p></o:p></p>
<p class="MsoNormal">The UNMATCHED error will repeat it self every 30-40 hours if I keep the system running.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If anyone has experienced anything like this I would be happy to know it
<span style="font-family:Wingdings">J</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Best regards,
</span><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif";
color:navy"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Times New Roman","serif""><ns0:PersonName><ns0:PersonName></ns0:PersonName></ns0:PersonName></span><b><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Johnny
Rasmussen</span></b><span lang="EN-GB" style="font-size:12.0pt;font-family:"Arial","sans-serif";
color:navy"><br>
</span><i><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif";
color:black">DEIF Wind Power Technology</span></i><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif";color:navy"><br>
</span><i><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif";
color:black">Software Developer</span></i><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
</div>
</body>
</html>