andresarmento / modbus-esp8266

A library that allows your ESP8266 to communicate via Modbus protocol, acting as a slave (master in development). Supports IP via wireless network (Modbus IP).
BSD 3-Clause "New" or "Revised" License
146 stars 236 forks source link

TCP server port #12

Closed samaliftech closed 3 years ago

samaliftech commented 3 years ago

Hello. I having a problem where I want to read holding registers from modbus tcp (as modbus master) but it failed. This is because the example code didn't provide server port. I want to use this address 192.168.0.1:8899 to read but it failed because the code defined as 192.168.0.1. I used IP-Client-SimpleRead.ino