MBModbusRTUSlave

Modbus RTU protocol (function codes `0x03` and `0x06`). This library is a slave implementation of the Modbus RTU protocol.

Author
S.Mersin (electrocoder)
Website
https://github.com/electrocoder/MBModbusRTUSlave
Category
Communication
License
MIT
Library Type
Contributed
Architectures
avr, esp8266, esp32

The `MBModbusRTUSlave` library allows Arduino devices to function as Modbus RTU slaves over a serial connection. It supports reading and writing registers via Modbus function codes `0x03` (Read Holding Registers) and `0x06` (Write Single Register), with provisions for LED control based on a designated register value. The library is designed to be customizable, with configurable slave address, LED pin, LED register index, and baud rate.

Downloads

Filename Release Date File Size
MBModbusRTUSlave-1.1.0.zip 2025-04-08 40.65 MiB
MBModbusRTUSlave-1.0.0.zip 2025-03-07 40.65 MiB