Documentation

MbusMasterFunctionsFileSubRequest Structure

File subrequest structure

Namespace:  FieldTalk.Modbus.Master
Assembly:  FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
public struct FileSubRequest

The MbusMasterFunctionsFileSubRequest type exposes the following members.

Fields
  NameDescription
Public fieldfileNo
File number (Range 1-65535). 3 is the input registers file, 4 is the holding registers file.
Public fieldrecordArr
Pointer to a buffer which will be filled with the data read or contains the data to be sent.
Public fieldrecordNo
Record Number (Range: 0 - 65535). The first record (aka register) to read from, 0-based numbering.
Public fieldrefType
Reference type (Must be specified as 6).
Top
Remarks
A Read or Write File Record function can can read multiple groups of references using subrequests. This struct defines such a subrequest.
Note Note
The quantity of records to be read, combined with all other fields in the in the expected response, must not exceed the allowable length of 253 bytes.
See Also