public interface ReadWriteRegistersModbusMessage extends RegistersModbusMessage
The AddressedModbusMessage.getAddress() of this message refers to the
read address, and AddressedModbusMessage.getCount() refers to the
read count. The RegistersModbusMessage.dataDecode() and
RegistersModbusMessage.dataDecodeUnsigned() refer to the read
registers (only available in responses).
| Modifier and Type | Method | Description |
|---|---|---|
int |
getWriteAddress() |
Get the write starting address.
|
short[] |
writeDataDecode() |
Get the write register data as signed 16-bit values.
|
int[] |
writeDataDecodeUnsigned() |
Get the write register data as unsigned 16-bit values.
|
dataCopy, dataDecode, dataDecodeUnsignedgetAddress, getCountequals, getError, getFunction, getUnitId, hashCode, isException, isSameAs, unwrap, validateint getWriteAddress()
short[] writeDataDecode()
int[] writeDataDecodeUnsigned()