AllenBradleyNetReadAsync 方法 (String) |
[商业授权] 批量读取多地址的数据信息,例如我可以读取两个标签的数据 "A","B[0]",每个地址的数据长度为1,表示一个数据,最终读取返回的是一整个的字节数组,需要自行解析
[Authorization] Batch read data information of multiple addresses, for example, I can read the data of two tags "A", "B[0]", the data length of each address is 1,
which means one data, and the final read returns a The entire byte array, which needs to be parsed by itself
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<byte[]>> ReadAsync(
string[] address
)
Public Function ReadAsync (
address As String()
) As Task(Of OperateResult(Of Byte()))
public:
Task<OperateResult<array<unsigned char>^>^>^ ReadAsync(
array<String^>^ address
)
member ReadAsync :
address : string[] -> Task<OperateResult<byte[]>>
参数
- address
- 类型:SystemString
Name of the node
返回值
类型:
TaskOperateResultByteResult data with result object
参见