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...
I think this library can do everything I need, however, the documentation in the API.md file and the lack of documentation in the source code makes it hard to understand....
Hi, I have a MAX485 board which requires DE/RE pins to be pulled high/low depending on sending/receiving data. Since I cannot tie both pins to one GPIO in my setup,...
It's not an actual error, but current default settings in Arduino IDE lead to this error when compiling with MODBUSRTU_REDE enabled: ``` /Users/frederik/Documents/Arduino/libraries/modbus-esp8266/src/ModbusRTU.cpp: In member function 'bool ModbusRTUTemplate::rawSend(uint8_t, uint8_t*, uint8_t)':...
Hi, I tried to run esp32 as modbus slave. MASTER send: 01 03 00 00 00 0A C5 CD SLAVE (esp32 with basic RTU sketch) send back: 7F 7E FF...
Im getting ILLEGAL_VALUE when I try to read a Hreg with readHreg function. Im ussing a modbusTCP conecction and readwrite function work fine. There's a way to get the raw...
I am able to make a Basic Master Slave structure to send message from Master and receive ACK message from Slave when the push button is pressed. But, my approach...
Thank you for this wonderful library. I am trying to implement Modbus communication between ESP32 and ESP8266 modules. My current configuration is ESP8266 MAX485 MAX485 ESP32 D4(Rx) -------------- RO A...
Hello, I am searching for the function 6. What is the methode corresponding to this funtion ? I use RTU mode. Many thanks for your help. Best regards
I'm trying to put int32_t value into 2 registers with values from array for my ModbusRTU slave using `ModbusRTU::Hregs` ```cpp uint16_t weight_parts[2]; weight_parts[0] = static_cast((weight >> 16) & 0xFFFF); weight_parts[1]...
As the title says, I would like to implement a Modbus TCP Security client and send data over Ethernet using an Ethernet shield instead of ESP8266/ESP32 and WiFi.