Documentation
FieldTalk Modbus Master Library for .NET
MbusMasterFunctionsreturnQueryData Method |
Modbus function code 8, sub-function 00, Return Query Data.
Namespace: FieldTalk.Modbus.Master
Assembly: FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Parameters
- slaveAddr
- Type: SystemInt32
Modbus address of slave device or unit identifier (Range: 1 - 255 for serial, 0 - 255 for TCP) - queryArr
- Type: SystemByte
Buffer with data to be sent. The length of the array determines how many bytes are sent and returned - echoArr
- Type: SystemByte
Buffer which will contain the data read
Return Value
Type: Int32BusProtocolErrors.FTALK_SUCCESS on success, FTALK_INVALID_REPLY_ERROR if reply does not match query data or error code. See BusProtocolErrors for more error codes.
| No broadcast supported |