点击或拖拽改变大小

SiemensS7NetWriteAsync 方法 (String, ListByte)

使用离散的方式,同时写入多个数据块到不同的地址中去,但是支持的地址数量及写入数据的最大长度是有限制的,不能超过pdu长度限制。
Using the discrete method, multiple blocks of data are written to different addresses at the same time, but the number of supported addresses and the maximum length of the data written are limited, and cannot exceed the PDU length limit.

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

参数

address
类型:SystemString
地址数组信息
data
类型:System.Collections.GenericListByte
原始数据列表

返回值

类型:TaskOperateResult
是否写入成功
参见