<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=us-ascii"><meta name=Generator content="Microsoft Word 12 (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;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@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=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Possibly of note is that by fetching the current time and then adding the cycle time to it every time around the loop, you will actually be running slower than the cycle time, by however long it takes the processing loop to actually execute.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>It’s not silly to re-fetch the current time in case of clock upset conditions (which the monotonic clock shouldn’t be subject to, in theory) or in case of overprocessing (when (wakeupTime - lastWakeupTime) is small or negative) but in general if you want to achieve the target cycle time you should get the initial value outside of the loop, so that the latency and processing time is automatically subtracted from the sleep period.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>And as Jeroen noted, you have to receive and process before you queue up additional packets (which is what the sync functions do).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> etherlab-dev-bounces@etherlab.org [mailto:etherlab-dev-bounces@etherlab.org] <b>On Behalf Of </b>DMM<br><b>Sent:</b> Wednesday, 11 December 2013 21:39<br><b>To:</b> Jeroen Van den Keybus<br><b>Cc:</b> etherlab-dev@etherlab.org<br><b>Subject:</b> Re: [etherlab-dev] A lot of unmatched/skipped datagrams at any freq. (1-1000 Hz)<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Here it is - I have reduced the amount of code somewhat for clarity, e.g. I've cut out the additional processing I'm doing before sending the data, but that doesn't seem to influence the unmatched/skipped datagrams warnings. The code below produces the same error as the "full" client:<br><br><br><span style='font-family:"Courier New"'>void cyclic_task(void * usr)<br>{<br> SCN *s = (SCN *)usr;<br> ec_master_t *master = s->master;<br> ec_domain_t *domain = s->domain;<br> uint8_t * pd = s->pd;<br> struct timespec wakeupTime;<br> const struct timespec cycletime = {0, 1000000}; // 1 kHz<br> ec_domain_state_t domain_state;<br><br> while(1)<br> {<br> // get current time<br> clock_gettime(CLOCK_MONOTONIC, &wakeupTime);<br> wakeupTime = timespec_add( wakeupTime, cycletime );<br> clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &wakeupTime, NULL);<br><br> ecrt_master_application_time( master, TIMESPEC2NS(wakeupTime) );<br><br> ecrt_master_sync_reference_clock( master );<br> ecrt_master_sync_slave_clocks( master );<br><br> ecrt_master_receive( master );<br><br> ecrt_domain_process( domain );<br> ecrt_domain_state( domain, &domain_state );</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'> // normally, at this point there is some short processing, <br> // now commented out<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'> // it appears to be irrelevant, since the warnings appear anyway<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'> // with or without the processing part of the code<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Courier New"'><br> ecrt_domain_queue( domain );<br> ecrt_master_send( master );</span><o:p></o:p></p></div><p class=MsoNormal><span style='font-family:"Courier New"'> } // end while(1)</span><o:p></o:p></p><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>} // end proc<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Courier New"'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Courier New"'>------------------------------------<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>The cyclic_thread is started using the following function:<br><br>rtThreadId rtThreadCreate (<br> const char * name, <br> unsigned int priority, <br> unsigned int stackSize,<br> rtTHREADFUNC funptr, <br> void * parm<br>)<br>{<br> struct sched_param sched = {0};<br> rtThreadId thread = (rtThreadId)calloc(1, sizeof(struct rtThreadOSD));<br> assert(thread != NULL);<br> sched.sched_priority = priority;<br> assert(pthread_attr_init(&thread->attr) == 0);<br> if(priority)<br> {<br> assert(pthread_attr_setinheritsched(&thread->attr, PTHREAD_EXPLICIT_SCHED) == 0);<br> assert(pthread_attr_setschedpolicy(&thread->attr, SCHED_FIFO) == 0);<br> assert(pthread_attr_setschedparam(&thread->attr, &sched) == 0);<br> }<br> thread->start = funptr;<br> thread->usr = parm;<br> if(pthread_create(&thread->thread, &thread->attr, start_routine, thread) == 0)<br> return thread;<br> else<br> return NULL;<br>} // end proc<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On 10 December 2013 21:26, Jeroen Van den Keybus <<a href="mailto:jeroen.vandenkeybus@gmail.com" target="_blank">jeroen.vandenkeybus@gmail.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal>The traffic seems ok all right.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>I happen to have an EK1100/EL1004 in a similar setup. Could you post the client source ?<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>J.<o:p></o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>2013/12/10 DMM <<a href="mailto:dmmanmeldung@googlemail.com" target="_blank">dmmanmeldung@googlemail.com</a>><o:p></o:p></p><div><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hello all and sorry for a long(ish) post O:)<br><br>I have the following configuration:<br><br>- Linux MTEST-VMEIFC-MT84 3.6.11.5-rt37 #1 SMP PREEMPT RT Wed Nov 27 08:24:35 CET 2013 ppc GNU/Linux<br>- Etherlab Master v1.5.2 running on a P2020 CPU (QorlQ, 2 x e500mc cores at 1.2 GHz)<br>- Using eth1 network interface (second card in the system), generic driver<br>- One EK1100 and one EL1008 module (Beckhoff)<br>- Userspace client<br><br>I am getting a LOT of unmatched (and skipped) datagrams and other warnings while running the client (please look below for logs captured with client running at 1 kHz, 100 Hz, 10 Hz and 1 Hz). Other than reduction in number of unmatched datagrams (for obvious reasons, since less packets are sent), nothing seems to improve with the reduction of frequency - practically all datagrams seems to be reported as unmatched. Interestingly enough, Master runs the idle thread with BRD/LRD datagrams at 1 kHz without any unmatched/skipped datagrams.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>I have also tried my mini test configuration with and without the terminator (EL9010 module), aside from a "not able to calculate..." error when starting the master, there was practically no difference in unmatched/skipped datagrams.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>I have also captured the packets with Wireshark, and could not see any problems (a snippet from the Wireshark export is at the end of this post). All sent packets arrive a few microseconds later, EtherCAT index is growing steadily with each packet pair, and so on.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Any idea what am I doing wrong here?<o:p></o:p></p></div><div><p class=MsoNormal>(Please let me know if you need any other output and/or test done, I'll do that asap).<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>Thanks in advance,<br>DMM<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Courier New"'><br>--------------------------------------------------------------------<br>At 1 kHz:<br>--------------------------------------------------------------------<br>[ 1055.019937] EtherCAT: Master driver 1.5.2 2eff7c993a63<br>[ 1055.025611] EtherCAT: 1 master waiting for devices.<br>[ 1055.040124] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 2eff7c993a63<br>[ 1055.048393] EtherCAT: Accepting 7C:DD:20:01:08:F7 as main device for master 0.<br>[ 1055.056445] ec_generic: Binding socket to interface 4 (eth1).<br>[ 1055.066875] EtherCAT 0: Starting EtherCAT-IDLE thread.<br>[ 1055.072088] EtherCAT 0: Link state of ecm0 changed to UP.<br>[ 1055.073957] EtherCAT 0: 2 slave(s) responding on main device.<br>[ 1055.073961] EtherCAT 0: Slave states on main device: PREOP.<br>[ 1055.074114] EtherCAT 0: Scanning bus.<br>[ 1055.238414] EtherCAT 0: Bus scanning completed in 164 ms.<br>[ 1055.244772] EtherCAT 0: Using slave 0 as DC reference clock.<br>[ 1081.256489] EtherCAT: Requesting master 0...<br>[ 1081.260799] EtherCAT: Successfully requested master 0.<br>[ 1081.267058] EtherCAT 0: Domain0: Logical address 0x00000000, 1 byte, expected working counter 1.<br>[ 1081.275851] EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 1 byte, type LRD.<br>[ 1081.285763] EtherCAT 0: Master thread exited.<br>[ 1081.290124] EtherCAT 0: Starting EtherCAT-OP thread.<br>[ 1081.355151] EtherCAT 0: Domain 0: Working counter changed to 1/1.<br>[ 1081.370094] EtherCAT 0: Slave states on main device: OP.<br>[ 1082.294924] EtherCAT WARNING 0: 2001 datagrams UNMATCHED!<br>[ 1082.300141] EtherCAT WARNING: Datagram eec411cc (domain0-0-main) was SKIPPED 11 times.<br>[ 1082.356149] EtherCAT 0: Domain 0: 4 working counter changes - now 1/1.<br>[ 1083.294882] EtherCAT WARNING 0: 1978 datagrams UNMATCHED!<br>[ 1083.301149] EtherCAT WARNING: Datagram eec411cc (domain0-0-main) was SKIPPED 6 times.<br>[ 1083.357149] EtherCAT 0: Domain 0: 4 working counter changes - now 1/1.<br>[ 1084.295127] EtherCAT WARNING 0: 2002 datagrams UNMATCHED!<br>[ 1084.302151] EtherCAT WARNING: Datagram eec411cc (domain0-0-main) was SKIPPED 14 times.<br>[ 1084.358148] EtherCAT 0: Domain 0: 4 working counter changes - now 1/1.<br>[ 1085.294871] EtherCAT WARNING 0: 2002 datagrams UNMATCHED!<br>[ 1085.303148] EtherCAT WARNING: Datagram eec411cc (domain0-0-main) was SKIPPED 14 times.<br>[ 1085.359145] EtherCAT 0: Domain 0: 4 working counter changes - now 1/1.<br>[ 1086.235623] EtherCAT 0: Releasing master...<br>[ 1086.240701] EtherCAT 0: Master thread exited.<br>[ 1086.245098] EtherCAT 0: Starting EtherCAT-IDLE thread.<br>[ 1086.250316] EtherCAT 0: Released.<br>[ 1086.256416] EtherCAT 0: Slave states on main device: PREOP.<br><br><br>--------------------------------------------------------------------<br>Similar happens with client running at 100 Hz:<br>--------------------------------------------------------------------<br>[ 1831.848773] EtherCAT: Master driver 1.5.2 2eff7c993a63<br>[ 1831.854560] EtherCAT: 1 master waiting for devices.<br>[ 1831.869266] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 2eff7c993a63<br>[ 1831.877532] EtherCAT: Accepting 7C:DD:20:01:08:F7 as main device for master 0.<br>[ 1831.885569] ec_generic: Binding socket to interface 4 (eth1).<br>[ 1831.898137] EtherCAT 0: Starting EtherCAT-IDLE thread.<br>[ 1831.903358] EtherCAT 0: Link state of ecm0 changed to UP.<br>[ 1831.904425] EtherCAT 0: 2 slave(s) responding on main device.<br>[ 1831.904429] EtherCAT 0: Slave states on main device: PREOP.<br>[ 1831.904607] EtherCAT 0: Scanning bus.<br>[ 1832.067389] EtherCAT 0: Bus scanning completed in 163 ms.<br>[ 1832.073581] EtherCAT 0: Using slave 0 as DC reference clock.<br>[ 1836.051488] EtherCAT: Requesting master 0...<br>[ 1836.055766] EtherCAT: Successfully requested master 0.<br>[ 1836.068332] EtherCAT 0: Domain0: Logical address 0x00000000, 1 byte, expected working counter 1.<br>[ 1836.077126] EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 1 byte, type LRD.<br>[ 1836.086898] EtherCAT 0: Master thread exited.<br>[ 1836.091259] EtherCAT 0: Starting EtherCAT-OP thread.<br>[ 1836.669460] EtherCAT 0: Domain 0: Working counter changed to 1/1.<br>[ 1836.759489] EtherCAT 0: Slave states on main device: OP.<br>[ 1837.099447] EtherCAT WARNING 0: 197 datagrams UNMATCHED!<br>[ 1838.098997] EtherCAT WARNING 0: 199 datagrams UNMATCHED!<br>[ 1839.099392] EtherCAT WARNING 0: 199 datagrams UNMATCHED!<br>[ 1840.099365] EtherCAT WARNING 0: 200 datagrams UNMATCHED!<br>[ 1841.099341] EtherCAT WARNING 0: 200 datagrams UNMATCHED!<br>[ 1842.099308] EtherCAT WARNING 0: 200 datagrams UNMATCHED!<br>[ 1843.099280] EtherCAT WARNING 0: 200 datagrams UNMATCHED!<br>[ 1844.099258] EtherCAT WARNING 0: 200 datagrams UNMATCHED!<br>[ 1845.099228] EtherCAT WARNING 0: 200 datagrams UNMATCHED!<br>[ 1846.099201] EtherCAT WARNING 0: 200 datagrams UNMATCHED!<br>[ 1847.099076] EtherCAT WARNING 0: 199 datagrams UNMATCHED!<br>[ 1848.098683] EtherCAT WARNING 0: 198 datagrams UNMATCHED!<br>[ 1849.098887] EtherCAT WARNING 0: 198 datagrams UNMATCHED!<br>[ 1850.099090] EtherCAT WARNING 0: 199 datagrams UNMATCHED!<br>[ 1851.099062] EtherCAT WARNING 0: 200 datagrams UNMATCHED!<br>[ 1852.099038] EtherCAT WARNING 0: 200 datagrams UNMATCHED!<br>[ 1852.438369] EtherCAT 0: Releasing master...<br>[ 1852.442877] EtherCAT 0: Master thread exited.<br>[ 1852.447496] EtherCAT 0: Starting EtherCAT-IDLE thread.<br>[ 1852.452745] EtherCAT 0: Released.<br><br>--------------------------------------------------------------------<br>...running on 10 Hz:<br>--------------------------------------------------------------------<br><a href="tel:%5B%202104.432447" target="_blank">[ 2104.432447</a>] EtherCAT: Master driver 1.5.2 2eff7c993a63<br><a href="tel:%5B%202104.438058" target="_blank">[ 2104.438058</a>] EtherCAT: 1 master waiting for devices.<br><a href="tel:%5B%202104.452519" target="_blank">[ 2104.452519</a>] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 2eff7c993a63<br><a href="tel:%5B%202104.460786" target="_blank">[ 2104.460786</a>] EtherCAT: Accepting 7C:DD:20:01:08:F7 as main device for master 0.<br><a href="tel:%5B%202104.468808" target="_blank">[ 2104.468808</a>] ec_generic: Binding socket to interface 4 (eth1).<br><a href="tel:%5B%202104.478264" target="_blank">[ 2104.478264</a>] EtherCAT 0: Starting EtherCAT-IDLE thread.<br><a href="tel:%5B%202104.483477" target="_blank">[ 2104.483477</a>] EtherCAT 0: Link state of ecm0 changed to UP.<br><a href="tel:%5B%202104.485332" target="_blank">[ 2104.485332</a>] EtherCAT 0: 2 slave(s) responding on main device.<br><a href="tel:%5B%202104.485335" target="_blank">[ 2104.485335</a>] EtherCAT 0: Slave states on main device: PREOP.<br><a href="tel:%5B%202104.485518" target="_blank">[ 2104.485518</a>] EtherCAT 0: Scanning bus.<br><a href="tel:%5B%202104.648445" target="_blank">[ 2104.648445</a>] EtherCAT 0: Bus scanning completed in 163 ms.<br><a href="tel:%5B%202104.654723" target="_blank">[ 2104.654723</a>] EtherCAT 0: Using slave 0 as DC reference clock.<br><a href="tel:%5B%202108.675177" target="_blank">[ 2108.675177</a>] EtherCAT: Requesting master 0...<br><a href="tel:%5B%202108.679493" target="_blank">[ 2108.679493</a>] EtherCAT: Successfully requested master 0.<br><a href="tel:%5B%202108.685690" target="_blank">[ 2108.685690</a>] EtherCAT 0: Domain0: Logical address 0x00000000, 1 byte, expected working counter 1.<br><a href="tel:%5B%202108.694485" target="_blank">[ 2108.694485</a>] EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 1 byte, type LRD.<br><a href="tel:%5B%202108.704311" target="_blank">[ 2108.704311</a>] EtherCAT 0: Master thread exited.<br><a href="tel:%5B%202108.708672" target="_blank">[ 2108.708672</a>] EtherCAT 0: Starting EtherCAT-OP thread.<br><a href="tel:%5B%202109.716608" target="_blank">[ 2109.716608</a>] EtherCAT WARNING 0: 17 datagrams UNMATCHED!<br>[ 2110.716591] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br>[ 2111.716583] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br>[ 2112.716575] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br>[ 2113.716559] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br>[ 2114.416547] EtherCAT 0: Domain 0: Working counter changed to 1/1.<br>[ 2114.716541] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br>[ 2115.317137] EtherCAT 0: Slave states on main device: OP.<br>[ 2115.716529] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br>[ 2116.716520] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br>[ 2117.716340] EtherCAT WARNING 0: 19 datagrams UNMATCHED!<br>[ 2118.716495] EtherCAT WARNING 0: 19 datagrams UNMATCHED!<br>[ 2119.716483] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br>[ 2120.716471] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br>[ 2121.716407] EtherCAT WARNING 0: 19 datagrams UNMATCHED!<br><a href="tel:%5B%202122.716439" target="_blank">[ 2122.716439</a>] EtherCAT WARNING 0: 18 datagrams UNMATCHED!<br><a href="tel:%5B%202123.716432" target="_blank">[ 2123.716432</a>] EtherCAT WARNING 0: 19 datagrams UNMATCHED!<br><a href="tel:%5B%202124.716424" target="_blank">[ 2124.716424</a>] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br><a href="tel:%5B%202125.716407" target="_blank">[ 2125.716407</a>] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br><a href="tel:%5B%202126.716396" target="_blank">[ 2126.716396</a>] EtherCAT WARNING 0: 20 datagrams UNMATCHED!<br>[ 2127.716377] EtherCAT WARNING 0: 19 datagrams UNMATCHED!<br>[ 2127.793763] EtherCAT 0: Releasing master...<br>[ 2127.798054] EtherCAT 0: Master thread exited.<br>[ 2127.802449] EtherCAT 0: Starting EtherCAT-IDLE thread.<br>[ 2127.807678] EtherCAT 0: Released.<br>[ 2127.807698] EtherCAT 0: 0 slave(s) responding on main device.<br>[ 2127.808827] EtherCAT 0: 2 slave(s) responding on main device.<br>[ 2127.808830] EtherCAT 0: Slave states on main device: OP.<br>[ 2127.809009] EtherCAT 0: Scanning bus.<br>[ 2127.963163] EtherCAT 0: Bus scanning completed in 155 ms.<br>[ 2127.968567] EtherCAT 0: Using slave 0 as DC reference clock.<br>[ 2127.979630] EtherCAT 0: Slave states on main device: PREOP.<br>[ 2128.508638] EtherCAT WARNING: Datagram ee88bf64 (master-fsm) was SKIPPED 1 time.<br><br><br><br>--------------------------------------------------------------------<br>...and even when running on 1 Hz:<br>--------------------------------------------------------------------<br>[ 2258.592540] EtherCAT: Master driver 1.5.2 2eff7c993a63<br>[ 2258.598137] EtherCAT: 1 master waiting for devices.<br>[ 2258.612562] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 2eff7c993a63<br>[ 2258.620830] EtherCAT: Accepting 7C:DD:20:01:08:F7 as main device for master 0.<br>[ 2258.628866] ec_generic: Binding socket to interface 4 (eth1).<br>[ 2258.640350] EtherCAT 0: Starting EtherCAT-IDLE thread.<br>[ 2258.645567] EtherCAT 0: Link state of ecm0 changed to UP.<br>[ 2258.647613] EtherCAT 0: 2 slave(s) responding on main device.<br>[ 2258.647617] EtherCAT 0: Slave states on main device: PREOP.<br>[ 2258.647768] EtherCAT 0: Scanning bus.<br>[ 2258.809380] EtherCAT 0: Bus scanning completed in 162 ms.<br>[ 2258.815695] EtherCAT 0: Using slave 0 as DC reference clock.<br>[ 2261.082759] EtherCAT: Requesting master 0...<br>[ 2261.087038] EtherCAT: Successfully requested master 0.<br>[ 2261.099211] EtherCAT 0: Domain0: Logical address 0x00000000, 1 byte, expected working counter 1.<br>[ 2261.108006] EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 1 byte, type LRD.<br>[ 2261.117778] EtherCAT 0: Master thread exited.<br>[ 2261.122141] EtherCAT 0: Starting EtherCAT-OP thread.<br>[ 2263.130105] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2264.129763] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2265.130086] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2266.129366] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2267.130058] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2268.129362] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2269.130034] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2270.129800] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2271.130016] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2272.129544] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2273.129985] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2274.129933] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2275.129950] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2276.129256] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2277.129927] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2278.129674] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2279.129908] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2280.129090] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2281.129883] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2282.129882] EtherCAT WARNING 0: 2 datagrams UNMATCHED!<br>[ 2283.129860] EtherCAT WARNING 0: 2 datagrams UNMATCHED!<br>[ 2284.129860] EtherCAT WARNING 0: 2 datagrams UNMATCHED!<br>[ 2285.129828] EtherCAT WARNING 0: 2 datagrams UNMATCHED!<br>[ 2286.129303] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2287.129806] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2288.129798] EtherCAT WARNING 0: 2 datagrams UNMATCHED!<br>[ 2289.129778] EtherCAT WARNING 0: 2 datagrams UNMATCHED!<br>[ 2290.129766] EtherCAT WARNING 0: 2 datagrams UNMATCHED!<br>[ 2291.129753] EtherCAT WARNING 0: 2 datagrams UNMATCHED!<br>[ 2291.721574] EtherCAT 0: Releasing master...<br>[ 2291.726169] EtherCAT 0: Master thread exited.<br>[ 2291.730567] EtherCAT 0: Starting EtherCAT-IDLE thread.<br>[ 2291.735791] EtherCAT 0: Released.<br>[ 2291.739956] EtherCAT 0: Slave states on main device: PREOP, OP.<br>[ 2291.749639] EtherCAT 0: Slave states on main device: PREOP.<br><br><br>--------------------------------------------------------------------<br>Here's part of the output with debug 1 and debug rings enabled, at 1 kHz:<br>--------------------------------------------------------------------<br>[ 2921.723346] EtherCAT DEBUG 0: FSM datagram is ee8dbf64.<br>[ 2921.723352] EtherCAT 0: Starting EtherCAT-OP thread.<br>[ 2921.728426] EtherCAT DEBUG 0: Operation thread running with fsm interval = 1000 us, max data size=11250<br>[ 2921.728444] EtherCAT DEBUG 0: mmap()<br>[ 2921.728459] EtherCAT DEBUG 0: Vma fault, virtual_address = 48b80000, offset = 0, page = c0c46da0<br>[ 2922.731645] EtherCAT DEBUG 0: Received frame:<br>[ 2922.731654] EtherCAT DEBUG: FF FF FF FF FF FF 7E DD 20 01 08 F7 88 A4 0E 10 <br>[ 2922.731686] EtherCAT DEBUG: 04 0E 01 00 30 01 02 00 00 00 02 00 01 00 00 00 <br>[ 2922.731716] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2922.731746] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2922.731838] EtherCAT DEBUG 0: ec_master_send_datagrams(device_index = 0)<br>[ 2922.731844] EtherCAT DEBUG 0: Adding datagram 0x0F<br>[ 2922.731848] EtherCAT DEBUG 0: Adding datagram 0x10<br>[ 2922.731852] EtherCAT DEBUG 0: Adding datagram 0x11<br>[ 2922.731857] EtherCAT DEBUG 0: frame size: 47<br>[ 2922.731861] EtherCAT DEBUG 0: Sending frame:<br>[ 2922.731864] EtherCAT DEBUG: FF FF FF FF FF FF 7C DD 20 01 08 F7 88 A4 2D 10 <br>[ 2922.731895] EtherCAT DEBUG: 05 0F 01 00 10 09 04 80 00 00 1F 67 61 82 00 00 <br>[ 2922.731926] EtherCAT DEBUG: 0E 10 01 00 10 09 04 80 00 00 00 00 00 00 00 00 <br>[ 2922.731956] EtherCAT DEBUG: 0A 11 00 00 00 00 01 00 00 00 00 00 00 <br>[ 2922.732317] EtherCAT DEBUG 0: Configuration changed (aborting state check).<br>[ 2922.732323] EtherCAT DEBUG 0-0: Checking system time offset.<br>[ 2923.731589] EtherCAT DEBUG 0: Datagram ee8dbffc already queued (skipping).<br>[ 2923.731599] EtherCAT DEBUG 0: Datagram ee8dc054 already queued (skipping).<br>[ 2923.731612] EtherCAT DEBUG 0: Received frame:<br>[ 2923.731615] EtherCAT DEBUG: FF FF FF FF FF FF 7E DD 20 01 08 F7 88 A4 2D 10 <br>[ 2923.731646] EtherCAT DEBUG: 05 0F 01 00 10 09 04 80 00 00 1F 67 61 82 01 00 <br>[ 2923.731677] EtherCAT DEBUG: 0E 10 01 00 10 09 04 80 00 00 71 FD 42 82 02 00 <br>[ 2923.731707] EtherCAT DEBUG: 0A 11 00 00 00 00 01 00 00 00 00 00 00 <br>[ 2923.731736] EtherCAT WARNING 0: 1 datagram UNMATCHED!<br>[ 2923.736787] EtherCAT DEBUG 0: UNMATCHED datagram:<br>[ 2923.736791] EtherCAT DEBUG: 05 0F 01 00 10 09 04 80 00 00 1F 67 61 82 01 00 <br>[ 2923.736823] EtherCAT DEBUG 0: Debug ring 5:<br>[ 2923.736829] EtherCAT DEBUG 0: Frame 4294967287, dt=2.034572 s, TX:<br>[ 2923.736832] EtherCAT DEBUG: 0E 10 04 0B 01 00 30 01 02 00 00 00 00 00 00 00 <br>[ 2923.736862] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.736892] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.736921] EtherCAT DEBUG 0: Frame 4294967288, dt=2.033524 s, RX:<br>[ 2923.736924] EtherCAT DEBUG: 0E 10 04 0B 01 00 30 01 02 00 00 00 02 00 01 00 <br>[ 2923.736955] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.736986] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737015] EtherCAT DEBUG 0: Frame 4294967289, dt=2.033170 s, TX:<br>[ 2923.737018] EtherCAT DEBUG: 0E 10 04 0C 02 00 30 01 02 00 00 00 00 00 00 00 <br>[ 2923.737049] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737079] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737108] EtherCAT DEBUG 0: Frame 4294967290, dt=2.032148 s, RX:<br>[ 2923.737111] EtherCAT DEBUG: 0E 10 04 0C 02 00 30 01 02 00 00 00 02 00 01 00 <br>[ 2923.737141] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737171] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737200] EtherCAT DEBUG 0: Frame 4294967291, dt=2.031862 s, TX:<br>[ 2923.737204] EtherCAT DEBUG: 0E 10 07 0D 00 00 30 01 02 00 00 00 00 00 00 00 <br>[ 2923.737234] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737264] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737293] EtherCAT DEBUG 0: Frame 4294967292, dt=2.030844 s, RX:<br>[ 2923.737296] EtherCAT DEBUG: 0E 10 07 0D 02 00 30 01 02 00 00 00 02 00 02 00 <br>[ 2923.737327] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737365] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737395] EtherCAT DEBUG 0: Frame 4294967293, dt=2.013713 s, TX:<br>[ 2923.737398] EtherCAT DEBUG: 0E 10 04 0E 01 00 30 01 02 00 00 00 00 00 00 00 <br>[ 2923.737429] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737459] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737488] EtherCAT DEBUG 0: Frame 4294967294, dt=0.999984 s, RX:<br>[ 2923.737491] EtherCAT DEBUG: 0E 10 04 0E 01 00 30 01 02 00 00 00 02 00 01 00 <br>[ 2923.737521] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737552] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737581] EtherCAT DEBUG 0: Frame 4294967295, dt=0.999619 s, TX:<br>[ 2923.737584] EtherCAT DEBUG: 2D 10 05 0F 01 00 10 09 04 80 00 00 1F 67 61 82 <br>[ 2923.737614] EtherCAT DEBUG: 00 00 0E 10 01 00 10 09 04 80 00 00 00 00 00 00 <br>[ 2923.737645] EtherCAT DEBUG: 00 00 0A 11 00 00 00 00 01 00 00 00 00 00 00 <br>[ 2923.737675] EtherCAT DEBUG 0: Frame 0, dt=0.000000 s, RX:<br>[ 2923.737678] EtherCAT DEBUG: 2D 10 05 0F 01 00 10 09 04 80 00 00 1F 67 61 82 <br>[ 2923.737708] EtherCAT DEBUG: 01 00 0E 10 01 00 10 09 04 80 00 00 71 FD 42 82 <br>[ 2923.737739] EtherCAT DEBUG: 02 00 0A 11 00 00 00 00 01 00 00 00 00 00 00 <br>[ 2923.737768] EtherCAT DEBUG 0: UNMATCHED datagram:<br>[ 2923.737771] EtherCAT DEBUG: 0E 10 01 00 10 09 04 80 00 00 71 FD 42 82 02 00 <br>[ 2923.737803] EtherCAT DEBUG 0: Debug ring 5:<br>[ 2923.737808] EtherCAT DEBUG 0: Frame 4294967287, dt=2.034572 s, TX:<br>[ 2923.737811] EtherCAT DEBUG: 0E 10 04 0B 01 00 30 01 02 00 00 00 00 00 00 00 <br>[ 2923.737841] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737871] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737900] EtherCAT DEBUG 0: Frame 4294967288, dt=2.033524 s, RX:<br>[ 2923.737904] EtherCAT DEBUG: 0E 10 04 0B 01 00 30 01 02 00 00 00 02 00 01 00 <br>[ 2923.737934] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737964] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.737993] EtherCAT DEBUG 0: Frame 4294967289, dt=2.033170 s, TX:<br>[ 2923.737996] EtherCAT DEBUG: 0E 10 04 0C 02 00 30 01 02 00 00 00 00 00 00 00 <br>[ 2923.738027] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738057] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738086] EtherCAT DEBUG 0: Frame 4294967290, dt=2.032148 s, RX:<br>[ 2923.738089] EtherCAT DEBUG: 0E 10 04 0C 02 00 30 01 02 00 00 00 02 00 01 00 <br>[ 2923.738119] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738149] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738178] EtherCAT DEBUG 0: Frame 4294967291, dt=2.031862 s, TX:<br>[ 2923.738181] EtherCAT DEBUG: 0E 10 07 0D 00 00 30 01 02 00 00 00 00 00 00 00 <br>[ 2923.738212] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738242] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738271] EtherCAT DEBUG 0: Frame 4294967292, dt=2.030844 s, RX:<br>[ 2923.738274] EtherCAT DEBUG: 0E 10 07 0D 02 00 30 01 02 00 00 00 02 00 02 00 <br>[ 2923.738304] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738334] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738371] EtherCAT DEBUG 0: Frame 4294967293, dt=2.013713 s, TX:<br>[ 2923.738375] EtherCAT DEBUG: 0E 10 04 0E 01 00 30 01 02 00 00 00 00 00 00 00 <br>[ 2923.738405] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738435] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738464] EtherCAT DEBUG 0: Frame 4294967294, dt=0.999984 s, RX:<br>[ 2923.738468] EtherCAT DEBUG: 0E 10 04 0E 01 00 30 01 02 00 00 00 02 00 01 00 <br>[ 2923.738498] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738528] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.738557] EtherCAT DEBUG 0: Frame 4294967295, dt=0.999619 s, TX:<br>[ 2923.738560] EtherCAT DEBUG: 2D 10 05 0F 01 00 10 09 04 80 00 00 1F 67 61 82 <br>[ 2923.738591] EtherCAT DEBUG: 00 00 0E 10 01 00 10 09 04 80 00 00 00 00 00 00 <br>[ 2923.738621] EtherCAT DEBUG: 00 00 0A 11 00 00 00 00 01 00 00 00 00 00 00 <br>[ 2923.738652] EtherCAT DEBUG 0: Frame 0, dt=0.000000 s, RX:<br>[ 2923.738655] EtherCAT DEBUG: 2D 10 05 0F 01 00 10 09 04 80 00 00 1F 67 61 82 <br>[ 2923.738685] EtherCAT DEBUG: 01 00 0E 10 01 00 10 09 04 80 00 00 71 FD 42 82 <br>[ 2923.738716] EtherCAT DEBUG: 02 00 0A 11 00 00 00 00 01 00 00 00 00 00 00 <br>[ 2923.738857] EtherCAT DEBUG 0: ec_master_send_datagrams(device_index = 0)<br>[ 2923.738864] EtherCAT DEBUG 0: Adding datagram 0x12<br>[ 2923.738868] EtherCAT DEBUG 0: Adding datagram 0x13<br>[ 2923.738872] EtherCAT DEBUG 0: Adding datagram 0x14<br>[ 2923.738876] EtherCAT DEBUG 0: Adding datagram 0x15<br>[ 2923.738881] EtherCAT DEBUG 0: frame size: 83<br>[ 2923.738884] EtherCAT DEBUG 0: Sending frame:<br>[ 2923.738888] EtherCAT DEBUG: FF FF FF FF FF FF 7C DD 20 01 08 F7 88 A4 51 10 <br>[ 2923.738919] EtherCAT DEBUG: 05 12 01 00 10 09 04 80 00 00 1F 31 FC BD 00 00 <br>[ 2923.738949] EtherCAT DEBUG: 0E 13 01 00 10 09 04 80 00 00 00 00 00 00 00 00 <br>[ 2923.738979] EtherCAT DEBUG: 0A 14 00 00 00 00 01 80 00 00 00 00 00 04 15 01 <br>[ 2923.739009] EtherCAT DEBUG: 00 10 09 18 00 00 00 02 00 00 00 00 00 00 00 00 <br>[ 2923.739040] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2923.739070] EtherCAT DEBUG: 00 <br>[ 2924.731580] EtherCAT DEBUG 0: Datagram ee8dbffc already queued (skipping).<br>[ 2924.731589] EtherCAT DEBUG 0: Datagram ee8dc054 already queued (skipping).<br>[ 2924.731603] EtherCAT DEBUG 0: Received frame:<br>[ 2924.731607] EtherCAT DEBUG: FF FF FF FF FF FF 7E DD 20 01 08 F7 88 A4 51 10 <br>[ 2924.731638] EtherCAT DEBUG: 05 12 01 00 10 09 04 80 00 00 1F 31 FC BD 01 00 <br>[ 2924.731669] EtherCAT DEBUG: 0E 13 01 00 10 09 04 80 00 00 A4 55 4A BE 02 00 <br>[ 2924.731699] EtherCAT DEBUG: 0A 14 00 00 00 00 01 80 00 00 00 00 00 04 15 01 <br>[ 2924.731729] EtherCAT DEBUG: 00 10 09 18 00 00 00 A4 55 4A BE A8 02 00 00 30 <br>[ 2924.731760] EtherCAT DEBUG: CA D8 58 90 06 00 00 DC DF 61 F8 14 FC FF FF 01 <br>[ 2924.731790] EtherCAT DEBUG: 00 <br>[ 2924.731800] EtherCAT WARNING 0: 2 datagrams UNMATCHED!<br>[ 2924.736938] EtherCAT DEBUG 0: UNMATCHED datagram:<br>[ 2924.736942] EtherCAT DEBUG: 05 12 01 00 10 09 04 80 00 00 1F 31 FC BD 01 00 <br>[ 2924.736974] EtherCAT DEBUG 0: Debug ring 7:<br>[ 2924.736980] EtherCAT DEBUG 0: Frame 4294967287, dt=3.033172 s, TX:<br>[ 2924.736983] EtherCAT DEBUG: 0E 10 04 0C 02 00 30 01 02 00 00 00 00 00 00 00 <br>[ 2924.737014] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737044] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737073] EtherCAT DEBUG 0: Frame 4294967288, dt=3.032150 s, RX:<br>[ 2924.737077] EtherCAT DEBUG: 0E 10 04 0C 02 00 30 01 02 00 00 00 02 00 01 00 <br>[ 2924.737107] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737138] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737167] EtherCAT DEBUG 0: Frame 4294967289, dt=3.031864 s, TX:<br>[ 2924.737171] EtherCAT DEBUG: 0E 10 07 0D 00 00 30 01 02 00 00 00 00 00 00 00 <br>[ 2924.737201] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737231] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737260] EtherCAT DEBUG 0: Frame 4294967290, dt=3.030846 s, RX:<br>[ 2924.737263] EtherCAT DEBUG: 0E 10 07 0D 02 00 30 01 02 00 00 00 02 00 02 00 <br>[ 2924.737294] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737324] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737363] EtherCAT DEBUG 0: Frame 4294967291, dt=3.013715 s, TX:<br>[ 2924.737367] EtherCAT DEBUG: 0E 10 04 0E 01 00 30 01 02 00 00 00 00 00 00 00 <br>[ 2924.737397] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737428] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737457] EtherCAT DEBUG 0: Frame 4294967292, dt=1.999986 s, RX:<br>[ 2924.737460] EtherCAT DEBUG: 0E 10 04 0E 01 00 30 01 02 00 00 00 02 00 01 00 <br>[ 2924.737490] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737521] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737549] EtherCAT DEBUG 0: Frame 4294967293, dt=1.999621 s, TX:<br>[ 2924.737553] EtherCAT DEBUG: 2D 10 05 0F 01 00 10 09 04 80 00 00 1F 67 61 82 <br>[ 2924.737583] EtherCAT DEBUG: 00 00 0E 10 01 00 10 09 04 80 00 00 00 00 00 00 <br>[ 2924.737614] EtherCAT DEBUG: 00 00 0A 11 00 00 00 00 01 00 00 00 00 00 00 <br>[ 2924.737644] EtherCAT DEBUG 0: Frame 4294967294, dt=1.000002 s, RX:<br>[ 2924.737647] EtherCAT DEBUG: 2D 10 05 0F 01 00 10 09 04 80 00 00 1F 67 61 82 <br>[ 2924.737678] EtherCAT DEBUG: 01 00 0E 10 01 00 10 09 04 80 00 00 71 FD 42 82 <br>[ 2924.737708] EtherCAT DEBUG: 02 00 0A 11 00 00 00 00 01 00 00 00 00 00 00 <br>[ 2924.737739] EtherCAT DEBUG 0: Frame 4294967295, dt=0.992515 s, TX:<br>[ 2924.737742] EtherCAT DEBUG: 51 10 05 12 01 00 10 09 04 80 00 00 1F 31 FC BD <br>[ 2924.737773] EtherCAT DEBUG: 00 00 0E 13 01 00 10 09 04 80 00 00 00 00 00 00 <br>[ 2924.737803] EtherCAT DEBUG: 00 00 0A 14 00 00 00 00 01 80 00 00 00 00 00 04 <br>[ 2924.737833] EtherCAT DEBUG: 15 01 00 10 09 18 00 00 00 02 00 00 00 00 00 00 <br>[ 2924.737863] EtherCAT DEBUG: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br>[ 2924.737893] EtherCAT DEBUG: 00 00 00 <br>[ 2924.737904] EtherCAT DEBUG 0: Frame 0, dt=0.000000 s, RX:<br>[ 2924.737907] EtherCAT DEBUG: 51 10 05 12 01 00 10 09 04 80 00 00 1F 31 FC BD <br>[ 2924.737938] EtherCAT DEBUG: 01 00 0E 13 01 00 10 09 04 80 00 00 A4 55 4A BE <br>[ 2924.737968] EtherCAT DEBUG: 02 00 0A 14 00 00 00 00 01 80 00 00 00 00 00 04 <br>[ 2924.737998] EtherCAT DEBUG: 15 01 00 10 09 18 00 00 00 A4 55 4A BE A8 02 00 <br>[ 2924.738029] EtherCAT DEBUG: 00 30 CA D8 58 90 06 00 00 DC DF 61 F8 14 FC FF <br>[ 2924.738059] EtherCAT DEBUG: FF 01 00 <br><br><br>--------------------------------------------------------------------<br>At the end, this is how packets look like when captured with Wireshark, <br>while client is running at 1 Hz:<br>--------------------------------------------------------------------<br><br>No. Time Source Destination Protocol Info<br> 1 0.000000 7c:dd:20:01:08:f7 Broadcast ECAT 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>Frame 1 (61 bytes on wire, 61 bytes captured)<br>Ethernet II, Src: 7c:dd:20:01:08:f7 (7c:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>0000 ff ff ff ff ff ff 7c dd 20 01 08 f7 88 a4 2d 10 ......|. .....-.<br>0010 05 3b 01 00 10 09 04 80 00 00 93 5f 05 b1 00 00 .;........._....<br>0020 0e 3c 01 00 10 09 04 80 00 00 00 00 00 00 00 00 .<..............<br>0030 0a 3d 00 00 00 00 01 00 00 00 00 00 00 .=...........<br><br>No. Time Source Destination Protocol Info<br> 2 0.000009 7e:dd:20:01:08:f7 Broadcast ECAT 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>Frame 2 (61 bytes on wire, 61 bytes captured)<br>Ethernet II, Src: 7e:dd:20:01:08:f7 (7e:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>0000 ff ff ff ff ff ff 7e dd 20 01 08 f7 88 a4 2d 10 ......~. .....-.<br>0010 05 3b 01 00 10 09 04 80 00 00 93 5f 05 b1 01 00 .;........._....<br>0020 0e 3c 01 00 10 09 04 80 00 00 21 20 07 b1 02 00 .<........! ....<br>0030 0a 3d 00 00 00 00 01 00 00 00 00 00 00 .=...........<br><br>No. Time Source Destination Protocol Info<br> 3 1.000185 7c:dd:20:01:08:f7 Broadcast ECAT 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'FPRD': len 24<br><br>Frame 3 (97 bytes on wire, 97 bytes captured)<br>Ethernet II, Src: 7c:dd:20:01:08:f7 (7c:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'FPRD': len 24<br><br>0000 ff ff ff ff ff ff 7c dd 20 01 08 f7 88 a4 51 10 ......|. .....Q.<br>0010 05 3e 01 00 10 09 04 80 00 00 93 29 a0 ec 00 00 .>.........)....<br>0020 0e 3f 01 00 10 09 04 80 00 00 00 00 00 00 00 00 .?..............<br>0030 0a 40 00 00 00 00 01 80 00 00 00 00 00 04 41 02 <a href="mailto:.@............A">.@............A</a>.<br>0040 00 10 09 18 00 00 00 dc df 61 f8 14 fc ff ff 00 .........a......<br>0050 00 00 00 f8 05 00 00 a0 ff 9d f8 14 fc ff ff 00 ................<br>0060 00 .<br><br>No. Time Source Destination Protocol Info<br> 4 1.000194 7e:dd:20:01:08:f7 Broadcast ECAT 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'FPRD': len 24<br><br>Frame 4 (97 bytes on wire, 97 bytes captured)<br>Ethernet II, Src: 7e:dd:20:01:08:f7 (7e:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'FPRD': len 24<br><br>0000 ff ff ff ff ff ff 7e dd 20 01 08 f7 88 a4 51 10 ......~. .....Q.<br>0010 05 3e 01 00 10 09 04 80 00 00 93 29 a0 ec 01 00 .>.........)....<br>0020 0e 3f 01 00 10 09 04 80 00 00 7a 2c a2 ec 02 00 .?........z,....<br>0030 0a 40 00 00 00 00 01 80 00 00 00 00 00 04 41 02 <a href="mailto:.@............A">.@............A</a>.<br>0040 00 10 09 18 00 00 00 25 fb e2 ec 5a 02 00 00 83 .......%...Z....<br>0050 c5 29 ec f8 05 00 00 09 d9 0f f7 14 fc ff ff 01 .)..............<br>0060 00 .<br><br>No. Time Source Destination Protocol Info<br> 5 2.000115 7c:dd:20:01:08:f7 Broadcast ECAT 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>Frame 5 (61 bytes on wire, 61 bytes captured)<br>Ethernet II, Src: 7c:dd:20:01:08:f7 (7c:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>0000 ff ff ff ff ff ff 7c dd 20 01 08 f7 88 a4 2d 10 ......|. .....-.<br>0010 05 42 01 00 10 09 04 80 00 00 93 f3 3a 28 00 00 .B..........:(..<br>0020 0e 43 01 00 10 09 04 80 00 00 00 00 00 00 00 00 .C..............<br>0030 0a 44 00 00 00 00 01 00 00 00 00 00 00 .D...........<br><br>No. Time Source Destination Protocol Info<br> 6 2.000124 7e:dd:20:01:08:f7 Broadcast ECAT 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>Frame 6 (61 bytes on wire, 61 bytes captured)<br>Ethernet II, Src: 7e:dd:20:01:08:f7 (7e:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>0000 ff ff ff ff ff ff 7e dd 20 01 08 f7 88 a4 2d 10 ......~. .....-.<br>0010 05 42 01 00 10 09 04 80 00 00 93 f3 3a 28 01 00 .B..........:(..<br>0020 0e 43 01 00 10 09 04 80 00 00 9f e8 3c 28 02 00 .C..........<(..<br>0030 0a 44 00 00 00 00 01 00 00 00 00 00 00 .D...........<br><br>No. Time Source Destination Protocol Info<br> 7 3.000045 7c:dd:20:01:08:f7 Broadcast ECAT 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'FPWR': len 12<br><br>Frame 7 (85 bytes on wire, 85 bytes captured)<br>Ethernet II, Src: 7c:dd:20:01:08:f7 (7c:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'FPWR': len 12<br><br>0000 ff ff ff ff ff ff 7c dd 20 01 08 f7 88 a4 45 10 ......|. .....E.<br>0010 05 45 01 00 10 09 04 80 00 00 93 bd d5 63 00 00 .E...........c..<br>0020 0e 46 01 00 10 09 04 80 00 00 00 00 00 00 00 00 .F..............<br>0030 0a 47 00 00 00 00 01 80 00 00 00 00 00 05 48 02 .G............H.<br>0040 00 20 09 0c 00 00 00 77 07 cd f6 14 fc ff ff 9b . .....w........<br>0050 00 00 00 00 00 .....<br><br>No. Time Source Destination Protocol Info<br> 8 3.000053 7e:dd:20:01:08:f7 Broadcast ECAT 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'FPWR': len 12<br><br>Frame 8 (85 bytes on wire, 85 bytes captured)<br>Ethernet II, Src: 7e:dd:20:01:08:f7 (7e:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'FPWR': len 12<br><br>0000 ff ff ff ff ff ff 7e dd 20 01 08 f7 88 a4 45 10 ......~. .....E.<br>0010 05 45 01 00 10 09 04 80 00 00 93 bd d5 63 01 00 .E...........c..<br>0020 0e 46 01 00 10 09 04 80 00 00 6f ec d7 63 02 00 .F........o..c..<br>0030 0a 47 00 00 00 00 01 80 00 00 00 00 00 05 48 02 .G............H.<br>0040 00 20 09 0c 00 00 00 77 07 cd f6 14 fc ff ff 9b . .....w........<br>0050 00 00 00 01 00 .....<br><br>No. Time Source Destination Protocol Info<br> 9 3.999991 7c:dd:20:01:08:f7 Broadcast ECAT 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>Frame 9 (61 bytes on wire, 61 bytes captured)<br>Ethernet II, Src: 7c:dd:20:01:08:f7 (7c:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>0000 ff ff ff ff ff ff 7c dd 20 01 08 f7 88 a4 2d 10 ......|. .....-.<br>0010 05 49 01 00 10 09 04 80 00 00 93 87 70 9f 00 00 .I..........p...<br>0020 0e 4a 01 00 10 09 04 80 00 00 00 00 00 00 00 00 .J..............<br>0030 0a 4b 00 00 00 00 01 00 00 00 00 00 00 .K...........<br><br>No. Time Source Destination Protocol Info<br> 10 3.999999 7e:dd:20:01:08:f7 Broadcast ECAT 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>Frame 10 (61 bytes on wire, 61 bytes captured)<br>Ethernet II, Src: 7e:dd:20:01:08:f7 (7e:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 3 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1<br><br>0000 ff ff ff ff ff ff 7e dd 20 01 08 f7 88 a4 2d 10 ......~. .....-.<br>0010 05 49 01 00 10 09 04 80 00 00 93 87 70 9f 01 00 .I..........p...<br>0020 0e 4a 01 00 10 09 04 80 00 00 04 ee 72 9f 02 00 .J..........r...<br>0030 0a 4b 00 00 00 00 01 00 00 00 00 00 00 .K...........<br><br>No. Time Source Destination Protocol Info<br> 11 5.000153 7c:dd:20:01:08:f7 Broadcast ECAT 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'BRD': len 2<br><br>Frame 11 (75 bytes on wire, 75 bytes captured)<br>Ethernet II, Src: 7c:dd:20:01:08:f7 (7c:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'BRD': len 2<br><br>0000 ff ff ff ff ff ff 7c dd 20 01 08 f7 88 a4 3b 10 ......|. .....;.<br>0010 05 4c 01 00 10 09 04 80 00 00 93 51 0b db 00 00 .L.........Q....<br>0020 0e 4d 01 00 10 09 04 80 00 00 00 00 00 00 00 00 .M..............<br>0030 0a 4e 00 00 00 00 01 80 00 00 00 00 00 07 4f 00 .N............O.<br>0040 00 30 01 02 00 00 00 00 00 00 00 .0.........<br><br>No. Time Source Destination Protocol Info<br> 12 5.000161 7e:dd:20:01:08:f7 Broadcast ECAT 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'BRD': len 2<br><br>Frame 12 (75 bytes on wire, 75 bytes captured)<br>Ethernet II, Src: 7e:dd:20:01:08:f7 (7e:dd:20:01:08:f7), Dst: Broadcast (ff:ff:ff:ff:ff:ff)<br>EtherCAT frame header<br>EtherCAT datagram(s): 4 Cmds, 'FPWR': len 4, 'FRMW': len 4, 'LRD': len 1, 'BRD': len 2<br><br>0000 ff ff ff ff ff ff 7e dd 20 01 08 f7 88 a4 3b 10 ......~. .....;.<br>0010 05 4c 01 00 10 09 04 80 00 00 93 51 0b db 01 00 .L.........Q....<br>0020 0e 4d 01 00 10 09 04 80 00 00 94 d8 0d db 02 00 .M..............<br>0030 0a 4e 00 00 00 00 01 80 00 00 00 00 00 07 4f 02 .N............O.<br>0040 00 30 01 02 00 00 00 02 00 02 00 .0.........</span><o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'>_______________________________________________<br>etherlab-dev mailing list<br><a href="mailto:etherlab-dev@etherlab.org" target="_blank">etherlab-dev@etherlab.org</a><br><a href="http://lists.etherlab.org/mailman/listinfo/etherlab-dev" target="_blank">http://lists.etherlab.org/mailman/listinfo/etherlab-dev</a><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>