<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 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;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
        {mso-style-name:x_msonormal;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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">While I’m not disputing that it might work like that, this sounds a bit backwards.  Assuming that the “parameters” are SDOs, these are usually temporary until reboot while “ethercat alias” updates the EEPROM and is usually permanent.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Actually, it seems quite suspicious that in the example below there are still four slaves after power cycling, but that you appear to now have a duplicate
<span lang="SV">AL1930.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SV"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="SV">If you’re not using the unofficial patchset, it might be worthwhile trying that out.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SV"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="SV">If you <b>are</b> using the unofficial patchset, something else you could try is to add
</span><span lang="SV" style="font-family:Consolas">--disable-sii-cache</span><span lang="SV"> to your configure options and rebuild.  The cache is something which (if it goes wrong) could possibly cause apparently duplicated slaves when aliases are used –
 although I can’t think of how it could be going wrong at the moment, it doesn’t hurt to try.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SV"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="SV">Another thing that might be useful to try is to use larger and/or more widely spaced alias addresses (if supported by your slaves) – I usually prefer to avoid the low numbers to avoid confusion with relative addressing.</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>

<P 
style="FONT-SIZE: 100%; FONT-FAMILY: Calibri, Candara, Segoe, Optima, Arial, sans-serif; COLOR: rgb(89,89,89)"><STRONG>Gavin Lambert<BR></STRONG>Senior Software Developer<BR></P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
<TABLE>
  <TBODY 
  style="FONT-SIZE: 75%; FONT-FAMILY: Calibri, Candara, Segoe, Optima, Arial, sans-serif; COLOR: rgb(89,89,89)">  </TBODY></TABLE></P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><IMG border=0 
src="cid:logo_compac_5dcf97ef-52f5-498c-8b9b-728410ddffaf.png"><BR><A 
href="http://www.compacsort.com"><IMG border=0 alt=TOMRA 
src="cid:compacicon_82e8a8c7-154a-4a32-9720-a5badb6258e0.png" width=33 
height=37></A> <A href="https://www.facebook.com/Compacsort"><IMG border=0 
alt=Facebook src="cid:facebook_fa85b924-53b9-45cc-8162-0564f64ec3a3.png" width=35 
height=37></A> <A 
href="https://www.linkedin.com/company/compac-sorting-equipment/"><IMG border=0 
alt=Linkedin src="cid:linkedin_4ec016ad-84fa-443c-85a3-b9615a4ccef8.png" width=35 
height=37></A> <A href="https://vimeo.com/compacsort"><IMG border=0 alt=Youtube 
src="cid:youtube_32142163-fc27-4aed-b14d-e8a377f98a6d.png" width=37 height=37></A> 
<A href="https://twitter.com/compacsort"><IMG border=0 alt=twitter 
src="cid:twitter_d89338d8-98c8-4b65-9a9e-7b1333160b0d.png" width=33 height=37></A> 
<A href="https://www.instagram.com/compacsort/"><IMG border=0 alt=instagram 
src="cid:insta2_1cd85de9-b3a2-4971-9904-52b2481a7c82.png" width=33 height=37></A> 
</P>
<P 
style="FONT-SIZE: 75%; FONT-FAMILY: Calibri, Candara, Segoe, Optima, Arial, sans-serif; COLOR: rgb(89,89,89)"><B>COMPAC 
SORTING EQUIPMENT LTD</B> | 4 Henderson Pl | Onehunga | Auckland 1061 | New 
Zealand<BR>Switchboard: +64 96 34 00 88 | <A 
href="http://www.tomra.com">tomra.com</A> </P>
<TABLE 
style="BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-COLLAPSE: collapse; BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none" 
cellSpacing=0 cellPadding=0 border=1>
  <TBODY>
  <TR>
    <TD 
    style="BORDER-LEFT-STYLE: none; BORDER-TOP: #595959 1pt solid; BORDER-BOTTOM: #595959 1pt solid; BORDER-RIGHT-STYLE: none" 
    vAlign=top>
      <P 
      style="FONT-SIZE: 75%; FONT-FAMILY: Calibri, Candara, Segoe, Optima, Arial, sans-serif; COLOR: rgb(89,89,89)">The 
      information contained in this communication and any attachment is 
      confidential and may be legally privileged. It should only be read by the 
      person(s) to whom it is addressed. If you have received this communication 
      in error, please notify the sender and delete the communication. 
  </P></TD></TR></TBODY></TABLE>
<P 
style="FONT-SIZE: 75%; FONT-FAMILY: Calibri, Candara, Segoe, Optima, Arial, sans-serif; COLOR: rgb(89,89,89)"></P><div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Graeme Foot <Graeme.Foot@touchcut.com> <br>
<b>Sent:</b> Tuesday, 18 February 2020 08:31<br>
<b>To:</b> Joachim Sällvin <joachim.sallvin@corpowerocean.com>; Gavin Lambert <gavin.lambert@tomra.com>; etherlab-users@etherlab.org<br>
<b>Subject:</b> RE: Slave lost forever after power cycling<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-NZ">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">Is it this module here (or similar)?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.nord.com%2Fcms%2Fmedia%2Fdocuments%2Fdatasheets%2FTI_275281117_SK_TU4-ECT_EN_4217_screen.pdf&data=02%7C01%7Cgavin.lambert%40tomra.com%7C932a5056e524439f3e9308d7b3dff73a%7C4308d118edd143008a37cfeba8ad5898%7C0%7C1%7C637175646828861389&sdata=n5wFADx0ilnO7IaNF%2FVCjns%2BUOgM2PTQyv86%2FXw1wT8%3D&reserved=0">https://www.nord.com/cms/media/documents/datasheets/TI_275281117_SK_TU4-ECT_EN_4217_screen.pdf</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">The back of this unit has dip switches:<o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-NZ">Second Address (DIP 2..10)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-NZ">The "Second Address" can be set via this switch and controlled in parameter P181.<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-NZ">If all DIP switches 2..10 are moved to the "OFF" position, the "Second Address" can be set via parameter P160.<o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">This means that if you set an alias on this slave via the "ethercat alias" command it will only remain active until the unit is repowered.  If the dip switches are set it will apply an alias based on the dip switches. 
 If the dip switches are all off it will use the P160 parameter.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">Use the dip switches or P160 to set your alias for this unit, not the "ethercat alias" command.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">Graeme Foot.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> etherlab-users <<a href="mailto:etherlab-users-bounces@etherlab.org">etherlab-users-bounces@etherlab.org</a>>
<b>On Behalf Of </b>Joachim Sällvin<br>
<b>Sent:</b> Tuesday, 18 February 2020 6:01 AM<br>
<b>To:</b> Gavin Lambert <<a href="mailto:gavin.lambert@tomra.com">gavin.lambert@tomra.com</a>>;
<a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a><br>
<b>Subject:</b> Re: [etherlab-users] Slave lost forever after power cycling<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black">Thank you very much for your reply.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black">It seems like the position on the slave network doesn't matter. What matters i the alias addressing of this particular slave. When I don't give the TU4 slave any alias address I can
 power-cycle it without loosing it. But as soon as I've given it an alias address and power-cycle it is lost (not every time but almost).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black">What might cause this? It seems like the EEPROM/Sii of the slave overwritten at start-up when it has been given an alias address. Is there a way to prevent this? How does this work
 "under the hood"?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black">I use "sudo ethercat -p1 alias 2" for example to give the slave on position 1 the alias address 2. Nothing wrong here I presume since it seems to work for other slaves.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black">I've been in contact with the vendor of the TU4 module and they claim that this module is working in big volumes (thousands) on the market. All their other customers use TwinCAT and
 they haven't heard of this problem. I have also tried three different TU4 modules to exclude the possibility of one failing individual.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span lang="EN-NZ" style="font-size:12.0pt;color:black">Examples:</span></b><span lang="EN-NZ" style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span lang="EN-NZ" style="font-size:12.0pt;color:black">1.All slaves have alias addresses => TU4-ECT lost after power-cycling.</span></b><span lang="EN-NZ" style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<div>
<p><span lang="SV">$ sudo ethercat slaves </span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p><span lang="SV">0  1:0  PREOP  +  AXL F BK EC, Axioline EtherCAT Fieldbus coupler </span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p><span lang="SV">1  2:0  PREOP  +  TU4-ECT </span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p><span lang="SV">2  3:0  PREOP  +  ifm IO-Link Master AL1930 </span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p><span lang="SV">3  4:0  PREOP  +  ifm IO-Link Master AL1332 </span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p><span lang="SV" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p><span lang="SV">Power-cycling...</span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
<p><span lang="SV">$ sudo ethercat slaves </span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p><span lang="SV">0  1:0  PREOP  +  AXL F BK EC, Axioline EtherCAT Fieldbus coupler </span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p><span lang="SV">1  2:0  PREOP  +  ifm IO-Link Master AL1930 </span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p><span lang="SV">2  3:0  PREOP  +  ifm IO-Link Master AL1930 </span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p><span lang="SV">3  4:0  PREOP  +  ifm IO-Link Master AL1332 </span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
<p><span lang="SV" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p><b><span lang="SV">2. No slave has an alias address => No problem after power-cycling.</span></b><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
<div>
<p style="line-height:13.5pt"><span lang="SV">$ sudo ethercat slaves <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">0  0:0  PREOP  +  AXL F BK EC, Axioline EtherCAT Fieldbus coupler <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">1  0:1  PREOP  +  ifm IO-Link Master AL1930 <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">2  0:2  PREOP  +  ifm IO-Link Master AL1332 <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">3  0:3  PREOP  +  TU4-ECT <o:p></o:p></span></p>
<p style="line-height:13.5pt"><span lang="SV"><o:p> </o:p></span></p>
<p style="line-height:13.5pt"><span lang="SV">Power-cycling...<o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">$ sudo ethercat slaves <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">0  0:0  PREOP  +  AXL F BK EC, Axioline EtherCAT Fieldbus coupler <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">1  0:1  PREOP  +  ifm IO-Link Master AL1930 <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">2  0:2  PREOP  +  ifm IO-Link Master AL1332 <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">3  0:3  PREOP  +  TU4-ECT <o:p></o:p></span></p>
<p style="line-height:13.5pt"><span lang="SV"><o:p> </o:p></span></p>
<p style="line-height:13.5pt"><b><span lang="SV">3. All slaves but the TU4 has alias addresses => No problem</span></b><span lang="SV"><o:p></o:p></span></p>
<p style="line-height:13.5pt"><span lang="SV"><o:p> </o:p></span></p>
<div>
<p style="line-height:13.5pt"><span lang="SV">$ sudo ethercat slaves <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">0  1:0  PREOP  +  AXL F BK EC, Axioline EtherCAT Fieldbus coupler <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">1  2:0  PREOP  +  ifm IO-Link Master AL1930 <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">2  3:0  PREOP  +  ifm IO-Link Master AL1332 <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">3  3:1  PREOP  +  TU4-ECT <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV"><o:p> </o:p></span></p>
<p style="line-height:13.5pt"><span lang="SV">Power-cycling...<o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">$ sudo ethercat slaves <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">0  1:0  PREOP  +  AXL F BK EC, Axioline EtherCAT Fieldbus coupler <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">1  2:0  PREOP  +  ifm IO-Link Master AL1930 <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">2  3:0  PREOP  +  ifm IO-Link Master AL1332 <o:p></o:p></span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">3  3:1  PREOP  +  TU4-ECT <o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="line-height:13.5pt"><span lang="EN-NZ" style="color:black"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span lang="SV">Best regards,</span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
<p><span lang="SV" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p><span lang="SV">Joachim Sällvin</span><span lang="SV" style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-NZ">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span lang="EN-NZ" style="color:black">Från:</span></b><span lang="EN-NZ" style="color:black"> Gavin Lambert <<a href="mailto:gavin.lambert@tomra.com">gavin.lambert@tomra.com</a>><br>
<b>Skickat:</b> den 16 februari 2020 23:58<br>
<b>Till:</b> Joachim Sällvin <<a href="mailto:joachim.sallvin@corpowerocean.com">joachim.sallvin@corpowerocean.com</a>>;
<a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a> <<a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a>><br>
<b>Ämne:</b> RE: Slave lost forever after power cycling</span><span lang="EN-NZ">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-NZ"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="xmsonormal">Have you tried putting it in different positions on the slave network?  Perhaps it only vanishes when downstream of a particular slave; then the problem might be with that slave’s configuration.<o:p></o:p></p>
<p class="xmsonormal"> <o:p></o:p></p>
<p class="xmsonormal">Etherlab typically assumes that all slaves are configured with DL auto-open mode (so that slaves that are connected or rebooted are automatically brought into the virtual ring network), but it’s possible that one of your upstream slaves
 has been configured in the explicit open mode instead.<o:p></o:p></p>
<p class="xmsonormal"> <o:p></o:p></p>
<p><strong><span style="font-family:"Calibri",sans-serif;color:#595959">Gavin Lambert</span></strong><b><span style="color:#595959"><br>
</span></b><span style="color:#595959">Senior Software Developer<o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
<p><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><img border="0" width="360" height="102" style="width:3.75in;height:1.0625in" id="_x0000_i1026" src="cid:image001.png@01D5E64C.404E8B90"><br>
<a href="https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.compacsort.com%2F&data=02%7C01%7Cgavin.lambert%40tomra.com%7C932a5056e524439f3e9308d7b3dff73a%7C4308d118edd143008a37cfeba8ad5898%7C0%7C1%7C637175646828871381&sdata=Z5OTZ6wuSh62BRkCy4b%2BDaemW5FJUuclcSDwSrTeL24%3D&reserved=0"><span style="text-decoration:none"><img border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="_x0000_i1027" src="cid:image002.png@01D5E64C.404E8B90" alt="TOMRA"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FCompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%7C932a5056e524439f3e9308d7b3dff73a%7C4308d118edd143008a37cfeba8ad5898%7C0%7C1%7C637175646828871381&sdata=2C3PsHsumk9zPRERP6QeAt4dHJgBsQNMQDNNinxFi7E%3D&reserved=0"><span style="text-decoration:none"><img border="0" width="35" height="37" style="width:.3645in;height:.3854in" id="_x0000_i1028" src="cid:image003.png@01D5E64C.404E8B90" alt="Facebook"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fcompac-sorting-equipment%2F&data=02%7C01%7Cgavin.lambert%40tomra.com%7C932a5056e524439f3e9308d7b3dff73a%7C4308d118edd143008a37cfeba8ad5898%7C0%7C1%7C637175646828881375&sdata=dKCRCMe%2FX85S8VC9ed9%2F7GslHVOmiRoBXu%2Fuo0duT9U%3D&reserved=0"><span style="text-decoration:none"><img border="0" width="35" height="37" style="width:.3645in;height:.3854in" id="_x0000_i1029" src="cid:image004.png@01D5E64C.404E8B90" alt="Linkedin"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvimeo.com%2Fcompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%7C932a5056e524439f3e9308d7b3dff73a%7C4308d118edd143008a37cfeba8ad5898%7C0%7C1%7C637175646828881375&sdata=X7%2BK25olptXT%2B3G5FftkXXrePlkJAA1bvP%2Fw7hQn%2BjM%3D&reserved=0"><span style="text-decoration:none"><img border="0" width="37" height="37" style="width:.3854in;height:.3854in" id="_x0000_i1030" src="cid:image005.png@01D5E64C.404E8B90" alt="Youtube"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fcompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%7C932a5056e524439f3e9308d7b3dff73a%7C4308d118edd143008a37cfeba8ad5898%7C0%7C1%7C637175646828891372&sdata=P7spjxnfBjlVllgrihwlBkFYxIEpRdOseylzJokqFr4%3D&reserved=0"><span style="text-decoration:none"><img border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="_x0000_i1031" src="cid:image006.png@01D5E64C.404E8B90" alt="twitter"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.instagram.com%2Fcompacsort%2F&data=02%7C01%7Cgavin.lambert%40tomra.com%7C932a5056e524439f3e9308d7b3dff73a%7C4308d118edd143008a37cfeba8ad5898%7C0%7C1%7C637175646828891372&sdata=oxz99rg6YRF5xqDilRlpnrhDWMjCdlHpr%2FHmKUVQaJQ%3D&reserved=0"><span style="text-decoration:none"><img border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="_x0000_i1032" src="cid:image007.png@01D5E64C.404E8B90" alt="instagram"></span></a><o:p></o:p></span></p>
<p><b><span style="font-size:8.5pt;color:#595959">COMPAC SORTING EQUIPMENT LTD</span></b><span style="font-size:8.5pt;color:#595959"> | 4 Henderson Pl | Onehunga | Auckland 1061 | New Zealand<br>
Switchboard: +64 96 34 00 88 | <a href="https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.tomra.com%2F&data=02%7C01%7Cgavin.lambert%40tomra.com%7C932a5056e524439f3e9308d7b3dff73a%7C4308d118edd143008a37cfeba8ad5898%7C0%7C1%7C637175646828891372&sdata=EUarHvo%2B4mqVn9VIoeSBd8Zod%2B%2BghZUPDQ%2BgyoXZj4Y%3D&reserved=0">
tomra.com</a> <o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td valign="top" style="border-top:solid #595959 1.0pt;border-left:none;border-bottom:solid #595959 1.0pt;border-right:none;padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:8.5pt;color:#595959">The information contained in this communication and any attachment is confidential and may be legally privileged. It should only be read by the person(s) to whom it is addressed. If you have received this communication
 in error, please notify the sender and delete the communication. <o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="xmsonormal"><b><span style="color:black">From:</span></b> Joachim Sällvin<br>
<b>Sent:</b> Friday, 14 February 2020 22:34<br>
<b>To:</b> <a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a><br>
<b>Subject:</b> [etherlab-users] Slave lost forever after power cycling<o:p></o:p></p>
</div>
</div>
<p class="xmsonormal"> <o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">Hi all,</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">I loose contact with my TU4-ECT (freq inverter from Nord Drive) slave after power-cycling it when there are other slaves on the bus. This happens intermittently. Only a EEPROM reset (I use TwinCAT
 for this ) can make it accessible again. When it is the only slave on the bus it seems as I can power-cycle and always access again.</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">Has anyone experienced the same problem? What might cause this? Workarounds?</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><b><span style="font-size:12.0pt;color:black">Example:</span></b><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">Before power-cycling the TU4-ECT (all slaves have been given alias addresses):</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<div>
<p><span lang="SV">$ sudo ethercat slaves </span><o:p></o:p></p>
</div>
<div>
<p><span lang="SV">0  1:0  PREOP  +  EK1100 EtherCAT-Koppler (2A E-Bus) </span><o:p></o:p></p>
</div>
<div>
<p><span lang="SV">1  2:0  PREOP  +  EL2004 4K. Dig. Ausgang 24V, 0.5A </span><o:p></o:p></p>
</div>
<div>
<p><span lang="SV">2  3:0  PREOP  +  ifm IO-Link Master AL1332 </span><o:p></o:p></p>
</div>
<div>
<p><b><span lang="SV">3  4:0  INIT   E  TU4-ECT </span></b><o:p></o:p></p>
<p><span lang="SV" style="font-size:12.0pt"> </span><o:p></o:p></p>
<p><span lang="SV">After power-cycling the TU4-ECT:</span><o:p></o:p></p>
<p><span lang="SV" style="font-size:12.0pt"> </span><o:p></o:p></p>
<div>
<p style="line-height:13.5pt"><span lang="SV">$ sudo ethercat slaves </span><o:p></o:p></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">0  1:0  PREOP  +  EK1100 EtherCAT-Koppler (2A E-Bus) </span><o:p></o:p></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">1  2:0  PREOP  +  EL2004 4K. Dig. Ausgang 24V, 0.5A </span><o:p></o:p></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">2  3:0  PREOP  +  ifm IO-Link Master AL1332 </span><o:p></o:p></p>
</div>
<div>
<p style="line-height:13.5pt"><b><span lang="SV">3  8:0  PREOP  +  ifm IO-Link Master AL1332
</span></b><o:p></o:p></p>
<p style="line-height:13.5pt"><span lang="SV"> </span><o:p></o:p></p>
<p style="line-height:13.5pt"><span lang="SV">Lost!!!</span><o:p></o:p></p>
<p style="line-height:13.5pt"><span lang="SV"> </span><o:p></o:p></p>
<p style="line-height:13.5pt"><span lang="SV">I'm using Linux kernel 4.13.13-rt5, Ubuntu 18.04 and EtherCAT master 1.5.2.</span><o:p></o:p></p>
<p style="line-height:13.5pt"><span lang="SV"> </span><o:p></o:p></p>
<p style="line-height:13.5pt"><span lang="SV"> </span><o:p></o:p></p>
<p style="line-height:13.5pt"><span lang="SV"> </span><o:p></o:p></p>
<p style="line-height:13.5pt"><span lang="SV">Joachim Sällvin</span><o:p></o:p></p>
<p style="line-height:13.5pt"><span lang="SV"> </span><o:p></o:p></p>
<p style="line-height:13.5pt"><span lang="SV"> </span><o:p></o:p></p>
<p style="line-height:13.5pt"><span lang="SV"> </span><o:p></o:p></p>
</div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
<p><span lang="SV" style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>