[etherlab-users] etherlab-users Digest, Vol 53, Issue 15

Shahbaz Yousefi shabbyx at gmail.com
Thu Oct 20 16:31:07 CEST 2011


Ok. I can reduce the cycle time. For example make it 10 times faster. This
way, since my hardware doesn't have data this fast, I would wake up in
period 1, send request and sleep, wake up in period 2, receive and process,
sleep all the periods 3 to 10. This is absolutely the same thing I have been
saying the whole time. Without waking up in between periods 3 to 10.

You see, the thing is, if you know the packet will arrive after let's say
4ms (regardless of how fast the hardware generates data), then yeah, you can
send, sleep 4ms, receive process and wait period. But how do you find that
4ms?

We were thinking of calibrating first, so you try to find that value for
your network and then start working, but the thing is, you still have no way
of knowing when your data arrived so that you can measure the turnaround
time!

What I'm saying is, you tell me to reduce the cycle time, I won't have a
problem with that, but how do you know how much to reduce it if you can't
measure the turnaround time?

On Thu, Oct 20, 2011 at 3:56 PM, <etherlab-users-request at etherlab.org>wrote:

> > You get data of last night, issue commands and send the postman at night.
> > Delay? 1 day
> > Our method, you get the data of today, issue commands and send the
> postman
> > again today (another thread). Delay? As short as it can be. (If you
> > remember, that is also something we wanted. Not to be restricted to
> > sending the postman only once a day, but as soon as we need him).
>
> In EtherCAT, I believe this would be accomplished by setting the cycle time
> to a shorter value.  If you set it to 1 hour instead of 24, you can get in
> 24 values of new data in a day, not just one (and the postman will be in
> excellent physical condition, ready for Boston Marathon!).  So why not go
> from 40ms to something significantly smaller?  If something prohibits you
> from going to a smaller cycle time then I would guess you have reached the
> limits of EtherCAT.  (Maybe the "post office" isn't good enough for you and
> you need a team of dedicated FedEx workers to go out and collect mail when
> you order them to.  Certain FedEx workers go out every hour, others every 3
> hours, etc., you decide.  If that's the case, I don't think it's the
> EtherCAT model.)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20111020/8e590e09/attachment-0003.htm>


More information about the Etherlab-users mailing list