<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you very much for your reply.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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).</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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"?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>Examples:</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>1.All slaves have alias addresses => TU4-ECT lost after power-cycling.</b><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span>$
</span><span>sudo</span><span> </span><span>ethercat</span><span> </span><span>slaves</span></span><span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span>0  1:0  PREOP  +  AXL F BK EC,
</span><span>Axioline</span><span> </span><span>EtherCAT</span><span> </span><span>Fieldbus</span><span>
</span><span>coupler</span></span><span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span>1  2:0  PREOP  +  TU4-ECT</span></span><span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span>2  3:0  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1930</span></span><span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span>3  4:0  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1332</span></span><span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span><br>
</span></span></p>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span>Power-cycling...<br>
</span></span></p>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span>$
</span><span>sudo</span><span> </span><span>ethercat</span><span> </span><span>slaves</span></span><span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span>0  1:0  PREOP  +  AXL F BK EC,
</span><span>Axioline</span><span> </span><span>EtherCAT</span><span> </span><span>Fieldbus</span><span>
</span><span>coupler</span></span><span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span>1  2:0  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1930</span></span><span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span>2  3:0  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1930</span></span><span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif; line-height: 18px" lang="SV-SE"><span>3  4:0  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1332</span></span><span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif">
<br>
</span></p>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"><br>
</span></p>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"><b>2. No slave has an alias address => No problem after power-cycling.</b><br>
</span></p>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"></p>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>$
</span><span>sudo</span><span> </span><span>ethercat</span><span> </span><span>slaves</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>0  0:0  PREOP  +  AXL F BK EC,
</span><span>Axioline</span><span> </span><span>EtherCAT</span><span> </span><span>Fieldbus</span><span>
</span><span>coupler</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>1  0:1  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1930</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>2  0:2  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1332</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>3  0:3  PREOP  +  TU4-ECT</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif">
<br>
</span></p>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"><br>
</span></p>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>Power-cycling...</span></span><br>
</span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>$
</span><span>sudo</span><span> </span><span>ethercat</span><span> </span><span>slaves</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>0  0:0  PREOP  +  AXL F BK EC,
</span><span>Axioline</span><span> </span><span>EtherCAT</span><span> </span><span>Fieldbus</span><span>
</span><span>coupler</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>1  0:1  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1930</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>2  0:2  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1332</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>3  0:3  PREOP  +  TU4-ECT</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif">
<br>
</span></p>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"><br>
</span></p>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"><b>3. All slaves but the TU4 has alias addresses => No problem</b><br>
</span></p>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"><br>
</span></p>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"></p>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>$
</span><span>sudo</span><span> </span><span>ethercat</span><span> </span><span>slaves</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>0  1:0  PREOP  +  AXL F BK EC,
</span><span>Axioline</span><span> </span><span>EtherCAT</span><span> </span><span>Fieldbus</span><span>
</span><span>coupler</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>1  2:0  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1930</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>2  3:0  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1332</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>3  3:1  PREOP  +  TU4-ECT</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span></span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"><br>
</span></p>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"><span><span lang="SV-SE"><span>Power-cycling...</span></span></span></span></span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>$
</span><span>sudo</span><span> </span><span>ethercat</span><span> </span><span>slaves</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>0  1:0  PREOP  +  AXL F BK EC,
</span><span>Axioline</span><span> </span><span>EtherCAT</span><span> </span><span>Fieldbus</span><span>
</span><span>coupler</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>1  2:0  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1930</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>2  3:0  PREOP  + 
</span><span>ifm</span><span> IO-Link Master AL1332</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<div>
<p style="font-weight: normal; color: windowtext" lang="SV-SE"><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif" lang="SV-SE"><span>3  3:1  PREOP  +  TU4-ECT</span></span><span style="font-size: 11pt; font-family: Calibri, Calibri_MSFontService, sans-serif"> </span></p>
</div>
<br>
</span>
<p></p>
</div>
<br>
</span>
<p></p>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif">Best regards,</span></p>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif"><br>
</span></p>
<p style="font-weight: normal; color: windowtext; text-align: left" lang="SV-SE">
<span style="font-size: 11pt; line-height: 18px; font-family: Calibri, Calibri_MSFontService, sans-serif">Joachim Sällvin<br>
</span></p>
</div>
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Från:</b> Gavin Lambert <gavin.lambert@tomra.com><br>
<b>Skickat:</b> den 16 februari 2020 23:58<br>
<b>Till:</b> Joachim Sällvin <joachim.sallvin@corpowerocean.com>; etherlab-users@etherlab.org <etherlab-users@etherlab.org><br>
<b>Ämne:</b> RE: Slave lost forever after power cycling</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
span.x_EmailStyle19
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">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.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">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.</p>
<p class="x_MsoNormal"> </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" data-outlook-trace="F:1|T:1" src="cid:logo_compac_5dcf97ef-52f5-498c-8b9b-728410ddffaf.png"><br>
<a href="http://www.compacsort.com"><img border="0" alt="TOMRA" width="33" height="37" data-outlook-trace="F:1|T:1" src="cid:compacicon_82e8a8c7-154a-4a32-9720-a5badb6258e0.png"></a>
<a href="https://www.facebook.com/Compacsort"><img border="0" alt="Facebook" width="35" height="37" data-outlook-trace="F:1|T:1" src="cid:facebook_fa85b924-53b9-45cc-8162-0564f64ec3a3.png"></a>
<a href="https://www.linkedin.com/company/compac-sorting-equipment/"><img border="0" alt="Linkedin" width="35" height="37" data-outlook-trace="F:1|T:1" src="cid:linkedin_4ec016ad-84fa-443c-85a3-b9615a4ccef8.png"></a>
<a href="https://vimeo.com/compacsort"><img border="0" alt="Youtube" width="37" height="37" data-outlook-trace="F:1|T:1" src="cid:youtube_32142163-fc27-4aed-b14d-e8a377f98a6d.png"></a>
<a href="https://twitter.com/compacsort"><img border="0" alt="twitter" width="33" height="37" data-outlook-trace="F:1|T:1" src="cid:twitter_d89338d8-98c8-4b65-9a9e-7b1333160b0d.png"></a>
<a href="https://www.instagram.com/compacsort/"><img border="0" alt="instagram" width="33" height="37" data-outlook-trace="F:1|T:1" src="cid:insta2_1cd85de9-b3a2-4971-9904-52b2481a7c82.png"></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 cellspacing="0" cellpadding="0" border="1" style="border-top-style:none; border-left-style:none; border-collapse:collapse; border-bottom-style:none; border-right-style:none">
<tbody>
<tr>
<td valign="top" style="border-left-style:none; border-top:#595959 1pt solid; border-bottom:#595959 1pt solid; border-right-style:none">
<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="x_MsoNormal"><b>From:</b> Joachim Sällvin<br>
<b>Sent:</b> Friday, 14 February 2020 22:34<br>
<b>To:</b> etherlab-users@etherlab.org<br>
<b>Subject:</b> [etherlab-users] Slave lost forever after power cycling</p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">Hi all,</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><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></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">Has anyone experienced the same problem? What might cause this? Workarounds?</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><b><span style="font-size:12.0pt; color:black">Example:</span></b><span style="font-size:12.0pt; color:black"></span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">Before power-cycling the TU4-ECT (all slaves have been given alias addresses):</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<div>
<p><span lang="SV">$ sudo ethercat slaves </span><span lang="SV" style="font-size:12.0pt"></span></p>
</div>
<div>
<p><span lang="SV">0  1:0  PREOP  +  EK1100 EtherCAT-Koppler (2A E-Bus) </span><span lang="SV" style="font-size:12.0pt"></span></p>
</div>
<div>
<p><span lang="SV">1  2:0  PREOP  +  EL2004 4K. Dig. Ausgang 24V, 0.5A </span><span lang="SV" style="font-size:12.0pt"></span></p>
</div>
<div>
<p><span lang="SV">2  3:0  PREOP  +  ifm IO-Link Master AL1332 </span><span lang="SV" style="font-size:12.0pt"></span></p>
</div>
<div>
<p><b><span lang="SV">3  4:0  INIT   E  TU4-ECT </span></b><span lang="SV" style="font-size:12.0pt"></span></p>
<p><span lang="SV" style="font-size:12.0pt"> </span></p>
<p><span lang="SV">After power-cycling the TU4-ECT:</span><span lang="SV" style="font-size:12.0pt"></span></p>
<p><span lang="SV" style="font-size:12.0pt"> </span></p>
<div>
<p style="line-height:13.5pt"><span lang="SV">$ sudo ethercat slaves </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">0  1:0  PREOP  +  EK1100 EtherCAT-Koppler (2A E-Bus) </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">1  2:0  PREOP  +  EL2004 4K. Dig. Ausgang 24V, 0.5A </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">2  3:0  PREOP  +  ifm IO-Link Master AL1332 </span></p>
</div>
<div>
<p style="line-height:13.5pt"><b><span lang="SV">3  8:0  PREOP  +  ifm IO-Link Master AL1332
</span></b><span lang="SV"></span></p>
<p style="line-height:13.5pt"><span lang="SV"> </span></p>
<p style="line-height:13.5pt"><span lang="SV">Lost!!!</span></p>
<p style="line-height:13.5pt"><span lang="SV"> </span></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></p>
<p style="line-height:13.5pt"><span lang="SV"> </span></p>
<p style="line-height:13.5pt"><span lang="SV"> </span></p>
<p style="line-height:13.5pt"><span lang="SV"> </span></p>
<p style="line-height:13.5pt"><span lang="SV">Joachim Sällvin</span></p>
<p style="line-height:13.5pt"><span lang="SV"> </span></p>
<p style="line-height:13.5pt"><span lang="SV"> </span></p>
<p style="line-height:13.5pt"><span lang="SV"> </span></p>
</div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
<p><span lang="SV" style="font-size:12.0pt"> </span></p>
</div>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
</div>
</div>
</body>
</html>