This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28386D-Q1: etherNET and etherCAT

Part Number: TMS320F28386D-Q1
Other Parts Discussed in Thread: TIDM-02006, TMS320F28386D, C2000WARE

Hi Team, 

Good day. I am posting this inquiry on behalf of the customer.

"I have a doubt regarding etherNET and etherCAT networks. They are very similar and I don't understand if this difference is only to the software: is it possible to join the two networks with a gateway or a bridge? Or are the gateway or a bridge useless because, for example, in an etherNET network it is possible to route messages for etherCAT devices?

Let me explain, I want to connect my pc, through a LAN network (etherNET bus network) to the TMS320F28386D-Q1, from which to extend an etherCAT network. The PC controls other devices connected in the LAN, while the TMS320F28386D-Q1 is the master in the etherCAT network.


Can I connect the etherCAT port of the TMS320F28386D-Q1 to the LAN, so as to control it from a PC with etherCAT protocol? Or should I use the etherNET port of the TMS320F28386D-Q1 to connect it to the LAN, giving up the features of the etherCAT, and then extend the etherCAT network from it?


I am studying TIDM-02006 to finish designing my application on kicad, I have not yet written some code for TMS320F28386D-Q1 and I would like to have clear indications on how to develop the etherNET network in which to control various devices and unknown peripherals and the etherCAT network in the which to control a certain number of axes."

Thank you for extending your help. Your support is much appreciated.

Kind regards, 

Marvin 

  • Marvin, 

    You can refer the following link 

    https://www.ethercat.org/en/technology.html#:~:text=Ethernet%20devices%20are%20connected%20to,completely%20transparent%20for%20Ethernet%20devices.

    As per this article , using the Ethernet over EtherCAT (EoE) protocol any Ethernet data traffic can be transported within an EtherCAT segment. Ethernet devices are connected to an EtherCAT segment via so-called Switchports. The Ethernet frames are tunneled through the EtherCAT protocol, similarly to the internet protocols (e.g. TCP/IP, VPN, PPPoE (DSL), etc.) as such, which makes the EtherCAT network completely transparent for Ethernet devices.

    Will try to get more details and share. 

    Best Regards

    Siddharth

  • Hi Sid, 

    Thank you for your response. I got feedback from the customer, please see below.

    "I finished reading the article, I will try to read it several times so as not to miss anything.
    where can I find an example code that helps me to forward ethernet messages on the etherCAT port, as reported in the article (compatible with TMS320F28386D and to be loaded on a TMS320F28386D to work as an etherNET gateway / etherCAT master)?

    I express myself better, I look for some example codes that, loaded on a TMS320F28386D, allow the TMS320F28386D to:
    1. receive / forward etherNET messages using the etherNET peripheral (in an etherNET bus network);
    2. receive / forward etherNET messages using the etherCAT peripheral (in an etherNET bus network), I don't know if this is possible;
    3. receive / forward etherCAT messages using the etherCAT peripheral (in an etherNET network, as in TIDM-02006);
    4. receive / forward etherCAT messages using the etherCAT peripheral (in an etherCAT daisy chain network).
    are there other examples like TIDM-02006, from which I can take inspiration?

    Please help to advise. Thank you for extending your help. Your support is much appreciated.

    Kind regards, 

    Marvin

  • Marvin,

    There are few examples within C2000Ware which you can refer for 1 and 3. We currently don't have an example to send/receive etherNET messages using the etherCAT peripheral

    Best Regards

    Siddharth