AllenBradleyNetRead 方法 (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 OperateResult<byte[]> Read(
string[] address
)
Public Function Read (
address As String()
) As OperateResult(Of Byte())
public:
OperateResult<array<unsigned char>^>^ Read(
array<String^>^ address
)
member Read :
address : string[] -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
Name of the node
返回值
类型:
OperateResultByteResult data with result object
参见