ArduinoModbus : Modbus Client class
Perform a "Write Single Holding Register" operation for the specified address and value.
int holdingRegisterWrite(int address, uint16_t value);
int holdingRegisterWrite(int id, int address, uint16_t value);
id (slave) - id of target, defaults to 0x00 if not specified
address - address to use for operation
value - holding register value to write
1 on success, 0 on failure.
ModbusClient Class