Any one can Implement ESP32 act as Slave in Mdbus RTU protocol and respond to Query for Read Discreate Input

plz Help me for Implement Slvae functionality on ESP32

what ESP32 are you using ?
what TTL-RS485 module are you using?
for testing and monitoring the RS485 network I would suggest you get a USB-RS485 dongle for a PC - I tend to use a FTDI usb-rs485-we-1800-bt but low cost dongles are available on Ebay etc, e.g. an ESP32 connected to a TTL-RS484 modules connected to a USB=TTL dongle

what Modbus master are you planning to use?

I am Using ESP32 Dev Kit V1

yes I am Using TTL- RS485 converter. and RS485-USB converter also over UART port of ESP32.

Master is Modscan32 Software .

we want to Read Digital Inputs from ESP32 when Master can send the query then in that same format additionally digital input status send ESP32 as a Slave responce to master

for non commercial usage you can try my modbus server (slave) library:

Arduino: Noiasca Modbus Server Library (Modbus Slave) (rothschopf.net)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.