modbus-esp8266
modbus-esp8266 copied to clipboard
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 Se...
HI, I need some help with getting a multi-server configuration to work on ESP8266. Setup: I emulate two DTSU666 3-phase power meters, for a power unit that is connected to...
I want to be able to read holding registers in "blocks" (i.e a group of registers) and also as single registers. Here's my attempt at doing so: Slave code on...
mb.slave(SLAVE_ID); mb.addHreg(REGN); mb.Hreg(REGN, 100); ....................... if(REGN > 150){"send exeption -3 illegal value"}; // how to do this? .............. } void loop() { mb.task(); yield(); }
I am using the default example client.ino, I load it with my Wifi network and the server address (I have the server on my PC with modbus slave) similar to...
Hi emelianov How to write multiple coil
Fixed typo
# Issue When using a hostname to connect to a TLS secured Modbus server, the hostname is resolved into an IP address by the library, which mismatches the server's subject...
Hi, I've found an problem when using your library on rp2040 and W5500. As this hardware has only 8 sockets available, after 8 connections/disconnections you will be not able to...
``` /* Modbus-Arduino Example - Master Modbus IP Client (ESP8266/ESP32) Read Holding Register from Server device (c)2018 Alexander Emelianov ([email protected]) https://github.com/emelianov/modbus-esp8266 */ #ifdef ESP8266 #include #else #include #endif #include const...
First of all thanks for developing this library. It has been working great on my ESP8266. I've come across an issue when requesting a read of more than 28 registers...