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

MbusSlaveServer Class

Base class which implements the Modbus server engine.
Inheritance Hierarchy
SystemObject
  FieldTalk.Modbus.SlaveMbusSlaveServer
    FieldTalk.Modbus.SlaveMbusIpServerBase
    FieldTalk.Modbus.SlaveMbusSerialServerBase

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 MbusSlaveServer : IDisposable
Public MustInherit Class MbusSlaveServer
	Implements IDisposable
public ref class MbusSlaveServer abstract : IDisposable

The MbusSlaveServer type exposes the following members.

Constructors
  NameDescription
Protected methodMbusSlaveServer
Initializes a new instance of the MbusSlaveServer class
Top
Properties
  NameDescription
Public propertytimeout
Time-out port property
Top
Methods
  NameDescription
Public methodaddDataTable
Associates a protocol object with a Data Provider and a Modbus slave ID.
Public methodDispose
Implement IDisposable.
Protected methodFinalize
Destructor.
(Overrides ObjectFinalize.)
Public methodgetConnectionStatus
Checks if a Modbus master is polling periodically.
Public methodStatic membergetPackageVersion
Returns the library version number.
Public methodgetSuccessCounter
Returns how often a message transfer was successful.
Public methodgetTimeout
Returns the currently set master time-out supervision value.
Public methodgetTotalCounter
Returns how often a message transfer has been executed.
Public methodisStarted
Returns whether server has been started up.
Public methodresetSuccessCounter
Resets successful message transfer counter.
Public methodresetTotalCounter
Resets total message transfer counter.
Public methodserverLoop
Modbus slave server loop
Public methodsetTimeout
Configures master transmit time-out supervision.
Public methodshutdownServer
Shuts down the Modbus Server.
Top
Remarks
This class realises the server engine. The server engines processes Modbus messages, parses the function codes and upon receipt of a valid master query it calls Data Provider methods to exchange data with the user application.

For a more detailed description which Modbus data and control functions have been implemented in the server engine see section Server Functions common to all Protocol Flavours.

Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Reference

FieldTalk.Modbus.Slave Namespace
FieldTalk.Modbus.SlaveMbusDataTableInterface

Other Resources

Server Functions common to all Protocol Flavours
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.