Nano with Modbus RTU

I have the following :

  • A Schneider power meter with Modbus RS485 interface. Link of the address summary HERE
  • A RS485 to TTL level convertor
  • A Nano MCU

With the above I guess I can read the required holding registers on the power meter and use Serial to send it further. So for this which Library is to be used and how do I enter the register address ?

Could locate the following libraries ...

ArduinoRS485-master.zip
Simplemodbusng-master.zip

Currently I'm also working with a power meter and Modbus. I'm using this library+example and was able to retrieve the first measurements: ArduinoModbus/ModbusRTUTemperatureSensor.ino at master · arduino-libraries/ArduinoModbus · GitHub

Heavyweight:
Currently I'm also working with a power meter and Modbus. I'm using this library+example and was able to retrieve the first measurements: ArduinoModbus/examples/RTU/ModbusRTUTemperatureSensor/ModbusRTUTemperatureSensor.ino at master · arduino-libraries/ArduinoModbus · GitHub

Yes I have this... I wanted to read the registers 43909 and 43913 but the code returned a Time out error. How did you enter the address of the required registers ?

Thanks !

OK obviously there is this issue of Serial. Since the Nano hardware Serial is also used by the monitor in the IDE, this is not going to work.

I need a library that will use Software Serial for ModBus. Or I must use a Mega2560 and use Serial1 for the IDE serial monitor ?