MelsecFxLinksHelperCheckPlcResponse 方法 |
检查PLC的消息反馈是否合法,合法则提取当前的数据信息,当时写入的命令消息时,无任何的数据返回
Check whether the PLC's message feedback is legal. If it is legal, extract the current data information. When the command message is written at that time, no data is returned.
命名空间:
HslCommunication.Profinet.Melsec.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> CheckPlcResponse(
byte[] response
)
Public Shared Function CheckPlcResponse (
response As Byte()
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ CheckPlcResponse(
array<unsigned char>^ response
)
static member CheckPlcResponse :
response : byte[] -> OperateResult<byte[]>
参数
- response
- 类型:SystemByte
从PLC反馈的数据消息
返回值
类型:
OperateResultByte检查的结果消息
参见