INGEAR.NET.MBLINK

Controller Members

Controller overview

Public Instance Constructors

Controller Overloaded. Initializes a new instance of the Controller class.

Public Instance Properties

ErrorCode Returns a numeric value of the error code encountered by the Controller class
ErrorString Returns a string description of the last error encountered by the Controller class
IPAddress Gets/Sets the current IPAddress of the MODBUS TCP/IP device
IsConnected Returns the connected state between the Controller class and MODBUS TCP/IP device
MyObject Gets or sets user-define object associate with the Controller class
Path Gets / Sets slave address of target MODBUS device.
SwapWords Gets or sets whether High/Low word pairs should be swapped. Default = false
Timeout Gets/Sets communication timeout (in milliseconds) for the Controller class
Transport Gets or sets the current communication transport
Version Gets INGEAR.NET assembly information

Public Instance Methods

Connect Invokes connection to the MODBUS device
CreateNewGroup Creates a new instance of IGroup
CreateNewTag Creates new instance of Tag class
Disconnect Terminates the connection between the Controller class and MODBUS TCP/IP device.
Dispose Cleans resources
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
GroupRead Reads a TagGroup from the MODBUS device
GroupWrite Write a TagGroup to the programmable logic controller
ReadTag Read instance of a Tag class or an array of Tag classes from the MODBUS device.
ToString (inherited from Object) Returns a String that represents the current Object.
WriteTag Writes an instance of a Tag or an array of Tag classes to the MODBUS device

Public Instance Events

Action Event handler for Controller method.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnControllerEvent OnControllerEvent

See Also

Controller Class | MBLink Namespace