Connecting esp32s3 to siemens S7-1200 PLC over Modbus TCP

"Hello everyone,

I'm new to working with ESP32 and Arduino, currently interning at a company where I'm tasked with developing an IoT project involving the ESP32S3 Walter (Walter). The project involves connecting to a PLC over Modbus TCP Ethernet to retrieve sensor data and then uploading this data to the cloud.

I've purchased an Ethernet Shield (W5500 Ethernet Module) (https://www.tinytronics.nl/en/communication-and-signals/ethernet/modules/w5500-ethernet-module) to facilitate the connection between the ESP32 and the PLC. Initially, I'm trying to test the Ethernet shield by connecting the ESP32 to my laptop using an Ethernet cable (as shown in the picture attached).

However, I'm struggling to find examples or documentation on how to set this up. Can someone please provide guidance or point me in the direction of resources that can help with this? Additionally, if anyone has experience with similar setups, I'd greatly appreciate any tips or insights you can offer.

Thank you in advance for your help!"

I moved your topic to a more appropriate forum category @aggie04.

The Nano ESP32 category you chose is only used for discussions directly related to the Arduino Nano ESP32 board.

In the future, please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.

Thanks in advance for your cooperation.

try a web search for esp32 w5500 module, e.g. esp32-ethernet-w5500-with-plain-http-and-ssl-https

Thank you very much and my apologies for my mistake, this is the first time I'm using Arduino Forum

1 Like

Hi,

I just saw this topic. I'm the creator of Walter (Walter) and I'm more than happy to help. I think a good starting point would be to use this sketch: GitHub - kethort/io-over-tcp-modbus-arduino-mach4: Provides extra inputs and outputs via Modbus over TCP using an Arduino Mega and W5100 or W5500 Ethernet Shield and communicating to Mach4 CNC software.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.