点击或拖拽改变大小

MemobusUdpNetReadRandomAsync 方法

随机读取扩展的保持寄存器的内容,也即读取不连续地址的字数据,可以指定多个地址,然后一次性读取所有的数据,然后解析出实际的数据
Randomly read the contents of the extended hold register, that is, read word data of discontinuous addresses, you can specify multiple addresses, then read all the data at once, and then parse out the actual data

命名空间:  HslCommunication.Profinet.YASKAWA
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public Task<OperateResult<byte[]>> ReadRandomAsync(
	ushort[] address
)

参数

address
类型:SystemUInt16
地址信息

返回值

类型:TaskOperateResultByte
读取的原始字节结果信息
备注
注意,本方法只能针对扩展的保持寄存器进行读取
参见