| 程序包 | 说明 |
|---|---|
| com.serotonin.modbus4j |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
BasicProcessImage.getBit(int range,
int offset,
int bit) |
boolean |
ProcessImage.getCoil(int offset)
Returns the current value of the coil for the given offset.
|
boolean |
BasicProcessImage.getCoil(int offset) |
short |
ProcessImage.getHoldingRegister(int offset)
Returns the current value of the holding register for the given offset.
|
short |
BasicProcessImage.getHoldingRegister(int offset) |
boolean |
BasicProcessImage.getHoldingRegisterBit(int offset,
int bit) |
boolean |
ProcessImage.getInput(int offset)
Returns the current value of the input for the given offset.
|
boolean |
BasicProcessImage.getInput(int offset) |
short |
ProcessImage.getInputRegister(int offset)
Returns the current value of the input register for the given offset.
|
short |
BasicProcessImage.getInputRegister(int offset) |
boolean |
BasicProcessImage.getInputRegisterBit(int offset,
int bit) |
Number |
BasicProcessImage.getNumeric(int range,
int offset,
int dataType) |
<T> T |
BasicProcessImage.getRegister(BaseLocator<T> locator) |
String |
BasicProcessImage.getString(int range,
int offset,
int dataType,
int registerCount) |
String |
BasicProcessImage.getString(int range,
int offset,
int dataType,
int registerCount,
Charset charset) |
void |
ProcessImage.writeCoil(int offset,
boolean value)
Used to set the coil as a result of a write command from the master.
|
void |
BasicProcessImage.writeCoil(int offset,
boolean value) |
void |
ProcessImage.writeHoldingRegister(int offset,
short value)
Used to set the holding register as a result of a write command from the master.
|
void |
BasicProcessImage.writeHoldingRegister(int offset,
short value) |
Copyright © 2018. All rights reserved.