Package modbustcp

Class ModbusData

java.lang.Object
modbustcp.ModbusData

public class ModbusData extends Object
  • Constructor Details Link icon

  • Method Details Link icon

    • getShortData Link icon

      public short[] getShortData() throws ModbusTCPException
      Throws:
      ModbusTCPException
    • getRevFloatData Link icon

      public float[] getRevFloatData() throws ModbusTCPException
      Throws:
      ModbusTCPException
    • getFloatData Link icon

      public float[] getFloatData() throws ModbusTCPException
      Throws:
      ModbusTCPException
    • getCommandId Link icon

      public short getCommandId()
      Returns:
      the commandId
    • getProtocol Link icon

      public short getProtocol()
      Returns:
      the protocol
    • getLength Link icon

      public short getLength()
      Returns:
      the length
    • getUnitId Link icon

      public byte getUnitId()
      Returns:
      the unitId
    • getCommand Link icon

      public byte getCommand()
      Returns:
      the command
    • getDataBytes Link icon

      public byte getDataBytes()
      Returns:
      the dataBytes
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object