• Libraries
  • Shop
  • Doc
  • Free Modbus
  • Support
  • Login
FieldTalk Modbus Slave Library for .NET
FieldTalk Modbus Slave Library for .NET
Namespaces
FieldTalk.Modbus.Slave
MbusDataTableInterface Class
MbusDataTableInterface Methods
Click or drag to resizeClick or drag to resize

MbusDataTableInterface Class

This class defines the interface between a Modbus slave Server Engine and your application. Descendants of this class are referred to as Data Providers.
Inheritance Hierarchy
SystemObject
  FieldTalk.Modbus.SlaveMbusDataTableInterface

Namespace:  FieldTalk.Modbus.Slave
Assembly:  FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Syntax
C#
VB
C++
Copy
public abstract class MbusDataTableInterface
Public MustInherit Class MbusDataTableInterface
public ref class MbusDataTableInterface abstract

The MbusDataTableInterface type exposes the following members.

Methods
  NameDescription
Protected methodgetMasterInfo
Retrieves a MasterInfo object which will hold additional information about the currently processed Modbus request. This is the protocol type, the slave ID, the IP address and the transaction ID of the current request.
Protected methodCode examplereadCoilsTable
Override this method to implement a Data Provider function to read Coils.
Protected methodreadDeviceIdentification
Override this method to implement Read Device Identification objects to support Modbus function 43 (hex 2B) subfunction 14 (hex 0E).
Protected methodreadEnronRegistersTable
Implement this function only if your slave device has to process register ranges as Daniel/ENRON 32-bit registers.
Protected methodreadExceptionStatus
Override this method to implement a function with reports the eight exception status coils (bits) within the slave device.
Protected methodreadFileRecord
Override this method to implement a Data Provider function to read File Records which is Modbus function code 20 (14 hex).
Protected methodCode examplereadHoldingRegistersTable
Override this method to implement a Data Provider function to read Holding Registers.
Protected methodCode examplereadInputDiscretesTable
Override this method to implement a Data Provider function to read Coils.
Protected methodCode examplereadInputRegistersTable
Override this method to implement a Data Provider function to read Input Registers.
Protected methodreportRunIndicatorStatus
Override this method to implement a function which reports the Run Indicator of a device.
Protected methodreportSlaveId
Override this method to implement a function which reports the Slave ID.
Protected methodtimeOutHandler
Override this method to implement a function to handle master poll time-outs.
Protected methodCode examplewriteCoilsTable
Override this method to implement a Data Provider function to write Coils.
Protected methodwriteEnronRegistersTable
Implement this function only if your slave device has to process register ranges as Daniel/ENRON 32-bit registers.
Protected methodwriteFileRecord
Override this method to implement a Data Provider function to write File Records which is Modbus function code 21 (15 hex).
Protected methodCode examplewriteHoldingRegistersTable
Override this method to implement a Data Provider function to write Holding Registers.
Top
Remarks
To create an application specific Data Provider derive a new class from MbusDataTableInterface and override the required data access methods.
See Also

Reference

FieldTalk.Modbus.Slave Namespace
FieldTalk.Modbus.SlaveMbusTcpSlaveProtocol
FieldTalk.Modbus.SlaveMbusRtuSlaveProtocol
FieldTalk.Modbus.SlaveMbusAsciiSlaveProtocol

Other Resources

Data Provider
FieldTalk Modbus Slave Library for .NET
Library version 2.11.0
Speak to the Experts
Modbus Organization Member logo

We are member of the Modbus Organization, Inc.

Buy with Confidence
30-day money back guarantee All our FieldTalk web sales are backed by a 30-day Money Back Guarantee.
We Accept
Bank VISA MasterCard PayPal
Customer Info
  • Info & Contact
  • Customer Login
  • Terms of Service
  • Terms of Sale
  • Privacy Policy
© 2005-2025 proconX Pty Ltd. All rights reserved. proconX and FieldTalk are trademarks of proconX Pty Ltd.
All other trademarks and registered trademarks appearing on www.modbusdriver.com are the property of their respective owners.