Skip to content

How to Implement OpenPLC on STM32 with W5500 Ethernet and Modbus TCP

OpenPLC natively supports W5100 and W5500 Ethernet controllers, enabling Modbus TCP on STM32 using the Arduino Ethernet API.

jakelee

Published June 29, 2026

Original author: Pablo Jean · SpainOriginal source (new tab)

How to Implement OpenPLC on STM32 with W5500 Ethernet and Modbus TCP

Components

Hardware components

x 1

WIZnet parts

Project description

Step 1: Understanding the Hardware This discussion explores implementing OpenPLC Runtime on an STM32 microcontroller with Ethernet connectivity for Modbus TCP communication. The developer considered using either: WIZnet W5500 WIZnet W5100 ENC28J60 However, the OpenPLC project maintainer confirmed that the current runtime already supports W5100 and W5500, while ENC28J60 would require a custom Ethernet driver. Typical hardware includes: STM32 microcontroller W5500 Ethernet controller SPI interface OpenPLC Runtime Modbus TCP communication The W5500 provides: Hardwired TCP/IP stack Integrated…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.

Similar projects you might like