FieldTalk Modbus Master Library for .NET
FieldTalk Modbus Master Library for .NET
Namespaces
FieldTalk.Modbus.Master
MbusMasterFunctions.FileSubRequest Structure
FileSubRequest Fields

# MbusMasterFunctions FileSubRequest Structure

File subrequest structure

Namespace: FieldTalk.Modbus.Master
Assembly: FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
C#
VB
C++
Copy

    public struct FileSubRequest

    Public Structure FileSubRequest

    public value class FileSubRequest

The MbusMasterFunctions
FileSubRequest type exposes the following members.

Fields

| Name | Description
--- | --- | ---
| fileNo | File number (Range 1-65535). 3 is the input registers file, 4 is the holding registers file.
| recordArr | Pointer to a buffer which will be filled with the data read or contains the data to be sent.
| recordNo | Record Number (Range: 0 - 65535). The first record (aka register) to read from, 0-based numbering.
| refType | 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
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

#### Reference

FieldTalk.Modbus.Master Namespace
FieldTalk Modbus Master Library for .NET
Library version 2.15.2