点击或拖拽改变大小

CNCFanucSeriesMessageProtocolHeadBytesLength 属性

消息头的指令长度,第一次接受数据的长度
Instruction length of the message header, the length of the first received data

命名空间:  HslCommunication.CNC.Fanuc
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法
public int ProtocolHeadBytesLength { get; }

属性值

类型:Int32

实现

INetMessageProtocolHeadBytesLength
备注
当最高位字节的最高位为1时,第0和1位为校验的字符数量,第二高位字节表示结束字符之后的剩余字符长度信息,因为一个int占用四个字节,所以最多可以判断2个结束的字符信息。
When the highest bit of the highest-order byte is 1, the 0th and 1st bits are the number of characters to be checked, and the second high-order byte indicates the length information of the remaining characters after the end character. Because one int occupies four bytes, the maximum It is possible to judge the character information of 2 ends.
参见