I have a project with an ESP32 and W5500 ethernet module.
I'm looking to add Ethernet/IP (EIP) support, where the ESP32 is the EIP Adapter (which is the EIP term for slave).
I don't have a lot of knowledge of the EIP stack so I hope someone can give me some insight.
I've looked and not found an open source implementation of Ethernet/IP for the ESP32 (or any other microcontroller).
I think the options are:
- It is possible to implement the whole stack but a lot of work, it shares the CIP layer of Ethernet TCP/IP though.
- It it possible to buy the Ethernet/IP software stack, and implement it on ESP32: https://www.rtautomation.com/product/et ... ode-stack/
- Buy a dedicated Network SoCs + their firmware and interface it with ESP32: https://www.hilscher.com/products/netwo ... roller-soc
- Buy an adapter: https://www.gridconnect.com/products/ne ... thernet-ip
Anyone knows a library for Ethernet/IP or has some experience with implementing the stack themselves?
ESP32 as Ethernet/IP (Industrial Protocol) Adapter
-
- Posts: 9709
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 as Ethernet/IP (Industrial Protocol) Adapter
There's an open-source library for that here. I have no experience with it, but given that it purports to be portable and expects a POSIX interface, I'm decently sure it shouldn't be that hard to port to ESP-IDF. It can use the lower-level TCP/IP layers already available on the ESP32/ESP-IDF, so you can communicate over WiFi, the built-in Ethernet MAC, or any other interface that is supported by or can be made to work with ESP-IDF.
Re: ESP32 as Ethernet/IP (Industrial Protocol) Adapter
Thank you. Definitely an option, but not something I can/will do.ESP_Sprite wrote: ↑Fri Feb 17, 2023 6:24 amThere's an open-source library for that here. I have no experience with it, but given that it purports to be portable and expects a POSIX interface, I'm decently sure it shouldn't be that hard to port to ESP-IDF. It can use the lower-level TCP/IP layers already available on the ESP32/ESP-IDF, so you can communicate over WiFi, the built-in Ethernet MAC, or any other interface that is supported by or can be made to work with ESP-IDF.
Who is online
Users browsing this forum: No registered users and 217 guests