点击或拖拽改变大小

MemobusUdpNetWriteRandomAsync 方法

随机写入扩展的保持寄存器的内容,也即写入不连续的地址的字数据,字节数组的长度必须为地址数组长度的两倍,才能正确写入。
Write the contents of the extended hold registers randomly, that is, write word data for discontinuous addresses, and the byte array must be twice the length of the address array to be written correctly.

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

参数

address
类型:SystemUInt16
地址信息
value
类型:SystemByte
数据信息

返回值

类型:TaskOperateResult
是否写入成功的结果对象
备注
注意,本方法只能针对扩展的保持寄存器进行读取
参见