| Package | Description |
|---|---|
| net.wimpi.modbus |
Provides an object oriented Modbus implementation in Java.
|
| net.wimpi.modbus.facade |
Provides facade pattern implementations.
|
| net.wimpi.modbus.io |
Provides I/O and transport related interfaces and classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ModbusIOException
Class that implements a ModbusIOException.
|
class |
ModbusSlaveException
Class that implements a ModbusSlaveException.
|
| Modifier and Type | Method and Description |
|---|---|
BitVector |
ModbusUDPMaster.readCoils(int ref,
int count)
Reads a given number of coil states from the slave.
|
BitVector |
ModbusTCPMaster.readCoils(int ref,
int count)
Reads a given number of coil states from the slave.
|
BitVector |
ModbusSerialMaster.readCoils(int unitid,
int ref,
int count)
Reads a given number of coil states from the slave.
|
BitVector |
ModbusUDPMaster.readInputDiscretes(int ref,
int count)
Reads a given number of input discrete states from the slave.
|
BitVector |
ModbusTCPMaster.readInputDiscretes(int ref,
int count)
Reads a given number of input discrete states from the slave.
|
BitVector |
ModbusSerialMaster.readInputDiscretes(int unitid,
int ref,
int count)
Reads a given number of input discrete states from the slave.
|
InputRegister[] |
ModbusUDPMaster.readInputRegisters(int ref,
int count)
Reads a given number of input registers from the slave.
|
InputRegister[] |
ModbusTCPMaster.readInputRegisters(int ref,
int count)
Reads a given number of input registers from the slave.
|
InputRegister[] |
ModbusSerialMaster.readInputRegisters(int unitid,
int ref,
int count)
Reads a given number of input registers from the slave.
|
Register[] |
ModbusUDPMaster.readMultipleRegisters(int ref,
int count)
Reads a given number of registers from the slave.
|
Register[] |
ModbusTCPMaster.readMultipleRegisters(int ref,
int count)
Reads a given number of registers from the slave.
|
Register[] |
ModbusSerialMaster.readMultipleRegisters(int unitid,
int ref,
int count)
Reads a given number of registers from the slave.
|
boolean |
ModbusUDPMaster.writeCoil(int unitid,
int ref,
boolean state)
Writes a coil state to the slave.
|
boolean |
ModbusTCPMaster.writeCoil(int unitid,
int ref,
boolean state)
Writes a coil state to the slave.
|
boolean |
ModbusSerialMaster.writeCoil(int unitid,
int ref,
boolean state)
Writes a coil state to the slave.
|
void |
ModbusUDPMaster.writeMultipleCoils(int ref,
BitVector coils)
Writes a given number of coil states to the slave.
|
void |
ModbusTCPMaster.writeMultipleCoils(int ref,
BitVector coils)
Writes a given number of coil states to the slave.
|
void |
ModbusSerialMaster.writeMultipleCoils(int unitid,
int ref,
BitVector coils)
Writes a given number of coil states to the slave.
|
void |
ModbusSerialMaster.writeMultipleRegisters(int unitid,
int ref,
Register[] registers)
Writes a number of registers to the slave.
|
void |
ModbusUDPMaster.writeMultipleRegisters(int ref,
Register[] registers)
Writes a number of registers to the slave.
|
void |
ModbusTCPMaster.writeMultipleRegisters(int ref,
Register[] registers)
Writes a number of registers to the slave.
|
void |
ModbusSerialMaster.writeSingleRegister(int unitid,
int ref,
Register register)
Writes a single register to the slave.
|
void |
ModbusUDPMaster.writeSingleRegister(int ref,
Register register)
Writes a single register to the slave.
|
void |
ModbusTCPMaster.writeSingleRegister(int ref,
Register register)
Writes a single register to the slave.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ModbusUDPTransaction.checkValidity()
Checks the validity of the transaction, by
checking if the values of the response correspond
to the values of the request.
|
protected void |
ModbusTCPTransaction.checkValidity()
Checks the validity of the transaction, by
checking if the values of the response correspond
to the values of the request.
|
protected void |
ModbusSerialTransaction.checkValidity()
Checks the validity of the transaction, by
checking if the values of the response correspond
to the values of the request.
|
void |
ModbusUDPTransaction.execute() |
void |
ModbusTransaction.execute()
Executes this ModbusTransaction.
|
void |
ModbusTCPTransaction.execute() |
void |
ModbusSerialTransaction.execute() |
Copyright © 2017. All rights reserved.