|
INGEAR.NET.Logix Methods, Properties, and Events Component
Classes
|
|
Atomic Class - Enumerates the different atomic datatypes available for the AB Logix Family.
Controller Class
- A class that handles the communications with the AB Logix Family.
EventCode Class
- Enumerates the different codes used by the Controller Class events.
ResultCode Class
- Enumerates the different codes used to define the results of the methods for the Controller, Tag, and TagGroup classes.
Tag Class
- A class that contains information about the tags used by the Controller Class to communicate with the AB Logix Family.
TagGroup Class
- A class that is a collection of Tags (see Tag Class)
|
|
ATOMIC Class
- Enumerates the different atomic datatypes available for the AB Logix Family.
- Enumeration:
Boolean
- A datatype that represents Boolean values. DINT - A datatype that represents double integer values (32-bit). INT
- A datatype that represents integer values (16-bit). REAL - A datatype that represents floating point values. SINT
- A datatype that represents single integer values (8-bit). STRING - A datatype that represents a string.
To Top
CONTROLLER Class
- A class that handles the communications with the AB Logix Family.
- Properties:
ErrorCode
- The result of the last Controller method. See "ResultCode" class. ErrorString - A string representing the ErrorCode. IPAddress
- The IP Address of the AB Logix Family. IsConnected - Set to TRUE if the Controller object is connected to a device. MyObject
- A reference to a user-defined object. Path - The CIP route for the device. Timeout
- Number of milliseconds the controller will wait to connect before erroring.
- Methods:
Connect
- Attempt a connection to the device. Disconnect - Attempt to disconnect a device previsouly connected. GroupRead
- Read a group of tags contained in a TagGroup object. GroupWrite - Write a group of tags contained in a TagGroup object. ReadTag
- Read a tag contained in a Tag object. WriteTag - Write a tag contained in a Tag object.
To Top
EVENTCODE Class
- Enumerates the different codes used by the Controller Class events.
To Top
RESULTCODE Class
- Enumerates the different codes used to define the results of the methods for the Controller, Tag, and TagGroup classes.
To Top
TAG Class
- A class that contains information about the tags used by the Controller Class to communicate with the AB Logix Family.
- Properties:
Active
- Describes the active state of the tag (TRUE=Active). AlignArray - Sets the lower array of a System.Array (.NET framework only).
Controller - The instance of the Controller class for this tag. DataType - The datatype of this tag (See Atomic class). ErrorCode
- The result of the last operation (See ResultCode class). ErrorString - The string representation of the ErrorCode. Length
- The number of Array Items to read in. Set to 1 to read one item. MyObject - A reference to a user-defined object Name
- The name of the tag. Should also exist in the device. Now - Invokes an immediate read or write of the Tag. QualityCode
- The code for the quality of the last read operation on the Tag. QualityString - The string representing the QualityCode. Timestamp
- The timestamp of the last read operation on the Tag. Value -The value of the Tag.
To Top
TAGGROUP Class
- A class that is a collection of Tags (see Tag Class above).
- Properties:
Active
- The active state of the tag group (TRUE=active). Controller - The Controller class associated with this tag group. Count
- The number of tags contained in this tag group. MyObject - A reference to a user-defined object. Now
- Invokes an immediate read or write of the Tag. Tags - A collection of Tags for this tag group (see Tag class).
- Methods:
Clear
- Clears all tags from the tag group. AddTag - Adds an instance of a Tag Class to the tag group. RemoveTag
- Removes an instance of a Tag from the tag group.
To Top
Sample code for various platforms can be found at our Code Center
|