Author Topic: MAC addresses used in EtherCAT frames  (Read 180 times)

0 Members and 1 Guest are viewing this topic.

Offline radar_macgyverTopic starter

  • Frequent Contributor
  • **
  • Posts: 722
  • Country: us
MAC addresses used in EtherCAT frames
« on: Today at 05:47:30 am »
What is the source and destination MAC address used for frames sent on an EtherCAT link? I could see that the source address is that of the master, but since there can be multiple nodes and the same packet traverses each one, what would the destination address be?
 

Online radiolistener

  • Super Contributor
  • ***
  • Posts: 3914
  • Country: ua
Re: MAC addresses used in EtherCAT frames
« Reply #1 on: Today at 06:15:58 am »
It seems that there is no free and open documentation.
But at a glance it uses UDP packets or ethernet packets with etherType=0x88A4 as envelope.
So it seems that it uses usual MAC addresses, the same as usual ethernet. Probably with the same ARP.
 

Offline fchk

  • Frequent Contributor
  • **
  • Posts: 251
  • Country: de
Re: MAC addresses used in EtherCAT frames
« Reply #2 on: Today at 06:54:22 am »
If you use direct mode (Master - slave1 - slave2 - slave3 ...), then the mac addresses aren't checked.

If you use open mode (Master - Switch - n slave chains), then the destination MAC is the MAC of the first slave of the chain being addressed.

Reference: ETG1000.3 Section 4.7.2

And no, UDP is not used. These are special Ethercat frames.
 

Online radiolistener

  • Super Contributor
  • ***
  • Posts: 3914
  • Country: ua
Re: MAC addresses used in EtherCAT frames
« Reply #3 on: Today at 07:11:57 am »
And no, UDP is not used. These are special Ethercat frames.





« Last Edit: Today at 07:15:45 am by radiolistener »
 

Offline jbb

  • Super Contributor
  • ***
  • Posts: 1210
  • Country: nz
Re: MAC addresses used in EtherCAT frames
« Reply #4 on: Today at 07:31:12 am »
It’s been a while, but I seem to recall something about ‘proper’ - I.e. no Ethernet switch - EtherCAT setups being able to all use the same MAC address
 

Online radiolistener

  • Super Contributor
  • ***
  • Posts: 3914
  • Country: ua
Re: MAC addresses used in EtherCAT frames
« Reply #5 on: Today at 07:57:26 am »
It’s been a while, but I seem to recall something about ‘proper’ - I.e. no Ethernet switch - EtherCAT setups being able to all use the same MAC address

Does it means that it just ignore eth.src and eth.dst? Such implementations definitely will not work on any medium, as promised...
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf