<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);">
Hi,</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);">
Problem seems to have been solved!</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);">
Gavin's suggestion: <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);">
"<span lang="sv">If you <b>are</b> using the unofficial patchset, something else you could try is to add
</span><span style="font-family:Consolas" lang="sv">--disable-sii-cache</span><span lang="sv"> to your configure options and rebuild</span>"
<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);">
did the trick. Thank you so much for this!<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);">
So this is what I did:</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);">
<span>cd /usr/src/etherlab<br>
</span>
<div>sudo ./configure --disable-sii-cache --enable-generic --disable-8139too prefix=/opt/etherlab<br>
</div>
<div>sudo make <br>
</div>
<div>sudo make modules <br>
</div>
<div>sudo make modules_install<br>
</div>
<div>sudo make install<br>
</div>
<div>sudo update-grub<br>
</div>
<div>sudo reboot now<br>
</div>
<div><br>
</div>
<div>$ ethercat version<br>
</div>
<span>IgH EtherCAT master 1.5.2 35e7f0841303</span><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);">
Best Regards,</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);">
Joachim Sällvin<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);">
<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);">
<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 17 februari 2020 23:39<br>
<b>Till:</b> Graeme Foot <Graeme.Foot@touchcut.com>; 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}
@font-face
{font-family:Consolas}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:blue;
text-decoration:underline}
p.x_xmsonormal, li.x_xmsonormal, div.x_xmsonormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
span.x_EmailStyle25
{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="blue" vlink="purple">
<div class="x_WordSection1">
<p class="x_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.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
<p class="x_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.</span></p>
<p class="x_MsoNormal"><span lang="SV"> </span></p>
<p class="x_MsoNormal"><span lang="SV">If you’re not using the unofficial patchset, it might be worthwhile trying that out.</span></p>
<p class="x_MsoNormal"><span lang="SV"> </span></p>
<p class="x_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.</span></p>
<p class="x_MsoNormal"><span lang="SV"> </span></p>
<p class="x_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></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> 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</p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><span lang="EN-NZ">Hi,</span></p>
<p class="x_MsoNormal"><span lang="EN-NZ"> </span></p>
<p class="x_MsoNormal"><span lang="EN-NZ">Is it this module here (or similar)?</span></p>
<p class="x_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></span></p>
<p class="x_MsoNormal"><span lang="EN-NZ"> </span></p>
<p class="x_MsoNormal"><span lang="EN-NZ">The back of this unit has dip switches:</span></p>
<p class="x_MsoNormal"><i><span lang="EN-NZ">Second Address (DIP 2..10)</span></i></p>
<p class="x_MsoNormal"><i><span lang="EN-NZ">The "Second Address" can be set via this switch and controlled in parameter P181.</span></i></p>
<p class="x_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.</span></i></p>
<p class="x_MsoNormal"><span lang="EN-NZ"> </span></p>
<p class="x_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.</span></p>
<p class="x_MsoNormal"><span lang="EN-NZ"> </span></p>
<p class="x_MsoNormal"><span lang="EN-NZ">Use the dip switches or P160 to set your alias for this unit, not the "ethercat alias" command.</span></p>
<p class="x_MsoNormal"><span lang="EN-NZ"> </span></p>
<p class="x_MsoNormal"><span lang="EN-NZ">Regards,</span></p>
<p class="x_MsoNormal"><span lang="EN-NZ">Graeme Foot.</span></p>
<p class="x_MsoNormal"><span lang="EN-NZ"> </span></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> 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</p>
</div>
</div>
<p class="x_MsoNormal"><span lang="EN-NZ"> </span></p>
<div>
<p class="x_MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt; color:black">Thank you very much for your reply.</span></p>
</div>
<div>
<p class="x_MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_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).</span></p>
</div>
<div>
<p class="x_MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_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"?</span></p>
</div>
<div>
<p class="x_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.</span></p>
</div>
<div>
<p class="x_MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_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.</span></p>
</div>
<div>
<p class="x_MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_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"></span></p>
</div>
<div>
<p class="x_MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_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"></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 + AXL F BK EC, Axioline EtherCAT Fieldbus coupler </span><span lang="SV" style="font-size:12.0pt"></span></p>
</div>
<div>
<p><span lang="SV">1 2:0 PREOP + TU4-ECT </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 AL1930 </span><span lang="SV" style="font-size:12.0pt"></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"></span></p>
</div>
<div>
<p><span lang="SV" style="font-size:12.0pt"> </span></p>
<p><span lang="SV">Power-cycling...</span><span lang="SV" style="font-size:12.0pt"></span></p>
<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 + AXL F BK EC, Axioline EtherCAT Fieldbus coupler </span><span lang="SV" style="font-size:12.0pt"></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"></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"></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"></span></p>
<p><span lang="SV" style="font-size:12.0pt"> </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"></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 0:0 PREOP + AXL F BK EC, Axioline EtherCAT Fieldbus coupler </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">1 0:1 PREOP + ifm IO-Link Master AL1930 </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">2 0:2 PREOP + ifm IO-Link Master AL1332 </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">3 0:3 PREOP + TU4-ECT </span></p>
<p style="line-height:13.5pt"><span lang="SV"> </span></p>
<p style="line-height:13.5pt"><span lang="SV">Power-cycling...</span></p>
</div>
<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 0:0 PREOP + AXL F BK EC, Axioline EtherCAT Fieldbus coupler </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">1 0:1 PREOP + ifm IO-Link Master AL1930 </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">2 0:2 PREOP + ifm IO-Link Master AL1332 </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">3 0:3 PREOP + TU4-ECT </span></p>
<p style="line-height:13.5pt"><span lang="SV"> </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"></span></p>
<p style="line-height:13.5pt"><span lang="SV"> </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 + AXL F BK EC, Axioline EtherCAT Fieldbus coupler </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">1 2:0 PREOP + ifm IO-Link Master AL1930 </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"><span lang="SV">3 3:1 PREOP + TU4-ECT </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV"> </span></p>
<p style="line-height:13.5pt"><span lang="SV">Power-cycling...</span></p>
</div>
<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 + AXL F BK EC, Axioline EtherCAT Fieldbus coupler </span></p>
</div>
<div>
<p style="line-height:13.5pt"><span lang="SV">1 2:0 PREOP + ifm IO-Link Master AL1930 </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"><span lang="SV">3 3:1 PREOP + TU4-ECT </span></p>
</div>
<p class="x_MsoNormal" style="line-height:13.5pt"><span lang="EN-NZ" style="color:black"> </span></p>
</div>
<p class="x_MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt; color:black"> </span></p>
<p><span lang="SV">Best regards,</span><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">Joachim Sällvin</span><span lang="SV" style="font-size:12.0pt"></span></p>
</div>
<p class="x_MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt; color:black"> </span></p>
</div>
<div class="x_MsoNormal" align="center" style="text-align:center"><span lang="EN-NZ">
<hr size="2" width="98%" align="center">
</span></div>
<div id="x_divRplyFwdMsg">
<p class="x_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">
</span></p>
<div>
<p class="x_MsoNormal"><span lang="EN-NZ"> </span></p>
</div>
</div>
<div>
<div>
<p class="x_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.</p>
<p class="x_xmsonormal"> </p>
<p class="x_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.</p>
<p class="x_xmsonormal"> </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</span></p>
<table class="x_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" id="x__x0000_i1026" style="width:3.75in; height:1.0625in" data-outlook-trace="F:1|T:1" 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" id="x__x0000_i1027" alt="TOMRA" style="width:.3437in; height:.3854in" data-outlook-trace="F:1|T:1" src="cid:image002.png@01D5E64C.404E8B90"></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" id="x__x0000_i1028" alt="Facebook" style="width:.3645in; height:.3854in" data-outlook-trace="F:1|T:1" src="cid:image003.png@01D5E64C.404E8B90"></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" id="x__x0000_i1029" alt="Linkedin" style="width:.3645in; height:.3854in" data-outlook-trace="F:1|T:1" src="cid:image004.png@01D5E64C.404E8B90"></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" id="x__x0000_i1030" alt="Youtube" style="width:.3854in; height:.3854in" data-outlook-trace="F:1|T:1" src="cid:image005.png@01D5E64C.404E8B90"></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" id="x__x0000_i1031" alt="twitter" style="width:.3437in; height:.3854in" data-outlook-trace="F:1|T:1" src="cid:image006.png@01D5E64C.404E8B90"></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" id="x__x0000_i1032" alt="instagram" style="width:.3437in; height:.3854in" data-outlook-trace="F:1|T:1" src="cid:image007.png@01D5E64C.404E8B90"></span></a></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> </span></p>
<table class="x_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. </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="x_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</p>
</div>
</div>
<p class="x_xmsonormal"> </p>
<div>
<p class="x_xmsonormal"><span style="font-size:12.0pt; color:black">Hi all,</span></p>
</div>
<div>
<p class="x_xmsonormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_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></p>
</div>
<div>
<p class="x_xmsonormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal"><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_xmsonormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal"><b><span style="font-size:12.0pt; color:black">Example:</span></b></p>
</div>
<div>
<p class="x_xmsonormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal"><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_xmsonormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<div>
<p><span lang="SV">$ sudo ethercat slaves </span></p>
</div>
<div>
<p><span lang="SV">0 1:0 PREOP + EK1100 EtherCAT-Koppler (2A E-Bus) </span></p>
</div>
<div>
<p><span lang="SV">1 2:0 PREOP + EL2004 4K. Dig. Ausgang 24V, 0.5A </span></p>
</div>
<div>
<p><span lang="SV">2 3:0 PREOP + ifm IO-Link Master AL1332 </span></p>
</div>
<div>
<p><b><span lang="SV">3 4:0 INIT E TU4-ECT </span></b></p>
<p><span lang="SV" style="font-size:12.0pt"> </span></p>
<p><span lang="SV">After power-cycling the TU4-ECT:</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></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_xmsonormal"><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_xmsonormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>