Class ModbusDevice

    • Constructor Detail

      • ModbusDevice

        ModbusDevice()
    • Method Detail

      • getMaxRegistersPerModbusRequest

         final Integer getMaxRegistersPerModbusRequest()

        The maximum number of modbus registers that can be requested PER call. Some devices do not allow the normal max of 125.

      • getRegisters

         abstract RegisterBlock getRegisters(Address firstRegister, Integer count)

        Retrieve a block of registers.

        Parameters:
        firstRegister - The first modbus register that is desired in the output.
        count - The maximum number of registers to retrieve ( >= 1 ).
        Returns:

        A RegisterBlock with of all the retrieved registers