Documentation
FieldTalk Modbus Master Library for .NET
MbusMasterFunctionsFileSubRequest Structure |
File subrequest structure
Namespace: FieldTalk.Modbus.Master
Assembly: FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
The MbusMasterFunctionsFileSubRequest type exposes the following members.
| 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). |
A Read or Write File Record function can can read multiple groups of references
using subrequests. This struct defines such a subrequest.
| 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. |