SiemensS7NetWrite 方法 (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.1.2.0 (12.1.2.0)
语法 public OperateResult Write(
string[] address,
List<byte[]> data
)
Public Function Write (
address As String(),
data As List(Of Byte())
) As OperateResult
public:
OperateResult^ Write(
array<String^>^ address,
List<array<unsigned char>^>^ data
)
member Write :
address : string[] *
data : List<byte[]> -> OperateResult
参数
- address
- 类型:SystemString
地址数组信息 - data
- 类型:System.Collections.GenericListByte
原始数据列表
返回值
类型:
OperateResult是否写入成功
参见