AllenBradleyNetReadSegmentAsync 方法 |
Read Segment Data Array form plc, use address tag name
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<byte[]>> ReadSegmentAsync(
string address,
int startIndex,
int length
)
Public Function ReadSegmentAsync (
address As String,
startIndex As Integer,
length As Integer
) As Task(Of OperateResult(Of Byte()))
public:
Task<OperateResult<array<unsigned char>^>^>^ ReadSegmentAsync(
String^ address,
int startIndex,
int length
)
member ReadSegmentAsync :
address : string *
startIndex : int *
length : int -> Task<OperateResult<byte[]>>
参数
- address
- 类型:SystemString
Tag name in plc - startIndex
- 类型:SystemInt32
array start index, uint byte index - length
- 类型:SystemInt32
array length, data item length
返回值
类型:
TaskOperateResultByteResults Bytes
参见