Package com.tinkerforge
Interface BrickletRS485.ModbusSlaveReadInputRegistersRequestListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletRS485
public static interface BrickletRS485.ModbusSlaveReadInputRegistersRequestListener extends DeviceListener
This listener is called only in Modbus slave mode when the slave receives a valid request from a Modbus master to read input registers. The parameters are request ID of the request, the number of the first input register and the number of input registers to be read as received by the request. The number of the first input register is called starting address for backwards compatibility reasons. It is not an address, but instead a input register number in the range of 1 to 65536. The prefix digit 3 (for input register) is omitted. To send a response of this request useBrickletRS485.modbusSlaveAnswerReadInputRegistersRequest(int, int[])
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
modbusSlaveReadInputRegistersRequest(int requestID, long startingAddress, int count)
-