<div dir="ltr">Is there anything holding you from just calling ecrt_master_receive() early as a kind of poll ?<div><br></div><div>I'm just wondering if the need for receipt notification would e.g. arise when someone would send an EtherCAT frame A for gathering data and, as soon as that frame returns, do some calculations and send a second frame B to apply process outputs, in an attempt to obtain shorter response times ?</div>
<div><br></div><div>J.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/21 Martin Troxler <span dir="ltr"><<a href="mailto:martin.troxler@komaxgroup.com" target="_blank">martin.troxler@komaxgroup.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
I watched that discussion about the need for a API to wait (poll) for<br>
received frames. I still don't get it why that is nessessary.<br>
<br>
Here is a clarification of how ethercat (process data transfer) works:<br>
- Process Data should be regarded as idempotent states, which means it<br>
doesn't matter how many times you read it.<br>
- it's a kind of huge shift register from the master through all slaves<br>
and back to the master where each slave (ESC-Chip) manipulates the<br>
stream of data on the fly.<br>
- Slaves (i.e. the firmware on microcontrollers) cannot delay the<br>
transmission of the frame. If there is no new data the ESC simply<br>
transfers the actual content of its local memory.<br>
- The frame transmission time is fixed for a given set of slaves and<br>
depends largely on the domain size and not on how fast the slave's<br>
microcontroller can update the data.<br>
<br>
Regards<br>
Martin<br>
<br>
Note:<br>
<br>
This e-mail is for the named person's use only. It may contain confidential and/or privileged information. If you have received this e-mail in error, please notify the sender immediately and delete the material from any system. Any unauthorized copying, disclosure, distribution or other use of this information by persons or entities other than the intended recipient is prohibited.<br>
<br>
Thank You.<br>
_______________________________________________<br>
etherlab-users mailing list<br>
<a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a><br>
<a href="http://lists.etherlab.org/mailman/listinfo/etherlab-users" target="_blank">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a><br>
</blockquote></div><br></div>