SiemensS7NetReadAsync 方法 (S7AddressData) |
读取西门子的地址数据信息,支持任意个数的数据读取
Read Siemens address data information, support any number of data reading
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<byte[]>> ReadAsync(
S7AddressData[] s7Addresses
)
Public Function ReadAsync (
s7Addresses As S7AddressData()
) As Task(Of OperateResult(Of Byte()))
public:
Task<OperateResult<array<unsigned char>^>^>^ ReadAsync(
array<S7AddressData^>^ s7Addresses
)
member ReadAsync :
s7Addresses : S7AddressData[] -> Task<OperateResult<byte[]>>
参数
- s7Addresses
- 类型:HslCommunication.Core.AddressS7AddressData
西门子的数据地址
Siemens data address
返回值
类型:
TaskOperateResultByte返回的结果对象信息 -> Whether to read the successful result object
参见