Class CIP
java.lang.Object
javaforce.controls.ab.CIP
-
Field Summary
FieldsModifier and TypeFieldDescriptionshortshortbyte[][]bytebytelongbytestatic final bytebytebyte[]bytebytebytebytebytebytebytebytebytebytebytejavaforce.controls.ab.CIP.TagSegment[]bytestatic final byteshortstatic final bytestatic final bytestatic final bytebytebytebyte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetSize()voidreadReplyGetAttrs(byte[] data, int offset) voidreadReplyReadTag(byte[] data, int offset) voidreadReplySetAttrs(byte[] data, int offset) voidreadReplyWriteTag(byte[] data, int offset) voidvoidvoidvoidvoidwrite(byte[] packet, int offset)
-
Field Details
-
cmd
public byte cmd -
count
public byte count -
path_1
public byte path_1 -
class_1
public byte class_1 -
path_2
public byte path_2 -
class_2
public byte class_2 -
reserved1
public byte reserved1 -
reserved2
public byte reserved2 -
reserved3
public byte reserved3 -
type
public byte type -
reserved
public byte reserved -
data
public byte[] data -
attrs
public byte[][] attrs -
ticktime
public byte ticktime -
ticktimeout
public byte ticktimeout -
sub_cmd_len
public short sub_cmd_len -
sub_cmd
public byte sub_cmd -
data_words
public byte data_words -
segments
public javaforce.controls.ab.CIP.TagSegment[] segments -
route_size
public byte route_size -
route_res
public byte route_res -
route_seg
public byte route_seg -
route_addr
public byte route_addr -
attr_count
public short attr_count -
attr_clock
public short attr_clock -
clock
public long clock -
CMD_UNCONNECTED_SEND
public static final byte CMD_UNCONNECTED_SEND- See Also:
-
SUB_CMD_READTAG
public static final byte SUB_CMD_READTAG- See Also:
-
SUB_CMD_WRITETAG
public static final byte SUB_CMD_WRITETAG- See Also:
-
SUB_CMD_GET_ATTR
public static final byte SUB_CMD_GET_ATTR- See Also:
-
SUB_CMD_SET_ATTR
public static final byte SUB_CMD_SET_ATTR- See Also:
-
-
Constructor Details
-
CIP
public CIP(byte _cmd, byte _sub_cmd)
-
-
Method Details
-
getSize
public int getSize() -
write
-
setRead
-
setWrite
-
setReadClock
public void setReadClock() -
setWriteClock
public void setWriteClock() -
readReplyReadTag
-
readReplyWriteTag
-
readReplyGetAttrs
-
readReplySetAttrs
-