<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
{mso-style-name:x_msonormal;
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">The key issue is probably the “EEPROM No Access” error from the slave.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<P
style="FONT-SIZE: 100%; FONT-FAMILY: Calibri, Candara, Segoe, Optima, Arial, sans-serif; COLOR: rgb(89,89,89)"><STRONG>Gavin Lambert<BR></STRONG>Senior Software Developer<BR></P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
<TABLE>
<TBODY
style="FONT-SIZE: 75%; FONT-FAMILY: Calibri, Candara, Segoe, Optima, Arial, sans-serif; COLOR: rgb(89,89,89)"> </TBODY></TABLE></P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><IMG border=0
src="cid:logo_compac_5dcf97ef-52f5-498c-8b9b-728410ddffaf.png"><BR><A
href="http://www.compacsort.com"><IMG border=0 alt=TOMRA
src="cid:compacicon_82e8a8c7-154a-4a32-9720-a5badb6258e0.png" width=33
height=37></A> <A href="https://www.facebook.com/Compacsort"><IMG border=0
alt=Facebook src="cid:facebook_fa85b924-53b9-45cc-8162-0564f64ec3a3.png" width=35
height=37></A> <A
href="https://www.linkedin.com/company/compac-sorting-equipment/"><IMG border=0
alt=Linkedin src="cid:linkedin_4ec016ad-84fa-443c-85a3-b9615a4ccef8.png" width=35
height=37></A> <A href="https://vimeo.com/compacsort"><IMG border=0 alt=Youtube
src="cid:youtube_32142163-fc27-4aed-b14d-e8a377f98a6d.png" width=37 height=37></A>
<A href="https://twitter.com/compacsort"><IMG border=0 alt=twitter
src="cid:twitter_d89338d8-98c8-4b65-9a9e-7b1333160b0d.png" width=33 height=37></A>
<A href="https://www.instagram.com/compacsort/"><IMG border=0 alt=instagram
src="cid:insta2_1cd85de9-b3a2-4971-9904-52b2481a7c82.png" width=33 height=37></A>
</P>
<P
style="FONT-SIZE: 75%; FONT-FAMILY: Calibri, Candara, Segoe, Optima, Arial, sans-serif; COLOR: rgb(89,89,89)"><B>COMPAC
SORTING EQUIPMENT LTD</B> | 4 Henderson Pl | Onehunga | Auckland 1061 | New
Zealand<BR>Switchboard: +64 96 34 00 88 | <A
href="http://www.tomra.com">tomra.com</A> </P>
<TABLE
style="BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-COLLAPSE: collapse; BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none"
cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD
style="BORDER-LEFT-STYLE: none; BORDER-TOP: #595959 1pt solid; BORDER-BOTTOM: #595959 1pt solid; BORDER-RIGHT-STYLE: none"
vAlign=top>
<P
style="FONT-SIZE: 75%; FONT-FAMILY: Calibri, Candara, Segoe, Optima, Arial, sans-serif; COLOR: rgb(89,89,89)">The
information contained in this communication and any attachment is
confidential and may be legally privileged. It should only be read by the
person(s) to whom it is addressed. If you have received this communication
in error, please notify the sender and delete the communication.
</P></TD></TR></TBODY></TABLE>
<P
style="FONT-SIZE: 75%; FONT-FAMILY: Calibri, Candara, Segoe, Optima, Arial, sans-serif; COLOR: rgb(89,89,89)"></P><div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> 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<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Thank you, clearly I have misunderstood this.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">ethercat -p1 upload -t uint32 0x6004 0x00 answers with<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><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.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><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.
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Any suggestions where to start debugging this?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">When I run my application:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">$ ethercat slaves<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">0 701:0 PREOP + EP3174-0002 4K. Ana. Eingang +/-10V, 0-10V, 0/4-20mA konfigurie<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">1 601:0 PREOP+ERROR E LeineAndLinde Encoder<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">My dmesg printout (debug level 1 rather long I'm afraid):<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160715.196194] EtherCAT 0: 1 slave(s) responding on main device.<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160715.230681] EtherCAT 0: Scanning bus.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160731.152010] EtherCAT 0: Bus scanning completed in 15952 ms.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160731.152013] EtherCAT 0: Using slave main-0 as DC reference clock.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><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.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160756.175539] e1000e: enp11s0 NIC Link is Down<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160756.180245] EtherCAT 0: Link state of ecm0 changed to DOWN.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160756.191321] EtherCAT WARNING 0: 2 datagrams TIMED OUT!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160756.191333] EtherCAT ERROR 0-main-0: Failed to receive AL state datagram: Datagram error.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160756.207260] EtherCAT 0: 0 slave(s) responding on main device.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160758.383706] EtherCAT 0: Releasing master...<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160758.383740] EtherCAT 0: Master thread exited.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160758.383748] EtherCAT 0: Starting EtherCAT-IDLE thread.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160758.383788] EtherCAT 0: Released.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160758.415495] EtherCAT WARNING: Datagram ffff8da6d7024340 (master-fsm) was SKIPPED 1 time.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160778.270034] EtherCAT 0: Master thread exited.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160778.270049] EtherCAT 0: Releasing main device 2C:94:64:00:26:63.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160778.317206] ec_generic: Unloading.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160778.340876] EtherCAT: Master module cleaned up.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160815.777706] EtherCAT: Master driver 1.5.2 35e7f0841303<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160815.777955] EtherCAT: 1 master waiting for devices.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160815.786627] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 35e7f0841303<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160815.786651] EtherCAT: Accepting 2C:94:64:00:26:63 as main device for master 0.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160815.786661] ec_generic: Binding socket to interface 6 (enp11s0).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160815.799994] EtherCAT 0: Starting EtherCAT-IDLE thread.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160823.431705] EtherCAT 0: Master thread exited.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160823.431709] EtherCAT 0: Releasing main device 2C:94:64:00:26:63.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160823.464663] ec_generic: Unloading.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160823.488998] EtherCAT: Master module cleaned up.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160858.720503] e1000e: enp11s0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160858.720634] e1000e 0000:0b:00.0 enp11s0: 10/100 speed: disabling TSO<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160859.579559] e1000e: enp11s0 NIC Link is Down<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160861.261205] e1000e: enp11s0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160861.261336] e1000e 0000:0b:00.0 enp11s0: 10/100 speed: disabling TSO<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160872.605681] EtherCAT: Master driver 1.5.2 35e7f0841303<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160872.605933] EtherCAT: 1 master waiting for devices.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160872.613974] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 35e7f0841303<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160872.613996] EtherCAT: Accepting 2C:94:64:00:26:63 as main device for master 0.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160872.614002] ec_generic: Binding socket to interface 6 (enp11s0).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160872.644426] EtherCAT 0: Starting EtherCAT-IDLE thread.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160872.644577] EtherCAT 0: Link state of ecm0 changed to UP.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160872.652413] EtherCAT 0: 1 slave(s) responding on main device.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160872.652420] EtherCAT 0: Slave states on main device: PREOP.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160872.653254] EtherCAT 0: Scanning bus.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160873.054044] EtherCAT 0: Bus scanning completed in 400 ms.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160873.054046] EtherCAT 0: Using slave main-0 as DC reference clock.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160873.092391] EtherCAT 0: Slave states on main device: INIT.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160873.140447] EtherCAT 0: Slave states on main device: PREOP.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160945.654077] EtherCAT 0: 3 slave(s) responding on main device.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160945.655528] EtherCAT 0: Scanning bus.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160947.943148] EtherCAT 0: Bus scanning completed in 2288 ms.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160947.943150] EtherCAT 0: Using slave main-0 as DC reference clock.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160947.982211] EtherCAT 0: Slave states on main device: INIT, PREOP.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160948.014240] EtherCAT 0: Slave states on main device: INIT.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160948.046242] EtherCAT 0: Slave states on main device: PREOP.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160984.085059] EtherCAT 0: 2 slave(s) responding on main device.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160984.086367] EtherCAT 0: Scanning bus.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160984.487953] EtherCAT 0: Bus scanning completed in 400 ms.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160984.487955] EtherCAT 0: Using slave main-0 as DC reference clock.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160984.517021] EtherCAT 0: Slave states on main device: INIT, PREOP.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160984.541063] EtherCAT 0: Slave states on main device: INIT.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160984.565093] EtherCAT 0: Slave states on main device: INIT, PREOP.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[160984.589103] EtherCAT 0: Slave states on main device: PREOP.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[161157.597419] EtherCAT: Requesting master 0...<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[161157.597424] EtherCAT: Successfully requested master 0.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[161157.597587] EtherCAT 0: Domain0: Logical address 0x00000000, 36 byte, expected working counter 2.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><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.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[161157.597601] EtherCAT 0: Master thread exited.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[161157.597603] EtherCAT 0: Starting EtherCAT-OP thread.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><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.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[161158.602536] EtherCAT 0: Slave states on main device: INIT, PREOP.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[161159.706658] EtherCAT 0: Slave states on main device: PREOP.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><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).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[161168.707340] EtherCAT 0: Slave states on main device: PREOP + ERROR.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[161168.707362] EtherCAT ERROR 0-main-1: AL status message 0x0050: "EEPROM No Access".<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[161169.107372] EtherCAT 0-main-1: Acknowledged state PREOP.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">[161169.307400] EtherCAT 0: Slave states on main device: PREOP.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Regards,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Joachim<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><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> <o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="xmsonormal">Err, “upload”, I mean. Uploading is reading from the device. I always get those ones mixed up.<o:p></o:p></p>
<p class="xmsonormal"> <o:p></o:p></p>
<p><strong><span style="font-family:"Calibri",sans-serif;color:#595959">Gavin Lambert</span></strong><b><span style="color:#595959"><br>
</span></b><span style="color:#595959">Senior Software Developer<o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
<p><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><img border="0" width="360" height="102" style="width:3.75in;height:1.0625in" id="Picture_x0020_2" 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 border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="Picture_x0020_3" src="cid:image002.png@01D614A9.04047D80" alt="TOMRA"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FCompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%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 border="0" width="35" height="37" style="width:.3645in;height:.3854in" id="Picture_x0020_4" src="cid:image003.png@01D614A9.04047D80" alt="Facebook"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fcompac-sorting-equipment%2F&data=02%7C01%7Cgavin.lambert%40tomra.com%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 border="0" width="35" height="37" style="width:.3645in;height:.3854in" id="Picture_x0020_5" src="cid:image004.png@01D614A9.04047D80" alt="Linkedin"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvimeo.com%2Fcompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%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 border="0" width="37" height="37" style="width:.3854in;height:.3854in" id="Picture_x0020_6" src="cid:image005.png@01D614A9.04047D80" alt="Youtube"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fcompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%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 border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="Picture_x0020_7" src="cid:image006.png@01D614A9.04047D80" alt="twitter"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.instagram.com%2Fcompacsort%2F&data=02%7C01%7Cgavin.lambert%40tomra.com%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 border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="Picture_x0020_8" src="cid:image007.png@01D614A9.04047D80" alt="instagram"></span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p><b><span style="font-size:8.5pt;color:#595959">COMPAC SORTING EQUIPMENT LTD</span></b><span style="font-size:8.5pt;color:#595959"> | 4 Henderson Pl | Onehunga | Auckland 1061 | New Zealand<br>
Switchboard: +64 96 34 00 88 | <a href="https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.tomra.com%2F&data=02%7C01%7Cgavin.lambert%40tomra.com%7C84a6c28927c24a78341608d7e1e5c784%7C4308d118edd143008a37cfeba8ad5898%7C0%7C0%7C637226249336564143&sdata=UabRFhiylw%2B8sAfk0X2HV1VUP74ggiwcL6IkqD7TkpE%3D&reserved=0">
tomra.com</a> <o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td valign="top" style="border-top:solid #595959 1.0pt;border-left:none;border-bottom:solid #595959 1.0pt;border-right:none;padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:8.5pt;color:#595959">The information contained in this communication and any attachment is confidential and may be legally privileged. It should only be read by the person(s) to whom it is addressed. If you have received this communication
in error, please notify the sender and delete the communication. <o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="xmsonormal"><b>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<o:p></o:p></p>
</div>
</div>
<p class="xmsonormal"> <o:p></o:p></p>
<p class="xmsonormal">Register 0x6004 doesn’t exist. All registers have addresses < 0x1000. Perhaps you meant to use “download” instead of “reg_read”?<o:p></o:p></p>
<p class="xmsonormal"> <o:p></o:p></p>
<p><strong><span style="font-family:"Calibri",sans-serif;color:#595959">Gavin Lambert</span></strong><b><span style="color:#595959"><br>
</span></b><span style="color:#595959">Senior Software Developer</span><o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
<p><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><img border="0" width="360" height="102" style="width:3.75in;height:1.0625in" id="x_Picture_x0020_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 border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="x_Picture_x0020_2" src="cid:image002.png@01D614A9.04047D80" alt="TOMRA"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FCompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%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 border="0" width="35" height="37" style="width:.3645in;height:.3854in" id="x_Picture_x0020_3" src="cid:image003.png@01D614A9.04047D80" alt="Facebook"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fcompac-sorting-equipment%2F&data=02%7C01%7Cgavin.lambert%40tomra.com%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 border="0" width="35" height="37" style="width:.3645in;height:.3854in" id="x_Picture_x0020_4" src="cid:image004.png@01D614A9.04047D80" alt="Linkedin"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvimeo.com%2Fcompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%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 border="0" width="37" height="37" style="width:.3854in;height:.3854in" id="x_Picture_x0020_5" src="cid:image005.png@01D614A9.04047D80" alt="Youtube"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fcompacsort&data=02%7C01%7Cgavin.lambert%40tomra.com%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 border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="x_Picture_x0020_6" src="cid:image006.png@01D614A9.04047D80" alt="twitter"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.instagram.com%2Fcompacsort%2F&data=02%7C01%7Cgavin.lambert%40tomra.com%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 border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="x_Picture_x0020_7" src="cid:image007.png@01D614A9.04047D80" alt="instagram"></span></a><o:p></o:p></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><o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td valign="top" style="border-top:solid #595959 1.0pt;border-left:none;border-bottom:solid #595959 1.0pt;border-right:none;padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:8.5pt;color:#595959">The information contained in this communication and any attachment is confidential and may be legally privileged. It should only be read by the person(s) to whom it is addressed. If you have received this communication
in error, please notify the sender and delete the communication. </span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="xmsonormal"><b>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<o:p></o:p></p>
</div>
</div>
<p class="xmsonormal"> <o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">Hi, what could cause this? What should I try to do next, ideas?</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><b><span style="font-size:12.0pt;color:black">$ ethercat -p1 reg_read 0x6004 4</span></b><o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">Failed to read register: Input/output error</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><b><span style="font-size:12.0pt;color:black">dmesg </span>
</b><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><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><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">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><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">Some info about my system:</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><b><span style="font-size:12.0pt;color:black">$ ethercat version</span></b><o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">IgH EtherCAT master 1.5.2 35e7f0841303</span><o:p></o:p></p>
</div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">$ ethercat slaves</span><o:p></o:p></p>
<div>
<p class="xmsonormal"><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><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">1 601:0 PREOP + LeineAndLinde Encoder</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">$ ethercat -p1 cstruct</span><o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">/* Master 0, Slave 1, "LeineAndLinde Encoder"</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> * Vendor ID: 0x00000194</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> * Product code: 0x00000600</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> * Revision number: 0x00000001</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> */</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">ec_pdo_entry_info_t slave_1_pdo_entries[] = {</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {0x6004, 0x00, 32},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {0x1001, 0x00, 16},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {0x6503, 0x00, 16},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {0x6505, 0x00, 16},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {0x2060, 0x00, 32},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {0x6030, 0x00, 16},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {0x6040, 0x00, 16},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {0x2100, 0x00, 16},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">};</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">ec_pdo_info_t slave_1_pdos[] = {</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {0x1a00, 8, slave_1_pdo_entries + 0}, /* Configurable TxPDO map with max 8 PDO */</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">};</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">ec_sync_info_t slave_1_syncs[] = {</span><o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {0, EC_DIR_OUTPUT, 0, NULL, EC_WD_DISABLE},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {1, EC_DIR_INPUT, 0, NULL, EC_WD_DISABLE},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {2, EC_DIR_OUTPUT, 0, NULL, EC_WD_ENABLE},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {3, EC_DIR_INPUT, 1, slave_1_pdos + 0, EC_WD_DISABLE},</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> {0xff}</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">};</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> Thanks in advance,</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black">Joachim Sällvin</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>