MelsecMcNetCheckResponseContent 方法 |
检查MC协议返回的数据报文是否合法,如果有错误代码返回,同时返回当前错误代码的具体文本信息
Check whether the data message returned by the MC protocol is legal. If an error code is returned,
the specific text information of the current error code is returned at the same time
命名空间:
HslCommunication.Profinet.Melsec
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:10.0.1.0 (10.0.1.0)
语法 protected virtual OperateResult CheckResponseContent(
byte[] response
)
Protected Overridable Function CheckResponseContent (
response As Byte()
) As OperateResult
protected:
virtual OperateResult^ CheckResponseContent(
array<unsigned char>^ response
)
abstract CheckResponseContent :
response : byte[] -> OperateResult
override CheckResponseContent :
response : byte[] -> OperateResult
参数
- response
- 类型:SystemByte
MC协议返回的原始报文信息
返回值
类型:
OperateResult是否成功的结果对象
参见