<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<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;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@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-NZ" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText">Hi,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">You need to pay attention to those warnings. You will not get the warning again until the module it repowered. (The modules interface mappings get changed, so no further warnings and doing an "ethercat struct" command will return you
mappings, but internally they will be ignored.)<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Change your struct to match the "Currently mapped PDO entries".<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">Currently mapped PDO entries: Entries to map:
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:01/1 0x6000:01/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:02/1 0x6000:02/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:03/1 0x6000:03/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x0000:00/2 0x0000:00/2
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:06/1 0x6000:06/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:07/1 0x6000:07/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x0000:00/1 0x0000:00/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:09/1 0x6000:09/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:0A/1 0x6000:0A/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:0B/1 0x6000:0B/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:0C/1 0x6000:0C/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:0D/1 0x6000:0D/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New";background:yellow;mso-highlight:yellow">0x1C32:20/1</span><span style="font-family:"Courier New""> 0x6000:0E/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New";background:yellow;mso-highlight:yellow">0x1801:07/1</span><span style="font-family:"Courier New""> 0x6000:0F/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New";background:yellow;mso-highlight:yellow">0x1801:09/1</span><span style="font-family:"Courier New""> 0x6000:10/1
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:11/16 0x6000:11/16
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">0x6000:12/16. 0x6000:12/16<o:p></o:p></span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Of course, that still may not help since the position mapping still looks correct.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Regards,<o:p></o:p></p>
<p class="MsoPlainText">Graeme.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span lang="EN-US" style="mso-fareast-language:EN-NZ">-----Original Message-----<br>
From: etherlab-users <etherlab-users-bounces@etherlab.org> On Behalf Of BUSSIERES Vincent<br>
Sent: Tuesday, 26 May 2020 3:38 AM<br>
To: Richard Hacker <ha@igh.de>; etherlab-users@etherlab.org<br>
Subject: Re: [etherlab-users] Beckhoff encoder interface EL5101-0010 mapping issue</span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hello Etherlab users,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I'm still struggling with the Beckhoff EL5101-0010 encoder module. I configure PDO like Twincat but I still cannot read the encoder position, I always read 0.<o:p></o:p></p>
<p class="MsoPlainText">I noticed that after the first start of the module I had a warning " Slave does not support changing the PDO mapping!".<o:p></o:p></p>
<p class="MsoPlainText">But after configuration, I run command ethercat xml, and mapping seems to be OK. Slave is in OP state.
<o:p></o:p></p>
<p class="MsoPlainText">If I restart configuration without restart module, I no longer have warning but I still read 0.
<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I have no more ideas, this module is the only slave on the network, counter value can be read with Twincat.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Regards<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">[30811.918395] EtherCAT DEBUG: 10 12 00 60 <o:p></o:p></p>
<p class="MsoPlainText">[30811.918400] EtherCAT DEBUG 0-main-1: PDO entry 0x6000:12, 16 bit, "???".<o:p></o:p></p>
<p class="MsoPlainText">[30811.918402] EtherCAT WARNING 0-main-1: Slave does not support changing the PDO mapping!<o:p></o:p></p>
<p class="MsoPlainText">[30811.918403] EtherCAT WARNING 0-main-1: Currently mapped PDO entries: 0x6000:01/1 0x6000:02/1 0x6000:03/1 0x0000:00/2 0x6000:06/1 0x6000:07/1 0x0000:00/1 0x6000:09/1 0x6000:0A/1 0x6000:0B/1 0x6000:0C/1 0x6000:0D/1 0x1C32:20/1 0x1801:07/1
0x1801:09/1 0x6000:11/16 0x6000:12/16. Entries to map: 0x6000:01/1 0x6000:02/1 0x6000:03/1 0x0000:00/2 0x6000:06/1 0x6000:07/1 0x0000:00/1 0x6000:09/1 0x6000:0A/1 0x6000:0B/1 0x6000:0C/1 0x6000:0D/1 0x6000:0E/1 0x6000:0F/1 0x6000:10/1 0x6000:11/16 0x6000:12/16<o:p></o:p></p>
<p class="MsoPlainText">[30811.918436] EtherCAT DEBUG 0-main-1: Setting PDO assignment of SM3:<o:p></o:p></p>
<p class="MsoPlainText">[30811.918437] EtherCAT DEBUG 0-main-1: Currently assigned PDOs: 0x1A00. PDOs to assign: 0x1A01<o:p></o:p></p>
<p class="MsoPlainText">[30811.918440] EtherCAT DEBUG 0-main-1: Setting number of assigned PDOs to zero.<o:p></o:p></p>
<p class="MsoPlainText">[30811.918442] EtherCAT DEBUG 0-main-1: Downloading SDO 0x1C13:00.<o:p></o:p></p>
<p class="MsoPlainText">[30811.918442] EtherCAT DEBUG: 00 <o:p></o:p></p>
<p class="MsoPlainText">[30811.918444] EtherCAT DEBUG 0-main-1: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">[30811.918444] EtherCAT DEBUG: 00 20 2F 13 1C 00 00 00 00 00
<o:p></o:p></p>
<p class="MsoPlainText">[30811.946384] EtherCAT DEBUG 0-main-1: Download response:<o:p></o:p></p>
<p class="MsoPlainText">[30811.946385] EtherCAT DEBUG: 00 30 60 13 1C 00 00 00 00 00
<o:p></o:p></p>
<p class="MsoPlainText">[30811.946395] EtherCAT DEBUG 0-main-1: Assigning PDO 0x1A01 at position 1.<o:p></o:p></p>
<p class="MsoPlainText">[30811.946396] EtherCAT DEBUG 0-main-1: Downloading SDO 0x1C13:01.<o:p></o:p></p>
<p class="MsoPlainText">[30811.946397] EtherCAT DEBUG: 01 1A <o:p></o:p></p>
<p class="MsoPlainText">[30811.946399] EtherCAT DEBUG 0-main-1: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">[30811.946399] EtherCAT DEBUG: 00 20 2B 13 1C 01 01 1A 00 00
<o:p></o:p></p>
<p class="MsoPlainText">[30811.974385] EtherCAT DEBUG 0-main-1: Download response:<o:p></o:p></p>
<p class="MsoPlainText">[30811.974386] EtherCAT DEBUG: 00 30 60 13 1C 01 01 1A 00 00
<o:p></o:p></p>
<p class="MsoPlainText">[30811.974393] EtherCAT DEBUG 0-main-1: Setting number of assigned PDOs to 1.<o:p></o:p></p>
<p class="MsoPlainText">[30811.974394] EtherCAT DEBUG 0-main-1: Downloading SDO 0x1C13:00.<o:p></o:p></p>
<p class="MsoPlainText">[30811.974395] EtherCAT DEBUG: 01 <o:p></o:p></p>
<p class="MsoPlainText">[30811.974397] EtherCAT DEBUG 0-main-1: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">[30811.974397] EtherCAT DEBUG: 00 20 2F 13 1C 00 01 00 00 00
<o:p></o:p></p>
<p class="MsoPlainText">[30812.002429] EtherCAT DEBUG 0-main-1: Download response:<o:p></o:p></p>
<p class="MsoPlainText">[30812.002430] EtherCAT DEBUG: 00 30 60 13 1C 00 01 00 00 00
<o:p></o:p></p>
<p class="MsoPlainText">[30812.002441] EtherCAT DEBUG 0-main-1: Successfully configured PDO assignment of SM3.<o:p></o:p></p>
<p class="MsoPlainText">[30812.002446] EtherCAT DEBUG 0-main-1: SM2: Addr 0x1100, Size 4, Ctrl 0x24, En 1<o:p></o:p></p>
<p class="MsoPlainText">[30812.002448] EtherCAT DEBUG 0-main-1: SM3: Addr 0x1180, Size 6, Ctrl 0x20, En 1<o:p></o:p></p>
<p class="MsoPlainText">[30812.010431] EtherCAT DEBUG 0 0:1: FMMU: LogOff 0x00000000, Size 4, PhysAddr 0x1100, SM2, Dir out<o:p></o:p></p>
<p class="MsoPlainText">[30812.021655] EtherCAT 0: Domain 0: Working counter changed to 1/1.<o:p></o:p></p>
<p class="MsoPlainText">[30812.034432] EtherCAT DEBUG 0-main-1: Now in SAFEOP.<o:p></o:p></p>
<p class="MsoPlainText">[30812.050464] EtherCAT 0: Slave states on main device: PREOP, OP.<o:p></o:p></p>
<p class="MsoPlainText">[30812.050467] EtherCAT DEBUG 0-main-1: Now in OP. Finished configuration.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Vincent BUSSIERES<o:p></o:p></p>
<p class="MsoPlainText">Responsable Technique Logiciel<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">ZE Ma Campagne<o:p></o:p></p>
<p class="MsoPlainText">36, Impasse Félix Nadar<o:p></o:p></p>
<p class="MsoPlainText">16000 ANGOULEME<o:p></o:p></p>
<p class="MsoPlainText">Tel: 33 (0)9.72.40.35.08<o:p></o:p></p>
<p class="MsoPlainText"><a href="http://www.hemeria-group.com"><span style="color:windowtext;text-decoration:none">www.hemeria-group.com</span></a> <o:p></o:p></p>
<p class="MsoPlainText"> Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de nécessité.<o:p></o:p></p>
<p class="MsoPlainText">Ce message et les fichiers pouvant être attachés sont confidentiels, réservés à l'usage unique des destinataires et n'engagent HEMERIA sous aucune forme que ce soit.<o:p></o:p></p>
<p class="MsoPlainText">This email and any files transmitted with it are confidential, intented solely for the unique use of the recipients and don't commit HEMERIA.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----Message d'origine-----<o:p></o:p></p>
<p class="MsoPlainText">De : Richard Hacker <<a href="mailto:ha@igh.de"><span style="color:windowtext;text-decoration:none">ha@igh.de</span></a>>
<o:p></o:p></p>
<p class="MsoPlainText">Envoyé : vendredi 15 mai 2020 18:45<o:p></o:p></p>
<p class="MsoPlainText">À : BUSSIERES Vincent <<a href="mailto:vincent.bussieres@hemeria-group.com"><span style="color:windowtext;text-decoration:none">vincent.bussieres@hemeria-group.com</span></a>>;
<a href="mailto:etherlab-users@etherlab.org"><span style="color:windowtext;text-decoration:none">etherlab-users@etherlab.org</span></a><o:p></o:p></p>
<p class="MsoPlainText">Objet : Re: [etherlab-users] Beckhoff encoder interface EL5101-0010 mapping issue<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">You do need them, exactly like that! Including the bit stuffing! What's
<o:p></o:p></p>
<p class="MsoPlainText">more, you cannot join two consecutive stuffings to one either.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Am 15/05/2020 um 15.50 schrieb BUSSIERES Vincent:<o:p></o:p></p>
<p class="MsoPlainText">> According to you, does index with 0x0000 can be problematic ?<o:p></o:p></p>
<p class="MsoPlainText">> They are used to make bit stuffing.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> static ec_pdo_entry_info_t slave_0_pdo_entries[] = {<o:p></o:p></p>
<p class="MsoPlainText">> /* RxPdo 0x1601 */<o:p></o:p></p>
<p class="MsoPlainText">> {0x7000, 0x01, 1}, /* Control enable latch */<o:p></o:p></p>
<p class="MsoPlainText">> {0x7000, 0x02, 1}, /* Control enable latch extern on positive edge */<o:p></o:p></p>
<p class="MsoPlainText">> {0x7000, 0x03, 1}, /* Control set counter */<o:p></o:p></p>
<p class="MsoPlainText">> {0x7000, 0x04, 1}, /* Control enable latch extern on negative edge */<o:p></o:p></p>
<p class="MsoPlainText">> {0x0000, 0x00, 4},<o:p></o:p></p>
<p class="MsoPlainText">> {0x0000, 0x00, 8},<o:p></o:p></p>
<p class="MsoPlainText">> {0x7000, 0x11, 16}, /* Control enable latch extern on negative edge */<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> /* TxPdo 0x1a01 */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x01, 1}, /* Status Latch C valid */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x02, 1}, /* Status Latch extern valid */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x03, 1}, /* Status set counter done */<o:p></o:p></p>
<p class="MsoPlainText">> {0x0000, 0x00, 2},<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x06, 1}, /* Status of input status */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x07, 1}, /* Status open circuit */<o:p></o:p></p>
<p class="MsoPlainText">> {0x0000, 0x00, 1},<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x09, 1}, /* Status of input A */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x0a, 1}, /* Status of input B */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x0b, 1}, /* Status of input C */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x0c, 1}, /* Status of input gate */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x0d, 1}, /* Status of extern latch */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x0e, 1}, /* Status sync error */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x0f, 1}, /* Status TxPDO state */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x10, 1}, /* Status TxPDO toogle */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x11, 16}, /* counter value */<o:p></o:p></p>
<p class="MsoPlainText">> {0x6000, 0x12, 16} /* latch value */<o:p></o:p></p>
<p class="MsoPlainText">> };<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> static ec_pdo_info_t slave_0_pdos[] = {<o:p></o:p></p>
<p class="MsoPlainText">> {0x1601, 7, &slave_0_pdo_entries[0]},<o:p></o:p></p>
<p class="MsoPlainText">> {0x1a01, 17, &slave_0_pdo_entries[7]}<o:p></o:p></p>
<p class="MsoPlainText">> };<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> ec_sync_info_t slave_0_syncs[] = {<o:p></o:p></p>
<p class="MsoPlainText">> {0, EC_DIR_OUTPUT, 0, nullptr, EC_WD_DISABLE},<o:p></o:p></p>
<p class="MsoPlainText">> {1, EC_DIR_INPUT, 0, nullptr, EC_WD_DISABLE},<o:p></o:p></p>
<p class="MsoPlainText">> {2, EC_DIR_OUTPUT, 1, slave_0_pdos + 0, EC_WD_ENABLE},<o:p></o:p></p>
<p class="MsoPlainText">> {3, EC_DIR_INPUT, 1, slave_0_pdos + 1, EC_WD_ENABLE},<o:p></o:p></p>
<p class="MsoPlainText">> {0xff}<o:p></o:p></p>
<p class="MsoPlainText">> };<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> const static ec_pdo_entry_reg_t domain1_regs[] = {<o:p></o:p></p>
<p class="MsoPlainText">> /* outputs */<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x7000, 0x01, &offOutput[0], &offBit[0]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x7000, 0x02, &offOutput[1], &offBit[1]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x7000, 0x03, &offOutput[2], &offBit[2]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x7000, 0x04, &offOutput[3], &offBit[3]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x0000, 0x00, &offOutput[4], &offBit[4]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x0000, 0x00, &offOutput[5], &offBit[5]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x7000, 0x11, &offOutput[6], &offBit[6]},<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> /* inputs */<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x01, &offOutput[7], &offBit[7]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x02, &offOutput[8], &offBit[8]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x03, &offOutput[9], &offBit[9]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x0000, 0x00, &offOutput[10], &offBit[10]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x06, &offOutput[11], &offBit[11]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x07, &offOutput[12], &offBit[12]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x0000, 0x00, &offOutput[13], &offBit[13]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x09, &offOutput[14], &offBit[14]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0a, &offOutput[15], &offBit[15]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0b, &offOutput[16], &offBit[16]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0c, &offOutput[17], &offBit[17]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0d, &offOutput[18], &offBit[18]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0e, &offOutput[19], &offBit[19]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0f, &offOutput[20], &offBit[20]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x10, &offOutput[21], &offBit[21]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x11, &offOutput[22], &offBit[22]},<o:p></o:p></p>
<p class="MsoPlainText">> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x12, &offOutput[23], &offBit[23]},<o:p></o:p></p>
<p class="MsoPlainText">> {}<o:p></o:p></p>
<p class="MsoPlainText">> };<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Cordialement<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Vincent BUSSIERES<o:p></o:p></p>
<p class="MsoPlainText">> Responsable Technique Logiciel<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> ZE Ma Campagne<o:p></o:p></p>
<p class="MsoPlainText">> 36, Impasse Félix Nadar<o:p></o:p></p>
<p class="MsoPlainText">> 16000 ANGOULEME<o:p></o:p></p>
<p class="MsoPlainText">> Tel: 33 (0)9.72.40.35.08<o:p></o:p></p>
<p class="MsoPlainText">> <a href="http://www.hemeria-group.com"><span style="color:windowtext;text-decoration:none">www.hemeria-group.com</span></a><o:p></o:p></p>
<p class="MsoPlainText">> Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de nécessité.<o:p></o:p></p>
<p class="MsoPlainText">> Ce message et les fichiers pouvant être attachés sont confidentiels, réservés à l'usage unique des destinataires et n'engagent HEMERIA sous aucune forme que ce soit.<o:p></o:p></p>
<p class="MsoPlainText">> This email and any files transmitted with it are confidential, intented solely for the unique use of the recipients and don't commit HEMERIA.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> -----Message d'origine-----<o:p></o:p></p>
<p class="MsoPlainText">> De : Richard Hacker <<a href="mailto:ha@igh.de"><span style="color:windowtext;text-decoration:none">ha@igh.de</span></a>><o:p></o:p></p>
<p class="MsoPlainText">> Envoyé : vendredi 15 mai 2020 15:47<o:p></o:p></p>
<p class="MsoPlainText">> À : BUSSIERES Vincent <<a href="mailto:vincent.bussieres@hemeria-group.com"><span style="color:windowtext;text-decoration:none">vincent.bussieres@hemeria-group.com</span></a>>;
<a href="mailto:etherlab-users@etherlab.org"><span style="color:windowtext;text-decoration:none">etherlab-users@etherlab.org</span></a><o:p></o:p></p>
<p class="MsoPlainText">> Objet : Re: [etherlab-users] Beckhoff encoder interface EL5101-0010 mapping issue<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> From my memory, I just write zeros to the control register.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Am 15/05/2020 um 14.32 schrieb BUSSIERES Vincent:<o:p></o:p></p>
<p class="MsoPlainText">>> Thanks Nico,<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> What’s you describe is for EL5101-0000 and EL5101-0090 modules, I am<o:p></o:p></p>
<p class="MsoPlainText">>> using EL5101-0010 with only Index 0x1600 and 0x1601.<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Do you need to write something in encoder control register in order to<o:p></o:p></p>
<p class="MsoPlainText">>> read position ? Is the position always filled in?<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Regards<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Cordialement<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> *Vincent BUSSIERES*<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> *Responsable Technique Logiciel*<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> **<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> 1572337113342<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> /ZE Ma Campagne/<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> /36, Impasse Félix Nadar/<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> /16000 ANGOULEME/<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> /Tel: 33 (0)9.72.40.35.08/<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> /www.hemeria-group.com<o:p></o:p></p>
<p class="MsoPlainText">>> <<a href="https://webmail.nexeya.fr/owa/redir.aspx?C=GK_BqKCZef7LtPZnqnd_LGYr1NG9sz4Smy3iKIwO-pXqtJC7VgzXCA..&URL=http%3a%2f%2fwww.hemeria-group.com%2f"><span style="color:windowtext;text-decoration:none">https://webmail.nexeya.fr/owa/redir.aspx?C=GK_BqKCZef7LtPZnqnd_LGYr1NG9sz4Smy3iKIwO-pXqtJC7VgzXCA..&URL=http%3a%2f%2fwww.hemeria-group.com%2f</span></a>>/<o:p></o:p></p>
<p class="MsoPlainText">>> PAfin de contribuer au respect de l'environnement, merci de n'imprimer<o:p></o:p></p>
<p class="MsoPlainText">>> ce courriel qu'en cas de nécessité.<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Ce message et les fichiers pouvant être attachés sont confidentiels,<o:p></o:p></p>
<p class="MsoPlainText">>> réservés à l'usage unique des destinataires et n'engagent HEMERIA sous<o:p></o:p></p>
<p class="MsoPlainText">>> aucune forme que ce soit.<o:p></o:p></p>
<p class="MsoPlainText">>> This email and any files transmitted with it are confidential, intented<o:p></o:p></p>
<p class="MsoPlainText">>> solely for the unique use of the recipients and don't commit HEMERIA.<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> **<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> **<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> *De :*Kivel Niko (PSI) <<a href="mailto:niko.kivel@psi.ch"><span style="color:windowtext;text-decoration:none">niko.kivel@psi.ch</span></a>><o:p></o:p></p>
<p class="MsoPlainText">>> *Envoyé :* vendredi 15 mai 2020 14:14<o:p></o:p></p>
<p class="MsoPlainText">>> *À :* Richard Hacker <<a href="mailto:ha@igh.de"><span style="color:windowtext;text-decoration:none">ha@igh.de</span></a>>; BUSSIERES Vincent<o:p></o:p></p>
<p class="MsoPlainText">>> <<a href="mailto:vincent.bussieres@hemeria-group.com"><span style="color:windowtext;text-decoration:none">vincent.bussieres@hemeria-group.com</span></a>>;
<a href="mailto:etherlab-users@etherlab.org"><span style="color:windowtext;text-decoration:none">etherlab-users@etherlab.org</span></a><o:p></o:p></p>
<p class="MsoPlainText">>> *Objet :* Re: [etherlab-users] Beckhoff encoder interface EL5101-0010<o:p></o:p></p>
<p class="MsoPlainText">>> mapping issue<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Hi<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> here is what we map, only end of the lines from #14 ff. are interesting<o:p></o:p></p>
<p class="MsoPlainText">>> for you guys.<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> <a href="https://github.com/paulscherrerinstitute/ecmccfg/blob/19470cf1c9b71e52777a06f641394d85bc874918/hardware/Beckhoff_slaves/ecmcEL5101_32bit.cmd#L14">
<span style="color:windowtext;text-decoration:none">https://github.com/paulscherrerinstitute/ecmccfg/blob/19470cf1c9b71e52777a06f641394d85bc874918/hardware/Beckhoff_slaves/ecmcEL5101_32bit.cmd#L14</span></a><o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> best<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Niko<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> --<o:p></o:p></p>
<p class="MsoPlainText">>> Paul Scherrer Institute<o:p></o:p></p>
<p class="MsoPlainText">>> Dr. Niko Kivel<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Forschungsstrasse 111<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> WBGB/017<o:p></o:p></p>
<p class="MsoPlainText">>> 5232 Villigen PSI<o:p></o:p></p>
<p class="MsoPlainText">>> Switzerland<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> phone: +41 56 310 2226<o:p></o:p></p>
<p class="MsoPlainText">>> email: <a href="mailto:niko.kivel@psi.ch"><span style="color:windowtext;text-decoration:none">niko.kivel@psi.ch</span></a> <<a href="mailto:niko.kivel@psi.ch"><span style="color:windowtext;text-decoration:none">mailto:niko.kivel@psi.ch</span></a>><o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> ------------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> *From:*etherlab-users <etherlab-users-bounces@etherlab.org<o:p></o:p></p>
<p class="MsoPlainText">>> <<a href="mailto:etherlab-users-bounces@etherlab.org"><span style="color:windowtext;text-decoration:none">mailto:etherlab-users-bounces@etherlab.org</span></a>>> on behalf of Richard<o:p></o:p></p>
<p class="MsoPlainText">>> Hacker <<a href="mailto:ha@igh.de%20%3cmailto:ha@igh.de"><span style="color:windowtext;text-decoration:none">ha@igh.de <mailto:ha@igh.de</span></a>>><o:p></o:p></p>
<p class="MsoPlainText">>> *Sent:* Friday, May 15, 2020 2:00:03 PM<o:p></o:p></p>
<p class="MsoPlainText">>> *To:* BUSSIERES Vincent; <a href="mailto:etherlab-users@etherlab.org">
<span style="color:windowtext;text-decoration:none">etherlab-users@etherlab.org</span></a><o:p></o:p></p>
<p class="MsoPlainText">>> <<a href="mailto:etherlab-users@etherlab.org"><span style="color:windowtext;text-decoration:none">mailto:etherlab-users@etherlab.org</span></a>><o:p></o:p></p>
<p class="MsoPlainText">>> *Subject:* Re: [etherlab-users] Beckhoff encoder interface EL5101-0010<o:p></o:p></p>
<p class="MsoPlainText">>> mapping issue<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Don't be mislead by Beckhoff's XML description files. I've had numerous<o:p></o:p></p>
<p class="MsoPlainText">>> fights with them about incorrect description files! "With TwinCAT it<o:p></o:p></p>
<p class="MsoPlainText">>> works" is a standard response. Yeah right. That's because TwinCAT<o:p></o:p></p>
<p class="MsoPlainText">>> typically ignores XML description files and reads the configuration<o:p></o:p></p>
<p class="MsoPlainText">>> straight out of the slaves during a bus scan.<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Usually we map RxPDO #x1601 and TxPDO #x1a01. There is quite a bit of<o:p></o:p></p>
<p class="MsoPlainText">>> SDO configuration in #x800* to get right. You will need to check the<o:p></o:p></p>
<p class="MsoPlainText">>> documentation.<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">>> Am 15/05/2020 um 12.00 schrieb BUSSIERES Vincent:<o:p></o:p></p>
<p class="MsoPlainText">>>> Dear all,<o:p></o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>> Finally, I mapped PDO like configurutation obtained using ethercat xml command.<o:p></o:p></p>
<p class="MsoPlainText">>>> Mapping seems to be quite different from xml Beckhoff description file.<o:p></o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>> Now I have no more problem with mapping, slave is in OP state.<o:p></o:p></p>
<p class="MsoPlainText">>>> But I try to read encoder value using TxPdo 0x1a00 (0x6000:0x11:32) but I read always 0. Led status of inputs signal A,B, C are OK and change of states when I manually turned motor axis.<o:p></o:p></p>
<p class="MsoPlainText">>>> When I write a value in counter value using TxPdo 0x1600 (0x7000:0x11:32), I read the good value with TxPdo.<o:p></o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>> I don't know why I can't read the true counter value. Does someone have an idea?<o:p></o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>> Regards<o:p></o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>> Vincent BUSSIERES<o:p></o:p></p>
<p class="MsoPlainText">>>> Responsable Technique Logiciel<o:p></o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>> ZE Ma Campagne<o:p></o:p></p>
<p class="MsoPlainText">>>> 36, Impasse Félix Nadar<o:p></o:p></p>
<p class="MsoPlainText">>>> 16000 ANGOULEME<o:p></o:p></p>
<p class="MsoPlainText">>>> Tel: 33 (0)9.72.40.35.08<o:p></o:p></p>
<p class="MsoPlainText">>>> <a href="http://www.hemeria-group.com"><span style="color:windowtext;text-decoration:none">www.hemeria-group.com</span></a> <<a href="http://www.hemeria-group.com"><span style="color:windowtext;text-decoration:none">http://www.hemeria-group.com</span></a>><o:p></o:p></p>
<p class="MsoPlainText">>>> P Afin de contribuer au respect de l'environnement, merci de n'imprimer<o:p></o:p></p>
<p class="MsoPlainText">>> ce courriel qu'en cas de nécessité.<o:p></o:p></p>
<p class="MsoPlainText">>>> Ce message et les fichiers pouvant être attachés sont confidentiels, réservés à l'usage unique des destinataires et n'engagent HEMERIA sous aucune forme que ce soit.<o:p></o:p></p>
<p class="MsoPlainText">>>> This email and any files transmitted with it are confidential, intented solely for the unique use of the recipients and don't commit HEMERIA.<o:p></o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>> -----Message d'origine-----<o:p></o:p></p>
<p class="MsoPlainText">>>> De : Richard Hacker <<a href="mailto:ha@igh.de%20%3cmailto:ha@igh.de"><span style="color:windowtext;text-decoration:none">ha@igh.de <mailto:ha@igh.de</span></a>>><o:p></o:p></p>
<p class="MsoPlainText">>>> Envoyé : jeudi 14 mai 2020 17:05<o:p></o:p></p>
<p class="MsoPlainText">>>> À : BUSSIERES Vincent <vincent.bussieres@hemeria-group.com<o:p></o:p></p>
<p class="MsoPlainText">>> <<a href="mailto:vincent.bussieres@hemeria-group.com"><span style="color:windowtext;text-decoration:none">mailto:vincent.bussieres@hemeria-group.com</span></a>>>;<o:p></o:p></p>
<p class="MsoPlainText">>> <a href="mailto:etherlab-users@etherlab.org"><span style="color:windowtext;text-decoration:none">etherlab-users@etherlab.org</span></a> <<a href="mailto:etherlab-users@etherlab.org"><span style="color:windowtext;text-decoration:none">mailto:etherlab-users@etherlab.org</span></a>><o:p></o:p></p>
<p class="MsoPlainText">>>> Objet : Re: [etherlab-users] Beckhoff encoder interface EL5101-0010 mapping issue<o:p></o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>> [10918.274957] EtherCAT ERROR 0-main-5: AL status message 0x001E:<o:p></o:p></p>
<p class="MsoPlainText">>>> "Invalid input configuration".<o:p></o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>> Pls check your configuration... there is something wrong<o:p></o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>> Restart your EC Network and before you start _any_ application, scan the bus for the available PDO's and use that for a start.<o:p></o:p></p>
<p class="MsoPlainText">>>><o:p> </o:p></p>
<p class="MsoPlainText">>>> Am 14/05/2020 um 16.59 schrieb BUSSIERES Vincent:<o:p></o:p></p>
<p class="MsoPlainText">>>>> I map the inputs RxPdo and slave doesn't go in OP state and stay in PREOP.<o:p></o:p></p>
<p class="MsoPlainText">>>>> You can see 2 errors in log file below:<o:p></o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>> [10918.266966] EtherCAT ERROR 0-main-5: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.274957] EtherCAT ERROR 0-main-5: AL status message 0x001E: "Invalid input configuration".<o:p></o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>> [10917.969204] EtherCAT: Requesting master 0...<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969209] EtherCAT DEBUG 0: IDLE -> OPERATION.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969213] EtherCAT: Successfully requested master 0.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969222] EtherCAT DEBUG 0: ecrt_master_create_domain(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0xffff895554eb6000) [10917.969226] EtherCAT DEBUG 0: Created domain 0.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969239] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052) [10917.969244] EtherCAT DEBUG 0: Creating slave configuration for 0:5, 0x00000002/0x13ED3052.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969251] EtherCAT DEBUG 0 0:5: Attached slave main-5.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969278] EtherCAT DEBUG 0 0:5: ecrt_slave_config_sync_manager(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>> = 0xffff895551db3000, sync_index = 0, dir = 1, watchdog_mode = 2)<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969287] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_assign_clear(sc = 0xffff895551db3000, sync_index<o:p></o:p></p>
<p class="MsoPlainText">>>>> = 0) [10917.969294] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_sync_manager(sc = 0xffff895551db3000, sync_index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 1, dir = 2, watchdog_mode = 2) [10917.969300] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_assign_clear(sc = 0xffff895551db3000, sync_index = 1) [10917.969307] EtherCAT DEBUG 0 0:5: ecrt_slave_config_sync_manager(sc = 0xffff895551db3000, sync_index = 2, dir = 1, watchdog_mode = 1) [10917.969313]
EtherCAT DEBUG 0 0:5: ecrt_slave_config_pdo_assign_clear(sc = 0xffff895551db3000, sync_index = 2) [10917.969324] EtherCAT DEBUG 0<o:p></o:p></p>
<p class="MsoPlainText">>> 0:5: ecrt_slave_config_pdo_assign_add(sc = 0xffff895551db3000,<o:p></o:p></p>
<p class="MsoPlainText">>> sync_index = 2, pdo_index = 0x1601) [10917.969327] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> Loading default mapping for PDO 0x1601.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969331] EtherCAT DEBUG 0 0:5: Entry 0x7000:01.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969334] EtherCAT DEBUG 0 0:5: Entry 0x7000:02.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969337] EtherCAT DEBUG 0 0:5: Entry 0x7000:03.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969339] EtherCAT DEBUG 0 0:5: Entry 0x7000:04.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969342] EtherCAT DEBUG 0 0:5: Entry 0x7000:11.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969349] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_mapping_clear(sc = 0xffff895551db3000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>> = 0x1601) [10917.969358] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x1601, entry_index = 0x7000, entry_subindex = 0x01, entry_bit_length<o:p></o:p></p>
<p class="MsoPlainText">>>>> = 1) [10917.969364] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x1601, entry_index = 0x7000, entry_subindex = 0x02, entry_bit_length<o:p></o:p></p>
<p class="MsoPlainText">>>>> = 1) [10917.969370] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index = 0x1601, entry_index = 0x7000, entry_subindex = 0x03, entry_bit_length = 1) [10917.969376] EtherCAT DEBUG 0 0:5: ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000,
pdo_index = 0x1601, entry_index = 0x7000, entry_subindex = 0x04, entry_bit_length<o:p></o:p></p>
<p class="MsoPlainText">>> = 1) [10917.969383] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x1601, entry_index = 0x7000, entry_subindex = 0x11, entry_bit_length =<o:p></o:p></p>
<p class="MsoPlainText">>> 16) [10917.969388] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_sync_manager(sc = 0xffff895551db3000, sync_index = 3,<o:p></o:p></p>
<p class="MsoPlainText">>> dir = 2, watchdog_mode = 1) [10917.969393] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_pdo_assign_clear(sc = 0xffff895551db3000, sync_index =<o:p></o:p></p>
<p class="MsoPlainText">>> 3) [10917.969400] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_pdo_assign_add(sc = 0xffff895551db3000, sync_index =<o:p></o:p></p>
<p class="MsoPlainText">>> 3, pdo_index = 0x1A01) [10917.969403] EtherCAT DEBUG 0 0:5: Loading<o:p></o:p></p>
<p class="MsoPlainText">>> default mapping for PDO 0x1A01.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969408] EtherCAT DEBUG 0 0:5: Entry 0x6000:01.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969411] EtherCAT DEBUG 0 0:5: Entry 0x6000:02.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969413] EtherCAT DEBUG 0 0:5: Entry 0x6000:03.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969416] EtherCAT DEBUG 0 0:5: Entry 0x6000:06.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969418] EtherCAT DEBUG 0 0:5: Entry 0x6000:07.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969421] EtherCAT DEBUG 0 0:5: Entry 0x6000:09.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969423] EtherCAT DEBUG 0 0:5: Entry 0x6000:0A.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969426] EtherCAT DEBUG 0 0:5: Entry 0x6000:0B.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969429] EtherCAT DEBUG 0 0:5: Entry 0x6000:0C.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969431] EtherCAT DEBUG 0 0:5: Entry 0x6000:0D.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969434] EtherCAT DEBUG 0 0:5: Entry 0x6000:0E.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969436] EtherCAT DEBUG 0 0:5: Entry 0x6000:0F.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969439] EtherCAT DEBUG 0 0:5: Entry 0x6000:10.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969442] EtherCAT DEBUG 0 0:5: Entry 0x6000:11.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969444] EtherCAT DEBUG 0 0:5: Entry 0x6000:12.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969449] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_mapping_clear(sc = 0xffff895551db3000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>> = 0x1A01) [10917.969457] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x01, entry_bit_length<o:p></o:p></p>
<p class="MsoPlainText">>>>> = 1) [10917.969463] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x02, entry_bit_length<o:p></o:p></p>
<p class="MsoPlainText">>>>> = 1) [10917.969469] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x03, entry_bit_length<o:p></o:p></p>
<p class="MsoPlainText">>>>> = 1) [10917.969475] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x06, entry_bit_length<o:p></o:p></p>
<p class="MsoPlainText">>>>> = 1) [10917.969481] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x07, entry_bit_length<o:p></o:p></p>
<p class="MsoPlainText">>>>> = 1) [10917.969487] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index = 0x1A01, entry_index = 0x6000, entry_subindex = 0x09, entry_bit_length = 1) [10917.969493] EtherCAT DEBUG 0 0:5: ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000,
pdo_index = 0x1A01, entry_index = 0x6000, entry_subindex = 0x0A, entry_bit_length<o:p></o:p></p>
<p class="MsoPlainText">>> = 1) [10917.969499] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x0B, entry_bit_length =<o:p></o:p></p>
<p class="MsoPlainText">>> 1) [10917.969505] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x0C, entry_bit_length =<o:p></o:p></p>
<p class="MsoPlainText">>> 1) [10917.969511] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x0D, entry_bit_length =<o:p></o:p></p>
<p class="MsoPlainText">>> 1) [10917.969517] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x0E, entry_bit_length =<o:p></o:p></p>
<p class="MsoPlainText">>> 1) [10917.969523] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x0F, entry_bit_length =<o:p></o:p></p>
<p class="MsoPlainText">>> 1) [10917.969529] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x10, entry_bit_length =<o:p></o:p></p>
<p class="MsoPlainText">>> 1) [10917.969535] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x11, entry_bit_length =<o:p></o:p></p>
<p class="MsoPlainText">>> 2) [10917.969541] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895551db3000, pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x1A01, entry_index = 0x6000, entry_subindex = 0x12, entry_bit_length =<o:p></o:p></p>
<p class="MsoPlainText">>> 2) [10917.969550] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>> product_code = 0x13ed3052) [10917.969558] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index = 0x7000,<o:p></o:p></p>
<p class="MsoPlainText">>> subindex = 0x01, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffffa33a0574bd64) [10917.969562] EtherCAT DEBUG 0: Domain 0: Added 3<o:p></o:p></p>
<p class="MsoPlainText">>> bytes at 0.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969567] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>> product_code = 0x13ed3052) [10917.969573] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x7000, subindex = 0x02, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0xffffa33a0574bd64) [10917.969579] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0,<o:p></o:p></p>
<p class="MsoPlainText">>>>> position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969585] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x7000, subindex = 0x03, domain = 0xffff895556dde3c0, bit_position = 0xffffa33a0574bd64) [10917.969590] EtherCAT DEBUG 0: ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002, product_code
= 0x13ed3052) [10917.969597] EtherCAT DEBUG 0 0:5: ecrt_slave_config_reg_pdo_entry(sc =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffff895551db3000, index = 0x7000, subindex = 0x04, domain =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffff895556dde3c0, bit_position = 0xffffa33a0574bd64) [10917.969602]<o:p></o:p></p>
<p class="MsoPlainText">>> EtherCAT DEBUG 0: ecrt_master_slave_config(master = 0xffff895554eb6000,<o:p></o:p></p>
<p class="MsoPlainText">>> alias = 0, position = 5, vendor_id = 0x00000002, product_code =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x13ed3052) [10917.969609] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index = 0x7000,<o:p></o:p></p>
<p class="MsoPlainText">>> subindex = 0x11, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffffa33a0574bd64) [10917.969614] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0,<o:p></o:p></p>
<p class="MsoPlainText">>> position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>> [10917.969620] EtherCAT DEBUG 0 0:5: ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>> = 0xffff895551db3000, index = 0x6000, subindex = 0x01, domain =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffff895556dde3c0, bit_position = 0xffffa33a0574bd64) [10917.969623]<o:p></o:p></p>
<p class="MsoPlainText">>> EtherCAT DEBUG 0: Domain 0: Added 3 bytes at 3.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969629] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>> product_code = 0x13ed3052) [10917.969635] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x6000, subindex = 0x02, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0xffffa33a0574bd64) [10917.969640] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0,<o:p></o:p></p>
<p class="MsoPlainText">>>>> position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969646] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x6000, subindex = 0x03, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0xffffa33a0574bd64) [10917.969651] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0,<o:p></o:p></p>
<p class="MsoPlainText">>>>> position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969658] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x6000, subindex = 0x06, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0xffffa33a0574bd64) [10917.969663] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0,<o:p></o:p></p>
<p class="MsoPlainText">>>>> position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969669] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x6000, subindex = 0x07, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0xffffa33a0574bd64) [10917.969675] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0,<o:p></o:p></p>
<p class="MsoPlainText">>>>> position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969681] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x6000, subindex = 0x09, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0xffffa33a0574bd64) [10917.969686] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>>>> ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0,<o:p></o:p></p>
<p class="MsoPlainText">>>>> position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052) [10917.969693] EtherCAT DEBUG 0 0:5: ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index = 0x6000, subindex = 0x0A, domain = 0xffff895556dde3c0, bit_position
= 0xffffa33a0574bd64) [10917.969698] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>> product_code = 0x13ed3052) [10917.969704] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index = 0x6000,<o:p></o:p></p>
<p class="MsoPlainText">>> subindex = 0x0B, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffffa33a0574bd64) [10917.969711] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0,<o:p></o:p></p>
<p class="MsoPlainText">>> position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>> [10917.969718] EtherCAT DEBUG 0 0:5: ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>> = 0xffff895551db3000, index = 0x6000, subindex = 0x0C, domain =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffff895556dde3c0, bit_position = 0xffffa33a0574bd64) [10917.969723]<o:p></o:p></p>
<p class="MsoPlainText">>> EtherCAT DEBUG 0: ecrt_master_slave_config(master = 0xffff895554eb6000,<o:p></o:p></p>
<p class="MsoPlainText">>> alias = 0, position = 5, vendor_id = 0x00000002, product_code =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x13ed3052) [10917.969729] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index = 0x6000,<o:p></o:p></p>
<p class="MsoPlainText">>> subindex = 0x0D, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffffa33a0574bd64) [10917.969735] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0,<o:p></o:p></p>
<p class="MsoPlainText">>> position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>> [10917.969741] EtherCAT DEBUG 0 0:5: ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>> = 0xffff895551db3000, index = 0x6000, subindex = 0x0E, domain =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffff895556dde3c0, bit_position = 0xffffa33a0574bd64) [10917.969747]<o:p></o:p></p>
<p class="MsoPlainText">>> EtherCAT DEBUG 0: ecrt_master_slave_config(master = 0xffff895554eb6000,<o:p></o:p></p>
<p class="MsoPlainText">>> alias = 0, position = 5, vendor_id = 0x00000002, product_code =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x13ed3052) [10917.969753] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index = 0x6000,<o:p></o:p></p>
<p class="MsoPlainText">>> subindex = 0x0F, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffffa33a0574bd64) [10917.969758] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0,<o:p></o:p></p>
<p class="MsoPlainText">>> position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>> [10917.969765] EtherCAT DEBUG 0 0:5: ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>> = 0xffff895551db3000, index = 0x6000, subindex = 0x10, domain =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffff895556dde3c0, bit_position = 0xffffa33a0574bd64) [10917.969770]<o:p></o:p></p>
<p class="MsoPlainText">>> EtherCAT DEBUG 0: ecrt_master_slave_config(master = 0xffff895554eb6000,<o:p></o:p></p>
<p class="MsoPlainText">>> alias = 0, position = 5, vendor_id = 0x00000002, product_code =<o:p></o:p></p>
<p class="MsoPlainText">>> 0x13ed3052) [10917.969776] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_slave_config_reg_pdo_entry(sc = 0xffff895551db3000, index = 0x6000,<o:p></o:p></p>
<p class="MsoPlainText">>> subindex = 0x11, domain = 0xffff895556dde3c0, bit_position =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffffa33a0574bd64) [10917.969781] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_master_slave_config(master = 0xffff895554eb6000, alias = 0,<o:p></o:p></p>
<p class="MsoPlainText">>> position = 5, vendor_id = 0x00000002, product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>> [10917.969788] EtherCAT DEBUG 0 0:5: ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>> = 0xffff895551db3000, index = 0x6000, subindex = 0x12, domain =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffff895556dde3c0, bit_position = 0xffffa33a0574bd64) [10917.969826]<o:p></o:p></p>
<p class="MsoPlainText">>> EtherCAT DEBUG 0: ecrt_domain_external_memory(domain =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffff895556dde3c0, mem = 0xffffa33a01ba1000) [10917.969830] EtherCAT<o:p></o:p></p>
<p class="MsoPlainText">>> DEBUG 0: ecrt_master_callbacks(master = 0xffff895554eb6000, send_cb =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffffffffc09feff0, receive_cb = 0xffffffffc09ffc60, cb_data =<o:p></o:p></p>
<p class="MsoPlainText">>> 0xffff895554eb6000) [10917.969833] EtherCAT DEBUG 0:<o:p></o:p></p>
<p class="MsoPlainText">>> ecrt_master_activate(master = 0xffff895554eb6000) [10917.969837]<o:p></o:p></p>
<p class="MsoPlainText">>> EtherCAT DEBUG 0: Adding datagram pair with expected WC 3.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969840] EtherCAT 0: Domain0: Logical address 0x00000000, 6 byte, expected working counter 3.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969844] EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 6 byte, type LRW at ffff895556dded98.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969846] EtherCAT DEBUG 0: Stopping master thread.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969866] EtherCAT DEBUG 0: Master IDLE thread exiting...<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969930] EtherCAT 0: Master thread exited.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969936] EtherCAT 0: Stopping EoE thread.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.969988] EtherCAT DEBUG 0: EoE thread exiting...<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.970056] EtherCAT 0: EoE thread exited.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.970059] EtherCAT DEBUG 0: FSM datagram is ffff895554eb6350.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.970061] EtherCAT 0: Starting EoE thread.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.970258] EtherCAT 0: Starting EtherCAT-OP thread.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.970268] EtherCAT DEBUG 0: EoE thread running.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.970451] EtherCAT DEBUG 0: Operation thread running with fsm<o:p></o:p></p>
<p class="MsoPlainText">>>>> interval = 4000 us, max data size=45000 [10917.970454] EtherCAT DEBUG<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0: mmap() [10917.970458] EtherCAT WARNING 0: 1 datagram UNMATCHED!<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.970467] EtherCAT DEBUG 0: Vma fault, virtual_address =<o:p></o:p></p>
<p class="MsoPlainText">>>>> 00007fffec02a000, offset = 0, page = fffffd0e8eb07c40 [10917.978870] EtherCAT DEBUG 0: Configuration changed (aborting state check).<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.978871] EtherCAT DEBUG 0-main-0: Checking system time offset.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.986899] EtherCAT WARNING 0: No app_time received up to now, abort DC time offset calculation.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.986900] EtherCAT DEBUG 0: Requesting OP...<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.986904] EtherCAT DEBUG 0-main-5: Changing state from PREOP to OP.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10917.986905] EtherCAT DEBUG 0-main-5: Configuring...<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.006913] EtherCAT DEBUG 0-main-5: Now in INIT.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.006914] EtherCAT DEBUG 0-main-5: Clearing FMMU configurations...<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.006915] EtherCAT DEBUG 0-main-5: Clearing mailbox check flag...<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.014910] EtherCAT DEBUG 0-main-5: Clearing sync manager configurations...<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.027012] EtherCAT DEBUG 0-main-5: Clearing DC assignment...<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.034985] EtherCAT DEBUG 0-main-5: Configuring mailbox sync managers...<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.034986] EtherCAT DEBUG 0-main-5: SM0: Addr 0x1000, Size 128,<o:p></o:p></p>
<p class="MsoPlainText">>>>> Ctrl 0x26, En 1 [10918.034987] EtherCAT DEBUG 0-main-5: SM1: Addr<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x1080, Size 128, Ctrl 0x22, En 1 [10918.042915] EtherCAT DEBUG 0-main-5: Assigning SII access to PDI.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.058916] EtherCAT 0: Slave states on main device: INIT, PREOP.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.070949] EtherCAT DEBUG 0-main-5: Now in PREOP.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.070951] EtherCAT DEBUG 0-main-5: Assigning SII access back to EtherCAT.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.078925] EtherCAT DEBUG 0-main-5: Setting PDO assignment of SM2:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.078926] EtherCAT DEBUG 0-main-5: Currently assigned PDOs:<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x1601. PDOs to assign: 0x1601 [10918.078930] EtherCAT DEBUG 0-main-5: Setting number of assigned PDOs to zero.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.078932] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C12:00.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.078932] EtherCAT DEBUG: 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.078935] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.078935] EtherCAT DEBUG: 00 20 2F 12 1C 00 00 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.102953] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.102953] EtherCAT DEBUG: 00 30 60 12 1C 00 00 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.102961] EtherCAT DEBUG 0-main-5: Assigning PDO 0x1601 at position 1.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.102963] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C12:01.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.102963] EtherCAT DEBUG: 01 16<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.102965] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.102966] EtherCAT DEBUG: 00 20 2B 12 1C 01 01 16 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.122875] EtherCAT 0: Slave states on main device: PREOP.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.126963] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.126964] EtherCAT DEBUG: 00 30 60 12 1C 01 01 16 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.126973] EtherCAT DEBUG 0-main-5: Setting number of assigned PDOs to 1.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.126975] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C12:00.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.126979] EtherCAT DEBUG: 01<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.126986] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.126986] EtherCAT DEBUG: 00 20 2F 12 1C 00 01 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.154920] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.154921] EtherCAT DEBUG: 00 30 60 12 1C 00 01 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.154930] EtherCAT DEBUG 0-main-5: Successfully configured PDO assignment of SM2.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.154939] EtherCAT DEBUG 0-main-5: Setting PDO assignment of SM3:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.154939] EtherCAT DEBUG 0-main-5: Currently assigned PDOs:<o:p></o:p></p>
<p class="MsoPlainText">>>>> 0x1A01. PDOs to assign: 0x1A01 [10918.154942] EtherCAT DEBUG 0-main-5: Setting number of assigned PDOs to zero.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.154944] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C13:00.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.154944] EtherCAT DEBUG: 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.154946] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.154947] EtherCAT DEBUG: 00 20 2F 13 1C 00 00 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.178920] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.178921] EtherCAT DEBUG: 00 30 60 13 1C 00 00 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.178931] EtherCAT DEBUG 0-main-5: Assigning PDO 0x1A01 at position 1.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.178932] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C13:01.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.178933] EtherCAT DEBUG: 01 1A<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.178935] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.178936] EtherCAT DEBUG: 00 20 2B 13 1C 01 01 1A 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.202933] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.202934] EtherCAT DEBUG: 00 30 60 13 1C 01 01 1A 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.202941] EtherCAT DEBUG 0-main-5: Setting number of assigned PDOs to 1.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.202942] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C13:00.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.202943] EtherCAT DEBUG: 01<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.202945] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.202945] EtherCAT DEBUG: 00 20 2F 13 1C 00 01 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.226914] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.226915] EtherCAT DEBUG: 00 30 60 13 1C 00 01 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.226925] EtherCAT DEBUG 0-main-5: Successfully configured PDO assignment of SM3.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.226930] EtherCAT DEBUG 0-main-5: SM2: Addr 0x1100, Size 3, Ctrl 0x64, En 1<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.226933] EtherCAT DEBUG 0-main-5: SM3: Addr 0x1180, Size 3, Ctrl 0x60, En 1<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.238918] EtherCAT DEBUG 0 0:5: FMMU: LogOff 0x00000000, Size 3, PhysAddr 0x1100, SM2, Dir out<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.238921] EtherCAT DEBUG 0 0:5: FMMU: LogOff 0x00000003, Size 3, PhysAddr 0x1180, SM3, Dir in<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.266966] EtherCAT ERROR 0-main-5: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.274957] EtherCAT ERROR 0-main-5: AL status message 0x001E: "Invalid input configuration".<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.294969] EtherCAT DEBUG 0-main-5: PREOP + ERROR -> PREOP.<o:p></o:p></p>
<p class="MsoPlainText">>>>> [10918.294972] EtherCAT 0-main-5: Acknowledged state PREOP.<o:p></o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>> Regards<o:p></o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>> Vincent BUSSIERES<o:p></o:p></p>
<p class="MsoPlainText">>>>> Responsable Technique Logiciel<o:p></o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>> ZE Ma Campagne<o:p></o:p></p>
<p class="MsoPlainText">>>>> 36, Impasse Félix Nadar<o:p></o:p></p>
<p class="MsoPlainText">>>>> 16000 ANGOULEME<o:p></o:p></p>
<p class="MsoPlainText">>>>> Tel: 33 (0)9.72.40.35.08<o:p></o:p></p>
<p class="MsoPlainText">>>>> <a href="http://www.hemeria-group.com"><span style="color:windowtext;text-decoration:none">www.hemeria-group.com</span></a> <<a href="http://www.hemeria-group.com"><span style="color:windowtext;text-decoration:none">http://www.hemeria-group.com</span></a>><o:p></o:p></p>
<p class="MsoPlainText">>>>> P Afin de contribuer au respect de l'environnement, merci de n'imprimer<o:p></o:p></p>
<p class="MsoPlainText">>> ce courriel qu'en cas de nécessité.<o:p></o:p></p>
<p class="MsoPlainText">>>>> Ce message et les fichiers pouvant être attachés sont confidentiels, réservés à l'usage unique des destinataires et n'engagent HEMERIA sous aucune forme que ce soit.<o:p></o:p></p>
<p class="MsoPlainText">>>>> This email and any files transmitted with it are confidential, intented solely for the unique use of the recipients and don't commit HEMERIA.<o:p></o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>> -----Message d'origine-----<o:p></o:p></p>
<p class="MsoPlainText">>>>> De : Richard Hacker <<a href="mailto:ha@igh.de%20%3cmailto:ha@igh.de"><span style="color:windowtext;text-decoration:none">ha@igh.de <mailto:ha@igh.de</span></a>>><o:p></o:p></p>
<p class="MsoPlainText">>>>> Envoyé : jeudi 14 mai 2020 16:27<o:p></o:p></p>
<p class="MsoPlainText">>>>> À : BUSSIERES Vincent <vincent.bussieres@hemeria-group.com<o:p></o:p></p>
<p class="MsoPlainText">>> <<a href="mailto:vincent.bussieres@hemeria-group.com"><span style="color:windowtext;text-decoration:none">mailto:vincent.bussieres@hemeria-group.com</span></a>>>;<o:p></o:p></p>
<p class="MsoPlainText">>>>> <a href="mailto:etherlab-users@etherlab.org"><span style="color:windowtext;text-decoration:none">etherlab-users@etherlab.org</span></a> <<a href="mailto:etherlab-users@etherlab.org"><span style="color:windowtext;text-decoration:none">mailto:etherlab-users@etherlab.org</span></a>>
Objet :<o:p></o:p></p>
<p class="MsoPlainText">>> Re: [etherlab-users] Beckhoff<o:p></o:p></p>
<p class="MsoPlainText">>>>> encoder interface EL5101-0010 mapping issue<o:p></o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>> Did you map the inputs (RxPDO)? I remember that you must map them as well, even though you might not need them!<o:p></o:p></p>
<p class="MsoPlainText">>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>> Am 14/05/2020 um 16.17 schrieb BUSSIERES Vincent:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> Dear Etherlab users,<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> I have got problems with Beckhoff encoder interface EL5101-0010 PDO mapping.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> I try to map only TxPDO 0x1a01 (SM3), I haven’t got any errors in<o:p></o:p></p>
<p class="MsoPlainText">>>>>> init, everything seems to be fine.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> I read encoder value in a loop with 1ms period, return value is always 0.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> In dmesg, slave doesn’t reach OP state, and stay in PREOP state.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> In Ethercat xml description file, some entries have got 0x0 as index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> value, and subindex are not completed (strange). I don’t know if I<o:p></o:p></p>
<p class="MsoPlainText">>>>>> need to take them into account.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> <Entry><o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> <Index>#x0</Index><o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> <BitLen>2</BitLen><o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> <Name>Status__</Name><o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> </Entry><o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> You can see below dmesg :<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7033.920685] EtherCAT: Requesting master 0...<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7033.920686] EtherCAT DEBUG 0: IDLE -> OPERATION.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7033.920687] EtherCAT: Successfully requested master 0.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7034.872900] EtherCAT DEBUG 0: ecrt_master_create_domain(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7034.872901] EtherCAT DEBUG 0: Created domain 0.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7035.835219] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7035.835220] EtherCAT DEBUG 0: Creating slave configuration for<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0:5, 0x00000002/0x13ED3052.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7035.835222] EtherCAT DEBUG 0 0:5: Attached slave main-5.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592742] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_sync_manager(sc = 0xffff895552309000, sync_index =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 3, dir = 2, watchdog_mode = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592745] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_assign_clear(sc = 0xffff895552309000,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> sync_index = 3)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592749] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_assign_add(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, sync_index = 3, pdo_index = 0x1A01)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592750] EtherCAT DEBUG 0 0:5: Loading default mapping for PDO 0x1A01.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592753] EtherCAT DEBUG 0 0:5: Entry 0x6000:01.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592754] EtherCAT DEBUG 0 0:5: Entry 0x6000:02.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592754] EtherCAT DEBUG 0 0:5: Entry 0x6000:03.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592755] EtherCAT DEBUG 0 0:5: Entry 0x6000:06.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592756] EtherCAT DEBUG 0 0:5: Entry 0x6000:07.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592756] EtherCAT DEBUG 0 0:5: Entry 0x6000:09.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592757] EtherCAT DEBUG 0 0:5: Entry 0x6000:0A.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592758] EtherCAT DEBUG 0 0:5: Entry 0x6000:0B.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592758] EtherCAT DEBUG 0 0:5: Entry 0x6000:0C.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592759] EtherCAT DEBUG 0 0:5: Entry 0x6000:0D.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592759] EtherCAT DEBUG 0 0:5: Entry 0x6000:0E.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592760] EtherCAT DEBUG 0 0:5: Entry 0x6000:0F.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592761] EtherCAT DEBUG 0 0:5: Entry 0x6000:10.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592761] EtherCAT DEBUG 0 0:5: Entry 0x6000:11.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592762] EtherCAT DEBUG 0 0:5: Entry 0x6000:12.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592764] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_clear(sc = 0xffff895552309000,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> pdo_index =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0x1A01)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592767] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x01,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592769] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x02,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592770] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x03,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592772] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x06,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592773] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x07,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592775] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x09,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592776] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x0A,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592778] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x0B,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592779] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x0C,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592781] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x0D,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592783] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x0E,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592784] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x0F,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592786] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x10,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 1)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592788] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x11,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 2)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7036.592789] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_pdo_mapping_add(sc = 0xffff895552309000, pdo_index<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0x1A01, entry_index = 0x6000, entry_subindex = 0x12,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> entry_bit_length = 2)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153188] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153191] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x01, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153193] EtherCAT DEBUG 0: Domain 0: Added 3 bytes at 0.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153194] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153195] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x02, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153196] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153198] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x03, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153199] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153200] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x06, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153201] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153202] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x07, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153203] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153205] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x09, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153206] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153207] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x0A, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153208] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153209] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x0B, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153211] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153212] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x0C, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153213] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153214] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x0D, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153215] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153216] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x0E, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153218] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153219] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x0F, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153220] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153221] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x10, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153222] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153223] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x11, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153224] EtherCAT DEBUG 0: ecrt_master_slave_config(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, alias = 0, position = 5, vendor_id = 0x00000002,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> product_code = 0x13ed3052)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.153225] EtherCAT DEBUG 0 0:5:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> ecrt_slave_config_reg_pdo_entry(sc<o:p></o:p></p>
<p class="MsoPlainText">>>>>> = 0xffff895552309000, index = 0x6000, subindex = 0x12, domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, bit_position = 0xffffa33a0525bd64)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.720938] EtherCAT DEBUG 0: ecrt_domain_external_memory(domain =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff89555461e3c0, mem = 0xffffa33a01b69000)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.720940] EtherCAT DEBUG 0: ecrt_master_callbacks(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000, send_cb = 0xffffffffc09feff0, receive_cb =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffffffffc09ffc60, cb_data = 0xffff895554eb6000)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.720940] EtherCAT DEBUG 0: ecrt_master_activate(master =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0xffff895554eb6000)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.720941] EtherCAT DEBUG 0: Adding datagram pair with expected WC 1.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.720942] EtherCAT 0: Domain0: Logical address 0x00000000, 3<o:p></o:p></p>
<p class="MsoPlainText">>>>>> byte, expected working counter 1.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.720943] EtherCAT 0: Datagram domain0-0-main: Logical offset<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0x00000000, 3 byte, type LRD at ffff89555461ef18.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.720943] EtherCAT DEBUG 0: Stopping master thread.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.720974] EtherCAT DEBUG 0: Master IDLE thread exiting...<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.720978] EtherCAT 0: Master thread exited.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.720978] EtherCAT 0: Stopping EoE thread.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.721017] EtherCAT DEBUG 0: EoE thread exiting...<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.721021] EtherCAT 0: EoE thread exited.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.721042] EtherCAT DEBUG 0: FSM datagram is ffff895554eb6350.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.721043] EtherCAT 0: Starting EoE thread.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.721152] EtherCAT 0: Starting EtherCAT-OP thread.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.721174] EtherCAT DEBUG 0: EoE thread running.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.721300] EtherCAT DEBUG 0: Operation thread running with fsm<o:p></o:p></p>
<p class="MsoPlainText">>>>>> interval = 4000 us, max data size=45000<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.721305] EtherCAT DEBUG 0: mmap()<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7037.721308] EtherCAT DEBUG 0: Vma fault, virtual_address =<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 00007fffec02a000, offset = 0, page = fffffd0e908af680<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7083.264568] EtherCAT DEBUG 0: Configuration changed (aborting<o:p></o:p></p>
<p class="MsoPlainText">>>>>> state check).<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7083.264570] EtherCAT DEBUG 0-main-0: Checking system time offset.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.368544] EtherCAT WARNING 0: No app_time received up to now,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> abort DC time offset calculation.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.368545] EtherCAT DEBUG 0: Requesting OP...<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.368549] EtherCAT DEBUG 0-main-5: Changing state from PREOP to OP.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.368550] EtherCAT DEBUG 0-main-5: Configuring...<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.384514] EtherCAT DEBUG 0-main-5: Now in INIT.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.384515] EtherCAT DEBUG 0-main-5: Clearing FMMU configurations...<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.384515] EtherCAT DEBUG 0-main-5: Clearing mailbox check flag...<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.392604] EtherCAT DEBUG 0-main-5: Clearing sync manager<o:p></o:p></p>
<p class="MsoPlainText">>>>>> configurations...<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.400551] EtherCAT DEBUG 0-main-5: Clearing DC assignment...<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.408559] EtherCAT DEBUG 0-main-5: Configuring mailbox sync managers...<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.408562] EtherCAT DEBUG 0-main-5: SM0: Addr 0x1000, Size 128,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> Ctrl 0x26, En 1<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.408564] EtherCAT DEBUG 0-main-5: SM1: Addr 0x1080, Size 128,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> Ctrl 0x22, En 1<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.416573] EtherCAT DEBUG 0-main-5: Assigning SII access to PDI.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.432522] EtherCAT 0: Slave states on main device: INIT, PREOP.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.444566] EtherCAT DEBUG 0-main-5: Now in PREOP.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.444567] EtherCAT DEBUG 0-main-5: Assigning SII access back to<o:p></o:p></p>
<p class="MsoPlainText">>>>>> EtherCAT.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.456607] EtherCAT DEBUG 0-main-5: Setting PDO assignment of SM2:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.456608] EtherCAT DEBUG 0-main-5: Currently assigned PDOs: 0x1600.<o:p></o:p></p>
<p class="MsoPlainText">>>>>> PDOs to assign: 0x1600<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.456610] EtherCAT DEBUG 0-main-5: Setting number of assigned<o:p></o:p></p>
<p class="MsoPlainText">>>>>> PDOs to zero.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.456611] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C12:00.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.456611] EtherCAT DEBUG: 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.456612] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.456612] EtherCAT DEBUG: 00 20 2F 12 1C 00 00 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.480613] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.480613] EtherCAT DEBUG: 00 30 60 12 1C 00 00 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.480619] EtherCAT DEBUG 0-main-5: Assigning PDO 0x1600 at position 1.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.480620] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C12:01.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.480621] EtherCAT DEBUG: 00 16<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.480623] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.480623] EtherCAT DEBUG: 00 20 2B 12 1C 01 00 16 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.496551] EtherCAT 0: Slave states on main device: PREOP.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.504563] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.504564] EtherCAT DEBUG: 00 30 60 12 1C 01 00 16 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.504572] EtherCAT DEBUG 0-main-5: Setting number of assigned<o:p></o:p></p>
<p class="MsoPlainText">>>>>> PDOs to 1.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.504574] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C12:00.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.504574] EtherCAT DEBUG: 01<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.504577] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.504577] EtherCAT DEBUG: 00 20 2F 12 1C 00 01 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.528572] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.528573] EtherCAT DEBUG: 00 30 60 12 1C 00 01 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.528586] EtherCAT DEBUG 0-main-5: Successfully configured PDO<o:p></o:p></p>
<p class="MsoPlainText">>>>>> assignment of SM2.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.528596] EtherCAT DEBUG 0-main-5: Setting PDO assignment of SM3:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.528597] EtherCAT DEBUG 0-main-5: Currently assigned PDOs: 0x1A01.<o:p></o:p></p>
<p class="MsoPlainText">>>>>> PDOs to assign: 0x1A01<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.528602] EtherCAT DEBUG 0-main-5: Setting number of assigned<o:p></o:p></p>
<p class="MsoPlainText">>>>>> PDOs to zero.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.528604] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C13:00.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.528605] EtherCAT DEBUG: 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.528608] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.528608] EtherCAT DEBUG: 00 20 2F 13 1C 00 00 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.552556] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.552557] EtherCAT DEBUG: 00 30 60 13 1C 00 00 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.552569] EtherCAT DEBUG 0-main-5: Assigning PDO 0x1A01 at position 1.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.552571] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C13:01.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.552571] EtherCAT DEBUG: 01 1A<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.552575] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.552575] EtherCAT DEBUG: 00 20 2B 13 1C 01 01 1A 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.580562] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.580563] EtherCAT DEBUG: 00 30 60 13 1C 01 01 1A 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.580573] EtherCAT DEBUG 0-main-5: Setting number of assigned<o:p></o:p></p>
<p class="MsoPlainText">>>>>> PDOs to 1.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.580575] EtherCAT DEBUG 0-main-5: Downloading SDO 0x1C13:00.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.580575] EtherCAT DEBUG: 01<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.580578] EtherCAT DEBUG 0-main-5: Expedited download request:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.580579] EtherCAT DEBUG: 00 20 2F 13 1C 00 01 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.604557] EtherCAT DEBUG 0-main-5: Download response:<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.604558] EtherCAT DEBUG: 00 30 60 13 1C 00 01 00 00 00<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.604571] EtherCAT DEBUG 0-main-5: Successfully configured PDO<o:p></o:p></p>
<p class="MsoPlainText">>>>>> assignment of SM3.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.604578] EtherCAT DEBUG 0-main-5: SM2: Addr 0x1100, Size 6,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> Ctrl 0x24, En 1<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.604581] EtherCAT DEBUG 0-main-5: SM3: Addr 0x1180, Size 3,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> Ctrl 0x60, En 1<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.612565] EtherCAT DEBUG 0 0:5: FMMU: LogOff 0x00000000, Size 3,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> PhysAddr 0x1180, SM3, Dir in<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.636572] EtherCAT ERROR 0-main-5: Failed to set SAFEOP state,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> slave refused state change (PREOP + ERROR).<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.644558] EtherCAT ERROR 0-main-5: AL status message 0x0024:<o:p></o:p></p>
<p class="MsoPlainText">>>>>> "Invalid Input Mapping".<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.664569] EtherCAT DEBUG 0-main-5: PREOP + ERROR -> PREOP.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> [ 7118.664573] EtherCAT 0-main-5: Acknowledged state PREOP.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> **<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> You can see below, an extract of my source code which work correctly<o:p></o:p></p>
<p class="MsoPlainText">>>>>> with other ethercat slaves<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static unsigned int offOutput[15];<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static unsigned int offBit[15];<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static ec_domain_state_t domain1_state = {};<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static ec_master_state_t master_state = {};<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static ec_pdo_entry_info_t slave_0_pdo_entries[] = {<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> /* TxPdo 0x1a01 */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x01, 1}, /* Status Latch C valid */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x02, 1}, /* Status Latch extern valid */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x03, 1}, /* Status set counter done */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x06, 1}, /* Status of input status */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x07, 1}, /* Status open circuit */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x09, 1}, /* Status of input A */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x0a, 1}, /* Status of input B */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x0b, 1}, /* Status of input C */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x0c, 1}, /* Status of input gate */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x0d, 1}, /* Status of extern latch */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x0e, 1}, /* Status sync error */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x0f, 1}, /* Status TxPDO state */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x10, 1}, /* Status TxPDO toogle */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x11, 2}, /* counter value */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x6000, 0x12, 2} /* latch value */<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> };<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static ec_pdo_info_t slave_0_pdos[] = {<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0x1a01, 15, &slave_0_pdo_entries[0]}<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> };<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> ec_sync_info_t slave_0_syncs[] = {<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {3, EC_DIR_INPUT, 1, slave_0_pdos + 0, EC_WD_ENABLE},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0xff}<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> };<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> const static ec_pdo_entry_reg_t domain1_regs[] = {<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x01, &offOutput[0],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[0]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x02, &offOutput[1],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[1]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x03, &offOutput[2],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[2]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x06, &offOutput[3],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[3]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x07, &offOutput[4],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[4]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x09, &offOutput[5],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[5]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0a, &offOutput[6],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[6]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0b, &offOutput[7],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[7]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0c, &offOutput[8],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[8]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0d, &offOutput[9],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[9]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0e, &offOutput[10],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[10]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x0f, &offOutput[11],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[11]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x10, &offOutput[12],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[12]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x11, &offOutput[13],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[13]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {0, 5, 0x00000002, 0x13ed3052, 0x6000, 0x12, &offOutput[14],<o:p></o:p></p>
<p class="MsoPlainText">>>>>> &offBit[14]},<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {}<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> };<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static ec_master_t *master = nullptr;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static ec_domain_t *domain1 = nullptr;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static uint8_t *domain1_pd = nullptr;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static ec_slave_config_t *sc_el5101 = nullptr;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static ec_slave_config_state_t sc_el2809_state = {};<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> static ec_slave_info_t slaveInfo;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> bool Worker::init()<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> master = ecrt_request_master(0);<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> if ( !master )<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> return false;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> domain1 = ecrt_master_create_domain(master);<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> if ( !domain1 )<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> return false;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> if ( !(sc_el5101 = ecrt_master_slave_config(master, 0, 5,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 0x00000002, 0x13ed3052)) )<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> fprintf(stderr, "Failed to get slave configuration for<o:p></o:p></p>
<p class="MsoPlainText">>>>>> AKD.\n");<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> return false;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> }<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> if (ecrt_slave_config_pdos(sc_el5101, EC_END, slave_0_syncs))<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> return false;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> if (ecrt_domain_reg_pdo_entry_list(domain1, domain1_regs))<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> return false;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> if ( ecrt_master_activate( master ) )<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> return false;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> if (!(domain1_pd = ecrt_domain_data(domain1)))<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> return false;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> return true;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> }<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> void Worker::loop()<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> mMustStop = false;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> while(!mMustStop)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> QThread::usleep(1000);<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> if(!mIsCycleStopped)<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> {<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> // receive process data<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> ecrt_master_receive(master);<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> ecrt_domain_process(domain1);<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> uint16_t lCounterValue = EC_READ_U16(domain1_pd +<o:p></o:p></p>
<p class="MsoPlainText">>>>>> offOutput[13]);<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> qDebug() << "counter value :" << lCounterValue;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> ecrt_domain_queue(domain1);<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> ecrt_master_send(master);<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> }<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> }<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> ecrt_release_master(master);<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> master = nullptr;<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> emit finished();<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> }<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> Take care of yourself<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> *Vincent BUSSIERES*<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> *Responsable Technique Logiciel*<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> **<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> 1572337113342<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> /ZE Ma Campagne/<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> /36, Impasse Félix Nadar/<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> /16000 ANGOULEME/<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> /Tel: 33 (0)9.72.40.35.08/<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> /www.hemeria-group.com<o:p></o:p></p>
<p class="MsoPlainText">>>>>> <https://webmail.nexeya.fr/owa/redir.aspx?C=GK_BqKCZef7LtPZnqnd_LGYr1<o:p></o:p></p>
<p class="MsoPlainText">>>>>> N<o:p></o:p></p>
<p class="MsoPlainText">>>>>> G9sz4Smy3iKIwO-pXqtJC7VgzXCA..&URL=http%3a%2f%2fwww.hemeria-group.com<o:p></o:p></p>
<p class="MsoPlainText">>>>>> %<o:p></o:p></p>
<p class="MsoPlainText">>>>>> 2f>/ PAfin de contribuer au respect de l'environnement, merci de<o:p></o:p></p>
<p class="MsoPlainText">>>>>> n'imprimer ce courriel qu'en cas de nécessité.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> Ce message et les fichiers pouvant être attachés sont confidentiels,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> réservés à l'usage unique des destinataires et n'engagent HEMERIA<o:p></o:p></p>
<p class="MsoPlainText">>>>>> sous aucune forme que ce soit.<o:p></o:p></p>
<p class="MsoPlainText">>>>>> This email and any files transmitted with it are confidential,<o:p></o:p></p>
<p class="MsoPlainText">>>>>> intented solely for the unique use of the recipients and don't commit HEMERIA.<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> **<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> **<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>>>>> _______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">>>>>> etherlab-users mailing list<o:p></o:p></p>
<p class="MsoPlainText">>>>>> etherlab-users@etherlab.org<o:p></o:p></p>
<p class="MsoPlainText">>>>>> http://lists.etherlab.org/mailman/listinfo/etherlab-users<o:p></o:p></p>
<p class="MsoPlainText">>>>>><o:p> </o:p></p>
<p class="MsoPlainText">>> _______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">>> etherlab-users mailing list<o:p></o:p></p>
<p class="MsoPlainText">>> etherlab-users@etherlab.org<o:p></o:p></p>
<p class="MsoPlainText">>> http://lists.etherlab.org/mailman/listinfo/etherlab-users<o:p></o:p></p>
<p class="MsoPlainText">>><o:p> </o:p></p>
<p class="MsoPlainText">_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">etherlab-users mailing list<o:p></o:p></p>
<p class="MsoPlainText">etherlab-users@etherlab.org<o:p></o:p></p>
<p class="MsoPlainText">http://lists.etherlab.org/mailman/listinfo/etherlab-users<o:p></o:p></p>
</div>
</body>
</html>