|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Register | |
---|---|
net.wimpi.modbus.facade | Provides facade pattern implementations. |
net.wimpi.modbus.msg | Provides interfaces and classes that encapsulate Modbus messages in an object oriented manner. |
net.wimpi.modbus.procimg | Provides interfaces and classes that provide a coupling between a slave side and a master or device side. |
Uses of Register in net.wimpi.modbus.facade |
---|
Methods in net.wimpi.modbus.facade that return Register | |
---|---|
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. |
Methods in net.wimpi.modbus.facade with parameters of type Register | |
---|---|
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. |
Uses of Register in net.wimpi.modbus.msg |
---|
Methods in net.wimpi.modbus.msg that return Register | |
---|---|
Register |
WriteSingleRegisterRequest.getRegister()
Returns the value that should be written to the register with this WriteSingleRegisterRequest. |
Register |
WriteMultipleRegistersRequest.getRegister(int index)
Returns the Register at the given position (relative to the reference used in the request). |
Register |
ReadMultipleRegistersResponse.getRegister(int index)
Returns the Register at the given position (relative to the reference used in the request). |
Register[] |
WriteMultipleRegistersRequest.getRegisters()
Returns the registers to be written with this WriteMultipleRegistersRequest. |
Register[] |
ReadMultipleRegistersResponse.getRegisters()
Returns a reference to the array of registers read. |
Methods in net.wimpi.modbus.msg with parameters of type Register | |
---|---|
void |
WriteSingleRegisterRequest.setRegister(Register reg)
Sets the value that should be written to the register with this WriteSingleRegisterRequest. |
void |
WriteMultipleRegistersRequest.setRegisters(Register[] registers)
Sets the registers to be written with this WriteMultipleRegistersRequest. |
Constructors in net.wimpi.modbus.msg with parameters of type Register | |
---|---|
ReadMultipleRegistersResponse(Register[] registers)
Constructs a new ReadInputRegistersResponse instance. |
|
WriteMultipleRegistersRequest(int ref,
Register[] registers)
Constructs a new WriteMultipleRegistersRequest instance with a given reference and values to be written. |
|
WriteSingleRegisterRequest(int ref,
Register reg)
Constructs a new WriteSingleRegisterRequest instance with a given reference and value to be written. |
Uses of Register in net.wimpi.modbus.procimg |
---|
Classes in net.wimpi.modbus.procimg that implement Register | |
---|---|
class |
AbstractRegister
Abstract class for a register. |
class |
ObservableRegister
Class implementing an observable register. |
class |
SimpleInputRegister
Class implementing a simple InputRegister. |
class |
SimpleRegister
Class implementing a simple Register. |
class |
SynchronizedAbstractRegister
Abstract class with synchronized register operations. |
Methods in net.wimpi.modbus.procimg that return Register | |
---|---|
Register |
ProcessImageFactory.createRegister()
Creates a new Register instance. |
Register |
DefaultProcessImageFactory.createRegister()
Creates a new SimpleRegister instance. |
Register |
ProcessImageFactory.createRegister(byte b1,
byte b2)
Returns a new Register instance with a given value. |
Register |
DefaultProcessImageFactory.createRegister(byte b1,
byte b2)
Returns a new Register instance with a given value. |
Register |
SimpleProcessImage.getRegister(int ref)
|
Register |
ProcessImage.getRegister(int ref)
Returns the Register instance at the given reference. |
Register[] |
SimpleProcessImage.getRegisterRange(int ref,
int count)
|
Register[] |
ProcessImage.getRegisterRange(int offset,
int count)
Returns a range of Register instances. |
Methods in net.wimpi.modbus.procimg with parameters of type Register | |
---|---|
void |
SimpleProcessImage.addRegister(Register reg)
|
void |
ProcessImageImplementation.addRegister(Register reg)
Adds a new Register instance. |
void |
SimpleProcessImage.removeRegister(Register reg)
|
void |
ProcessImageImplementation.removeRegister(Register reg)
Removes a given Register instance. |
void |
SimpleProcessImage.setRegister(int ref,
Register reg)
|
void |
ProcessImageImplementation.setRegister(int ref,
Register reg)
Sets a new Register instance at the given reference. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |