Slave not responding

Hello,

I am building a setup between Modbus Scan32 and slave device ESP32. I am sending a value from Modbus Scan32 and receive it on the esp32 using Arduino IDE but slave not responding.It was not build a connection.

Thanks and Good Day..!!
 
The ESP32 is a microcontroller, so have you written (or obtained code or a library for) a Modbus driver to run on the ESP32?

Are you using Modbus/TCP (Ethernet connection) or Modbus RTU (serial connection)?

Do you see an error message in ModScan32?

Have you searched the Arduino forum for suggestions from other users trying to do the same thing? For example, here are two possibly relevant posts:
https://forum.arduino.cc/t/esp32-modbus-rtu-using-arduino-ide/1155928
https://forum.arduino.cc/t/solved-modbus-tcp-server-on-esp32-using-wi-fi/1129751
 
I am using a Modbus RTU serial connection.

Modscan32 connected and sent a poll and when the value changed it showed a valid slave response but the value was not reflected on the slave side.
 
I'm sorry, but I don't fully understand your description of the issue you're having. Are you saying you are trying to write a value to your slave using ModScan32 and that ModScan32 seems to indicate the write was successful, but your slave does not show the new value after the write?

Can ModScan32 read values from your slave? Do the values in ModScan32 change when you change the values in your slave?

Again, have you written (or obtained code or a library for) a Modbus driver to run on the ESP32? If so, please show us the code or provide a link to the library you're using.
 
Top