<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);">
I think you're right Gavin:
<div dir="ltr">
<div> </div>
</div>
<div lang="EN-US">
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif">
"The key issue is probably the “EEPROM No Access” error from the slave". <br>
</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif">
<br>
</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif">
I found the link below and entered:</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif">
<br>
</p>
<div style="margin: 0px 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
$ ethercat -p1 reg_write 0x500 -tbool 1</div>
<div style="margin: 0px 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
<br>
</div>
<div style="margin: 0px 0cm; font-size: 11pt; font-family: "Calibri", sans-serif;">
and now I the slave goes to OP and I can read the encoder position value. After power cycling I have to do it again. I'm wondering if it is correct/possible to let my application do this or if there is a way to set this bit persitently? How do I get information/documentation
regarding register 0x500?<br>
</div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif">
<br>
</p>
</div>
</div>
</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);">
<a href="http://lists.etherlab.org/pipermail/etherlab-dev/2009/000132.html" id="LPlnk347987">http://lists.etherlab.org/pipermail/etherlab-dev/2009/000132.html</a><br>
</div>
<div>
<div id="appendonsend"></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)">
Many thanks,</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</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Corpower Ocean<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Från:</b> Gavin Lambert <gavin.lambert@tomra.com><br>
<b>Skickat:</b> den 17 april 2020 01:28<br>
<b>Till:</b> Joachim Sällvin <joachim.sallvin@corpowerocean.com>; etherlab-users@etherlab.org <etherlab-users@etherlab.org><br>
<b>Ämne:</b> RE: reg_read ==> Failed to read register</font>
<div> </div>
</div>
<div lang="EN-US">
<div class="x_WordSection1">
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
The key issue is probably the “EEPROM No Access” error from the slave.</p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
</p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
Unless you passed --disable-sii-assign at configure time, Etherlab should be assigning EEPROM control to the slave as part of the configuration process, which should avoid that sort of error. Perhaps the timing of this isn’t what your slave is expecting, or
perhaps this error means something different – it’s possible it may be using it to indicate that there’s corrupt or otherwise unexpected data in the EEPROM, or for something entirely unrelated. You may need to ask the slave vendor for more information.</p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
</p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
Since you’re saying it works fine with TwinCAT, you could perhaps take Wireshark captures of the startup configuration sequences from both and see where they differ – there will likely be many entirely benign differences, but it may be possible that there’s
some additional SDO configuration (ecrt_slave_config_sdo*) required, or it may give you a hint to something else. Diagnosing this does require a fairly in-depth knowledge of EtherCAT registers and protocol, however, along with the slave-specific implementation.
(But again it’s possible the slave vendor may be able to help you with that.)</p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
</p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
Some slaves rely on configuration information specified only in the SII XML file and not in the SII EEPROM; TwinCAT uses the former while Etherlab uses the latter.</p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
</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"></p>
<table>
<tbody style="font-size:75%; font-family:Calibri,Candara,Segoe,Optima,Arial,sans-serif; color:rgb(89,89,89)">
</tbody>
</table>
<p></p>
<p style="font-size:10pt; font-family:Arial"><img style="max-width: 100%; height: auto;" 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 alt="TOMRA" width="33" height="37" border="0" 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 alt="Facebook" width="35" height="37" border="0" 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 alt="Linkedin" width="35" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:linkedin_4ec016ad-84fa-443c-85a3-b9615a4ccef8.png"></a>
<a href="https://vimeo.com/compacsort"><img alt="Youtube" width="37" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:youtube_32142163-fc27-4aed-b14d-e8a377f98a6d.png"></a>
<a href="https://twitter.com/compacsort"><img alt="twitter" width="33" height="37" border="0" 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 alt="instagram" width="33" height="37" border="0" 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 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="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<b>From:</b> Joachim Sällvin <joachim.sallvin@corpowerocean.com> <br>
<b>Sent:</b> Thursday, 16 April 2020 21:09<br>
<b>To:</b> Gavin Lambert <gavin.lambert@tomra.com>; etherlab-users@etherlab.org<br>
<b>Subject:</b> Sv: reg_read ==> Failed to read register</p>
</div>
</div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
</p>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Thank you, clearly I have misunderstood this.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">ethercat -p1 upload -t uint32 0x6004 0x00 answers with</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">0x00000000 0 (encoder position value) which is not what I expect. It all works fine with TwinCAT and I get resonable values.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">When I run my application I can not make any of my slaves go into OP state and I can not read the process data. This works fine with TwinCAT.
</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Any suggestions where to start debugging this?</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">When I run my application:</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">$ ethercat slaves</span></p>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">0 701:0 PREOP + EP3174-0002 4K. Ana. Eingang +/-10V, 0-10V, 0/4-20mA konfigurie</span></p>
</div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">1 601:0 PREOP+ERROR E LeineAndLinde Encoder</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">My dmesg printout (debug level 1 rather long I'm afraid):</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160715.196194] EtherCAT 0: 1 slave(s) responding on main device.</span></p>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160715.230681] EtherCAT 0: Scanning bus.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160731.152010] EtherCAT 0: Bus scanning completed in 15952 ms.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160731.152013] EtherCAT 0: Using slave main-0 as DC reference clock.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160731.172030] EtherCAT WARNING 0: No app_time received up to now, abort DC time offset calculation.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160756.175539] e1000e: enp11s0 NIC Link is Down</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160756.180245] EtherCAT 0: Link state of ecm0 changed to DOWN.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160756.191321] EtherCAT WARNING 0: 2 datagrams TIMED OUT!</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160756.191333] EtherCAT ERROR 0-main-0: Failed to receive AL state datagram: Datagram error.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160756.207260] EtherCAT 0: 0 slave(s) responding on main device.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160758.383706] EtherCAT 0: Releasing master...</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160758.383740] EtherCAT 0: Master thread exited.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160758.383748] EtherCAT 0: Starting EtherCAT-IDLE thread.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160758.383788] EtherCAT 0: Released.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160758.415495] EtherCAT WARNING: Datagram ffff8da6d7024340 (master-fsm) was SKIPPED 1 time.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160778.270034] EtherCAT 0: Master thread exited.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160778.270049] EtherCAT 0: Releasing main device 2C:94:64:00:26:63.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160778.317206] ec_generic: Unloading.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160778.340876] EtherCAT: Master module cleaned up.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160815.777706] EtherCAT: Master driver 1.5.2 35e7f0841303</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160815.777955] EtherCAT: 1 master waiting for devices.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160815.786627] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 35e7f0841303</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160815.786651] EtherCAT: Accepting 2C:94:64:00:26:63 as main device for master 0.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160815.786661] ec_generic: Binding socket to interface 6 (enp11s0).</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160815.799994] EtherCAT 0: Starting EtherCAT-IDLE thread.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160823.431705] EtherCAT 0: Master thread exited.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160823.431709] EtherCAT 0: Releasing main device 2C:94:64:00:26:63.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160823.464663] ec_generic: Unloading.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160823.488998] EtherCAT: Master module cleaned up.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160858.720503] e1000e: enp11s0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160858.720634] e1000e 0000:0b:00.0 enp11s0: 10/100 speed: disabling TSO</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160859.579559] e1000e: enp11s0 NIC Link is Down</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160861.261205] e1000e: enp11s0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160861.261336] e1000e 0000:0b:00.0 enp11s0: 10/100 speed: disabling TSO</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160872.605681] EtherCAT: Master driver 1.5.2 35e7f0841303</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160872.605933] EtherCAT: 1 master waiting for devices.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160872.613974] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 35e7f0841303</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160872.613996] EtherCAT: Accepting 2C:94:64:00:26:63 as main device for master 0.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160872.614002] ec_generic: Binding socket to interface 6 (enp11s0).</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160872.644426] EtherCAT 0: Starting EtherCAT-IDLE thread.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160872.644577] EtherCAT 0: Link state of ecm0 changed to UP.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160872.652413] EtherCAT 0: 1 slave(s) responding on main device.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160872.652420] EtherCAT 0: Slave states on main device: PREOP.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160872.653254] EtherCAT 0: Scanning bus.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160873.054044] EtherCAT 0: Bus scanning completed in 400 ms.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160873.054046] EtherCAT 0: Using slave main-0 as DC reference clock.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160873.092391] EtherCAT 0: Slave states on main device: INIT.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160873.140447] EtherCAT 0: Slave states on main device: PREOP.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160945.654077] EtherCAT 0: 3 slave(s) responding on main device.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160945.655528] EtherCAT 0: Scanning bus.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160947.943148] EtherCAT 0: Bus scanning completed in 2288 ms.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160947.943150] EtherCAT 0: Using slave main-0 as DC reference clock.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160947.982211] EtherCAT 0: Slave states on main device: INIT, PREOP.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160948.014240] EtherCAT 0: Slave states on main device: INIT.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160948.046242] EtherCAT 0: Slave states on main device: PREOP.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160984.085059] EtherCAT 0: 2 slave(s) responding on main device.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160984.086367] EtherCAT 0: Scanning bus.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160984.487953] EtherCAT 0: Bus scanning completed in 400 ms.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160984.487955] EtherCAT 0: Using slave main-0 as DC reference clock.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160984.517021] EtherCAT 0: Slave states on main device: INIT, PREOP.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160984.541063] EtherCAT 0: Slave states on main device: INIT.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160984.565093] EtherCAT 0: Slave states on main device: INIT, PREOP.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[160984.589103] EtherCAT 0: Slave states on main device: PREOP.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161157.597419] EtherCAT: Requesting master 0...</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161157.597424] EtherCAT: Successfully requested master 0.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161157.597587] EtherCAT 0: Domain0: Logical address 0x00000000, 36 byte, expected working counter 2.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161157.597589] EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 36 byte, type LRD at ffff8da6f70ecc18.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161157.597601] EtherCAT 0: Master thread exited.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161157.597603] EtherCAT 0: Starting EtherCAT-OP thread.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161157.802764] EtherCAT WARNING 0: No app_time received up to now, abort DC time offset calculation.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161158.602536] EtherCAT 0: Slave states on main device: INIT, PREOP.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161159.706658] EtherCAT 0: Slave states on main device: PREOP.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161168.507348] EtherCAT ERROR 0-main-1: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161168.707340] EtherCAT 0: Slave states on main device: PREOP + ERROR.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161168.707362] EtherCAT ERROR 0-main-1: AL status message 0x0050: "EEPROM No Access".</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161169.107372] EtherCAT 0-main-1: Acknowledged state PREOP.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[161169.307400] EtherCAT 0: Slave states on main device: PREOP.</span></p>
</div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Regards,</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Joachim</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;text-align:center" align="center">
<hr width="98%" size="2" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<b><span style="color:black">Från:</span></b><span style="color:black"> Gavin Lambert <<a href="mailto:gavin.lambert@tomra.com">gavin.lambert@tomra.com</a>><br>
<b>Skickat:</b> den 15 april 2020 01:49<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: reg_read ==> Failed to read register</span> </p>
<div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
</p>
</div>
</div>
<div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
Err, “upload”, I mean. Uploading is reading from the device. I always get those ones mixed up.</p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
</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" cellpadding="0" border="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 id="x_Picture_x0020_2" style="width:3.75in; height:1.0625in" width="360" height="102" border="0" data-outlook-trace="F:1|T:1" src="cid:image001.png@01D614A9.04047D80"></span><span style="font-size:10.0pt; font-family:"Arial",sans-serif"><br>
</span><a href="https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.compacsort.com%2F&data=02%7C01%7Cgavin.lambert%40tomra.com%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336534269&sdata=BPYLcXdhoVHJdEsH1IZfZpux%2BZDf09CqfIerhoHnI1M%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_Picture_x0020_3" alt="TOMRA" style="width:.3437in; height:.3854in" width="33" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image002.png@01D614A9.04047D80"></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%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336544228&sdata=BiNHShHb%2FOA%2BDpya54MMJggYgIdJWtm%2FdBdPvQ%2FIdxI%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_Picture_x0020_4" alt="Facebook" style="width:.3645in; height:.3854in" width="35" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image003.png@01D614A9.04047D80"></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%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336544228&sdata=rgHs89JEqphZd99oz4rtejZ0W6vhluPi3J7UQl8KREM%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_Picture_x0020_5" alt="Linkedin" style="width:.3645in; height:.3854in" width="35" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image004.png@01D614A9.04047D80"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvimeo.com%2Fcompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336554179&sdata=7fgfYvxa89KHXBqp0eQI0S7b%2F4JJgv7Ar1R6xzuOu3I%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_Picture_x0020_6" alt="Youtube" style="width:.3854in; height:.3854in" width="37" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image005.png@01D614A9.04047D80"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fcompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336554179&sdata=G11B3U05xVFQcIBMGirS9bWgwj03kNUF3RyyuvzJKyE%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_Picture_x0020_7" alt="twitter" style="width:.3437in; height:.3854in" width="33" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image006.png@01D614A9.04047D80"></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%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336554179&sdata=iIzuMBTzsI8G95ulBMA%2F2OxDP%2BVYqdWAXreRVHuy8kQ%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_Picture_x0020_8" alt="instagram" style="width:.3437in; height:.3854in" width="33" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image007.png@01D614A9.04047D80"></span></a><span style="font-size:10.0pt; font-family:"Arial",sans-serif"></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%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336564143&sdata=UabRFhiylw%2B8sAfk0X2HV1VUP74ggiwcL6IkqD7TkpE%3D&reserved=0">
tomra.com</a> </span></p>
<table class="x_MsoNormalTable" style="border-collapse:collapse" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="border-top:solid #595959 1.0pt; border-left:none; border-bottom:solid #595959 1.0pt; border-right:none; padding:0cm 0cm 0cm 0cm" valign="top">
<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" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<b>From:</b> Gavin Lambert<br>
<b>Sent:</b> Wednesday, 15 April 2020 10:19<br>
<b>To:</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><br>
<b>Subject:</b> Re: [etherlab-users] reg_read ==> Failed to read register</p>
</div>
</div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
</p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
Register 0x6004 doesn’t exist. All registers have addresses < 0x1000. Perhaps you meant to use “download” instead of “reg_read”?</p>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
</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" cellpadding="0" border="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 id="x_x_Picture_x0020_1" style="width:3.75in; height:1.0625in" width="360" height="102" border="0" data-outlook-trace="F:1|T:1" src="cid:image001.png@01D614A9.04047D80"></span><span style="font-size:10.0pt; font-family:"Arial",sans-serif"><br>
</span><a href="https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.compacsort.com%2F&data=02%7C01%7Cgavin.lambert%40tomra.com%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336564143&sdata=fiJUKJ0Qn5njxHJoB%2FcsyTVAHoJ5sfuziO1PHI%2FzAoM%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_x_Picture_x0020_2" alt="TOMRA" style="width:.3437in; height:.3854in" width="33" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image002.png@01D614A9.04047D80"></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%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336574097&sdata=Iw%2FSkjYoFPp27RLMUkSTgB27MqtDrmHlU68wwg5dvh0%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_x_Picture_x0020_3" alt="Facebook" style="width:.3645in; height:.3854in" width="35" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image003.png@01D614A9.04047D80"></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%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336574097&sdata=cb7FjqWtXJ%2Bdthhjuzm4sm1rIjystdUNO1Xdyam06jk%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_x_Picture_x0020_4" alt="Linkedin" style="width:.3645in; height:.3854in" width="35" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image004.png@01D614A9.04047D80"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvimeo.com%2Fcompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336584055&sdata=z0T%2F9uFTNfenJM9rr7usvhiAoLCbjZMri1IT3JAG%2F6w%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_x_Picture_x0020_5" alt="Youtube" style="width:.3854in; height:.3854in" width="37" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image005.png@01D614A9.04047D80"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fcompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336584055&sdata=nDQ2IsbOwkdUiQiMG8DWrcjmVMmjeCTy7I3SEcK327c%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_x_Picture_x0020_6" alt="twitter" style="width:.3437in; height:.3854in" width="33" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image006.png@01D614A9.04047D80"></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%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336584055&sdata=0EtDGLkMXdkR5VY3hzh3WY3nk39legJCN6s2PQGHFGg%3D&reserved=0"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; text-decoration:none"><img id="x_x_Picture_x0020_7" alt="instagram" style="width:.3437in; height:.3854in" width="33" height="37" border="0" data-outlook-trace="F:1|T:1" src="cid:image007.png@01D614A9.04047D80"></span></a></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%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336594015&sdata=b%2FfO5t61oXh1b%2FB5CQ8tGs%2BQCsRq3ypJQWzQ9vVLOlk%3D&reserved=0">
tomra.com</a> </span></p>
<table class="x_MsoNormalTable" style="border-collapse:collapse" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="border-top:solid #595959 1.0pt; border-left:none; border-bottom:solid #595959 1.0pt; border-right:none; padding:0cm 0cm 0cm 0cm" valign="top">
<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" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<b>From:</b> Joachim Sällvin<br>
<b>Sent:</b> Tuesday, 14 April 2020 21:55<br>
<b>To:</b> <a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a><br>
<b>Subject:</b> [etherlab-users] reg_read ==> Failed to read register</p>
</div>
</div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
</p>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Hi, what could cause this? What should I try to do next, ideas?</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<b><span style="font-size:12.0pt; color:black">$ ethercat -p1 reg_read 0x6004 4</span></b></p>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Failed to read register: Input/output error</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<b><span style="font-size:12.0pt; color:black">dmesg </span></b></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">[417280.571018] Datagram received.<br>
[417280.571024] EtherCAT ERROR 0-main-1: Register request failed (working counter is 0).</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">My application fails to exchange process data so I figured I'd try the command line tool. What could cause this kind of problem?
</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Some info about my system:</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<b><span style="font-size:12.0pt; color:black">$ ethercat version</span></b></p>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">IgH EtherCAT master 1.5.2 35e7f0841303</span></p>
</div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">$ ethercat slaves</span></p>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">0 701:0 PREOP + EP3174-0002 4K. Ana. Eingang +/-10V, 0-10V, 0/4-20mA konfigurie</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">1 601:0 PREOP + LeineAndLinde Encoder</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">$ ethercat -p1 cstruct</span></p>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">/* Master 0, Slave 1, "LeineAndLinde Encoder"</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> * Vendor ID: 0x00000194</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> * Product code: 0x00000600</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> * Revision number: 0x00000001</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> */</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">ec_pdo_entry_info_t slave_1_pdo_entries[] = {</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {0x6004, 0x00, 32},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {0x1001, 0x00, 16},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {0x6503, 0x00, 16},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {0x6505, 0x00, 16},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {0x2060, 0x00, 32},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {0x6030, 0x00, 16},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {0x6040, 0x00, 16},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {0x2100, 0x00, 16},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">};</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">ec_pdo_info_t slave_1_pdos[] = {</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {0x1a00, 8, slave_1_pdo_entries + 0}, /* Configurable TxPDO map with max 8 PDO */</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">};</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">ec_sync_info_t slave_1_syncs[] = {</span></p>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {0, EC_DIR_OUTPUT, 0, NULL, EC_WD_DISABLE},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {1, EC_DIR_INPUT, 0, NULL, EC_WD_DISABLE},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {2, EC_DIR_OUTPUT, 0, NULL, EC_WD_ENABLE},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {3, EC_DIR_INPUT, 1, slave_1_pdos + 0, EC_WD_DISABLE},</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> {0xff}</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">};</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> Thanks in advance,</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Joachim Sällvin</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>