Package | Description |
---|---|
org.avineas.modbus |
Interface and common definitions for the Modbus PLC implementation (over TCP/IP).
|
org.avineas.modbus.impl |
Implementation of the master and slave sides of the Modbus protocol over TCP/IP.
|
Modifier and Type | Class and Description |
---|---|
class |
ReadHoldingRegistersRequest
Read multiple registers, request part.
|
class |
WriteMultipleRegistersRequest
A request indicating multiple registers that are written.
|
Modifier and Type | Method and Description |
---|---|
ModbusResponse |
ModbusUnit.handleRequest(ModbusRequest request)
Handle a modbus request, meaning: pick up the details and send an corresponding response.
|
ModbusResponse |
ModbusSender.send(int unit,
ModbusRequest request)
Send a modbus request to a remote unit.
|
Constructor and Description |
---|
ModbusResponse(ModbusRequest request,
int error)
Create a response from a request giving an error to reply to the sender.
|
ReadHoldingRegistersRequest(ModbusRequest request)
Construct a read request from a received request in slave mode.
|
WriteMultipleRegistersRequest(ModbusRequest request)
Constructor used in slave mode after it is determined that the request received is
a write request.
|
Modifier and Type | Method and Description |
---|---|
ModbusResponse |
ModbusSenderImpl.send(int unit,
ModbusRequest request) |