INGEAR.NET.MBLINK

Tag Members

Tag overview

Public Instance Constructors

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

Public Instance Properties

Active Gets / Sets the active state of the tag
Controller Gets or sets the parent instance of a Controller class
DataType Gets / Sets data type for MODBUS device register values
ErrorCode Returns the error code for the last MODBUS device access for the Tag instance
ErrorString Returns the error code for the last MODBUS device access for the Tag instance as a string
Length Gets / Sets the number items to read or write from the MODBUS device
MyObject Gets / Sets user defined object
Name Sets / Gets the MODBUS device register address
NetType Gets / Sets the .NET Type of the MODBUS device value
Now Executes immediate read / write operation
QualityCode Returns the quality state of the last MODBUS device access operation for the Tag instance
QualityString Returns the quality state of the last MODBUS device access operation for the Tag instance
TimeStamp Gets time stamp for last successful MODBUS device access operation for the Tag instance
Value Gets / Sets the MODBUS device register value

Public Instance Methods

CompareTo Compares register addresses
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.
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

Changed Changed Event Handler

Protected Instance Methods

DataChange DataChange fires when the data value from the MODBUS device changes
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.

See Also

Tag Class | MBLink Namespace