ArduinoModbus - client.holdingRegisterRead()
Description
Perform a “Read Holding Registers” operation for a single holding register.
Syntax
long holdingRegisterRead(int address);
long holdingRegisterRead(int id, int address);
Parameters
- id (slave) - id of target, defaults to 0x00 if not specified
- address start address to use for operation
- holding register value on success, -1 on failure.