Package modbustcp
Class ModbusData
java.lang.Object
modbustcp.ModbusData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte
short
byte
float[]
short
short
float[]
short[]
byte
toString()
-
Constructor Details
-
ModbusData
- Throws:
ModbusTCPException
-
-
Method Details
-
getShortData
- Throws:
ModbusTCPException
-
getRevFloatData
- Throws:
ModbusTCPException
-
getFloatData
- Throws:
ModbusTCPException
-
getCommandId
public short getCommandId()- Returns:
- the commandId
-
getProtocol
public short getProtocol()- Returns:
- the protocol
-
getLength
public short getLength()- Returns:
- the length
-
getUnitId
public byte getUnitId()- Returns:
- the unitId
-
getCommand
public byte getCommand()- Returns:
- the command
-
getDataBytes
public byte getDataBytes()- Returns:
- the dataBytes
-
toString
-