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.
Hi, is there a simple way to send and receive float values stored inside holding registers?
The software on my computer expects float values on the arduino slave. Right now, I am using reinterpret cast and bitmasks to convert the float values to uint16 before sending it over modbus.
Hi, is there a simple way to send and receive float values stored inside holding registers? The software on my computer expects float values on the arduino slave. Right now, I am using reinterpret cast and bitmasks to convert the float values to uint16 before sending it over modbus.