AllenBradleyPcccNetReadStringAsync 方法 (String) |
批量读取字节数组信息,需要指定地址和长度,返回原始的字节数组
Batch read byte array information, need to specify the address and length, return the original byte array
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<string>> ReadStringAsync(
string address
)
Public Function ReadStringAsync (
address As String
) As Task(Of OperateResult(Of String))
public:
Task<OperateResult<String^>^>^ ReadStringAsync(
String^ address
)
member ReadStringAsync :
address : string -> Task<OperateResult<string>>
参数
- address
- 类型:SystemString
数据地址
返回值
类型:
TaskOperateResultString带有成功标识的byte[]数组
备注
读取PLC的原始数据信息,地址示例:N7:0
参见