AllenBradleyHelperPackExecutePCCCRead 方法 |
打包一个PCCC的读取的命令报文
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> PackExecutePCCCRead(
int tns,
string address,
int length
)
Public Shared Function PackExecutePCCCRead (
tns As Integer,
address As String,
length As Integer
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ PackExecutePCCCRead(
int tns,
String^ address,
int length
)
static member PackExecutePCCCRead :
tns : int *
address : string *
length : int -> OperateResult<byte[]>
参数
- tns
- 类型:SystemInt32
请求序号信息 - address
- 类型:SystemString
请求的文件地址,地址示例:N7:1 - length
- 类型:SystemInt32
请求的字节长度
返回值
类型:
OperateResultBytePCCC的读取报文信息
参见