点击或拖拽改变大小

AllenBradleyNetReadAsync 方法 (String, Int32)

[商业授权] 批量读取多地址的数据信息,例如我可以读取两个标签的数据 "A","B[0]", 长度为 [1, 5],返回的是一整个的字节数组,需要自行解析
[Authorization] Read the data information of multiple addresses in batches. For example, I can read the data "A", "B[0]" of two tags, the length is [1, 5], and the return is an entire byte array, and I need to do it myself Parsing

命名空间:  HslCommunication.Profinet.AllenBradley
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.0.4.0 (11.0.4.0)
语法
public Task<OperateResult<byte[]>> ReadAsync(
	string[] address,
	int[] length
)

参数

address
类型:SystemString
节点的名称 -> Name of the node
length
类型:SystemInt32
如果是数组,就为数组长度 -> In the case of arrays, the length of the array

返回值

类型:TaskOperateResultByte
带有结果对象的结果数据 -> Result data with result object
参见