ModbusRTU slave

Submitted by Alfonso on

Hello, I want to learn how to save data in the modbus_array [2] in the slave arduino, and with the master arduino read the result depending on the value that the generated if gives it, 1 or 2, I can't read those values, I use the Modbusrtu library (smarmengol) and arduino ModbusMaster for the master arduino can someone help me understand how to save a value in an array of the slave's modbus THX.

https://www.arduino.cc/en/ArduinoModbus/ArduinoModbus

Hi the above link of the arduino modbus library can be useful for you application. This library can be used to configure the slave mode .

  Joined February 12, 2018      696
Monday at 02:11 PM