Ambiguous EtherCAT Details

554 Views Asked by At

The following are a few introductory lines on EtherCAT:

The EtherCAT master sends a telegram that passes through each node. Each EtherCAT slave device reads the data addressed to it “on the fly”, and inserts its data in the frame as the frame is moving downstream.

My questions from the above text:

  • What does reading data "on the fly" mean?
  • How can data be inserted in the frame while its moving? Doesn't it need to be copied first in a buffer and then updated?

This text is taken from http://www.ethercat.org/en/technology.html.

3

There are 3 best solutions below

1
On

An EtherCAT network can be compared to a railway where each station can off-load and re-load train cars while the train moves through the station.

What does reading data "on the fly" mean?

It means the reading happens at the same time when the frame is transmitting. It's pretty much like the cut-through technology used by switches. You don't store the whole received frame first, process it, and then forward it. Instead, you read it as it is transmitting through you "on the fly" like a train passing through a station.

How can data be inserted in the frame while its moving?
Doesn't it need to be copied first in a buffer and then updated?

The key to this is all these are done by slave's specific hardware(e.g., FPGA, ASIC). This hardware chip is called EtherCAT Slave Controller (ESC) in EtherCAT's parlance. ESC guarantees the "on the fly" feature.

Refer to this fabulous animation on youtube: EtherCAT Functional Principle.

0
On

A slave device isn't actually altering the existing packet like it sounds from the description. Instead it is picking up the packet info from one Ethernet port and as quickly as it can propagating that information, with any required modifications to an electrically separate port. It does this with a very predictable propagation delay, allowing very precise timings through the entire network of slaves. It's important to realize that the packet isn't required to be fully received on the input port before it can begin being clocked out on the output side; In fact it will almost never be.

0
On

Thanks to Eric Z. There is no better way to answer this question.

Here is an additional link to beckhoff. They describe their technologie very well. If you still have doubts after watching the nice animation on YouTube, pls visit the learning platform below and go to chapter: "Ethernet 'on the fly'".

Beckhoff: about EtherCAT (german)

Beckhoff: about EtherCAT (english)