点击或拖拽改变大小

SiemensS7PlusWriteAsync 方法 (String, Byte)

写入原始的byte数组数据到指定的地址,返回是否写入成功
Write the original byte array data to the specified address, and return whether the write was successful

命名空间:  HslCommunication.Profinet.Siemens
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public override Task<OperateResult> WriteAsync(
	string address,
	byte[] value
)

参数

address
类型:SystemString
起始地址
value
类型:SystemByte
写入值

返回值

类型:TaskOperateResult
是否写入成功

实现

IReadWriteNetWriteAsync(String, Byte)
备注
此处写入的数据需要带标志位,类型,数据信息,所以灵活的支持任意的数据写入,如果需要写入 uint8[] 数据本身,使用方法 WriteByte(String, Byte)
参见