点击或拖拽改变大小

AllenBradleyHelperPackRequestReadSegment 方法

打包生成一个请求读取数据片段的节点信息,CIP指令信息

命名空间:  HslCommunication.Profinet.AllenBradley
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public static byte[] PackRequestReadSegment(
	string address,
	int startIndex,
	int length
)

参数

address
类型:SystemString
节点的名称 -> Tag Name
startIndex
类型:SystemInt32
起始的索引位置,以字节为单位 -> The initial index position, in bytes
length
类型:SystemInt32
读取的数据长度,一次通讯总计490个字节 -> Length of read data, a total of 490 bytes of communication

返回值

类型:Byte
CIP的指令信息
参见