Class S7Header

java.lang.Object
javaforce.controls.s7.S7Header

public class S7Header extends Object
  • Field Details

    • id

      public byte id
    • rosctr

      public byte rosctr
    • res

      public short res
    • pdu_ref

      public short pdu_ref
    • param_length

      public short param_length
    • data_length

      public short data_length
    • ROSCTR_JOB

      public static final byte ROSCTR_JOB
      See Also:
    • ROSCTR_ACK

      public static final byte ROSCTR_ACK
      See Also:
    • ROSCTR_USERDATA

      public static final byte ROSCTR_USERDATA
      See Also:
  • Constructor Details

    • S7Header

      public S7Header()
  • Method Details

    • size

      public int size()
    • write

      public void write(byte[] data, int offset, short _param_length, short _data_length)
    • read

      public void read(byte[] data, int offset) throws Exception
      Throws:
      Exception