MelsecMcServerReadFromMcAsciiCore 方法 |
当收到mc协议的报文的时候应该触发的方法,允许继承重写,来实现自定义的返回,或是数据监听。
The method that should be triggered when a message of the mc protocol is received,
allowing inheritance to be rewritten to implement custom return or data monitoring.
命名空间:
HslCommunication.Profinet.Melsec
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected virtual byte[] ReadFromMcAsciiCore(
byte[] mcCore
)
Protected Overridable Function ReadFromMcAsciiCore (
mcCore As Byte()
) As Byte()
protected:
virtual array<unsigned char>^ ReadFromMcAsciiCore(
array<unsigned char>^ mcCore
)
abstract ReadFromMcAsciiCore :
mcCore : byte[] -> byte[]
override ReadFromMcAsciiCore :
mcCore : byte[] -> byte[]
参数
- mcCore
- 类型:SystemByte
mc报文
返回值
类型:
Byte返回的报文信息
参见