ModbusTcpServerReadFromModbusCore 方法 |
Modbus核心数据交互方法,允许重写自己来实现,报文只剩下核心的Modbus信息,去除了MPAB报头信息
The Modbus core data interaction method allows you to rewrite it to achieve the message.
Only the core Modbus information is left in the message, and the MPAB header information is removed.
命名空间:
HslCommunication.ModBus
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected virtual byte[] ReadFromModbusCore(
byte[] modbusCore
)
Protected Overridable Function ReadFromModbusCore (
modbusCore As Byte()
) As Byte()
protected:
virtual array<unsigned char>^ ReadFromModbusCore(
array<unsigned char>^ modbusCore
)
abstract ReadFromModbusCore :
modbusCore : byte[] -> byte[]
override ReadFromModbusCore :
modbusCore : byte[] -> byte[]
参数
- modbusCore
- 类型:SystemByte
核心的Modbus报文
返回值
类型:
Byte进行数据交互之后的结果
参见