AllenBradleyNetReadSegment 方法 |
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 OperateResult<byte[]> ReadSegment(
string address,
int startIndex,
int length
)
Public Function ReadSegment (
address As String,
startIndex As Integer,
length As Integer
) As OperateResult(Of Byte())
public:
OperateResult<array<unsigned char>^>^ ReadSegment(
String^ address,
int startIndex,
int length
)
member ReadSegment :
address : string *
startIndex : int *
length : int -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
Tag name in plc - startIndex
- 类型:SystemInt32
array start index, uint byte index - length
- 类型:SystemInt32
array length, data item length
返回值
类型:
OperateResultByteResults Bytes
参见