emelianov / modbus-esp8266

Most complete Modbus library for Arduino. A library that allows your Arduino board to communicate via Modbus protocol, acting as a master, slave or both. Supports network transport (Modbus TCP) and Serial line/RS-485 (Modbus RTU). Supports Modbus TCP Security for ESP8266/ESP32.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

two w5500 module use for modbus master+slave

javadmasoomi opened this issue · comments

Hello
I need to use two modules in Modbus, one as a master and the other as a slave. It seems like a workaround, please guide me.

Just combine server and client code using two instances of ModBusTCP class. One for master and one for server and another for client.