ModbusInfoExtractActualData 方法 |
从返回的modbus的书内容中,提取出真实的数据,适用于写入和读取操作
Extract real data from the content of the returned modbus book, suitable for writing and reading operations
命名空间:
HslCommunication.ModBus
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> ExtractActualData(
byte[] response
)
Public Shared Function ExtractActualData (
response As Byte()
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ ExtractActualData(
array<unsigned char>^ response
)
static member ExtractActualData :
response : byte[] -> OperateResult<byte[]>
参数
- response
- 类型:SystemByte
返回的核心modbus报文信息
返回值
类型:
OperateResultByte结果数据内容
参见