SWTB_Banner_Left_LogoOnly

INGEAR.NET.ABLink Details

clearpixel

SWTB_6Button_BlueLine

INGEAR.NET.ABLink Methods and Properties

DotNetButton

Data Class - Representations of different data types found in Allen-Bradley PLCs.

Controller Class - A class that handles the communications with the PLCs

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 PLCs.

TagGroup Class - A class that is a collection of Tags (see Tag Class)


CONTROLLER Class - A class that handles the communications with the PLCs.

  • Properties:
    CPUType
    Sets/Returns the current Controller CPU.Type 
    DriverType
    Sets/Returns current Driver Type
    ErrorCode
    Returns the last error code for the Controller class 
    ErrorString
    Returns the last error string for the Controller class 
    IPAddress
    Sets/Returns Ethernet IP Address of Allen-Bradley Controller
    IsConnected
    Returns the connected state of Controller class 
    MyObject
    Associates a user defined object to an instance of a Controller class 
    Path
    Sets/Returns CIP Path for ControlLogix Gateway
    Timeout
    Sets/Returns the communication timeout

  • Methods:
    Connect -
    Connects the instances of the Controller class to the Allen -Bradley device
    Disconnect -
    Disconnects Controller class connection to current device 
    GroupRead -
    Executes and optimized read for all the Tag classes in the TagGroup, or array of TagGroups
    GroupWrite -
    Executes and optimized write for all the Tag classes in the TagGroup, or array of TagGroups
    ReadTag -
    Reads an instance or an array of Tag classes from the Allen-Bradley device
    WriteTag -
    Writes a single or an array of ABLink.Tag(s) to the Allen -Bradley controller

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 PLC.

  • Properties:
    Active
    - Gets/Sets the active state of the Tag class instance 
    Controller -
    Sets/returns the reference an instance of ABLink.Controller class 
    DataType -
    Returns one of the enumerated ATOMIC types. 
    ErrorCode -
    Returns an error code related to the last operation. 
    ErrorString -
    Returns an error string related to the last operation 
    Length -
    Sets/Returns the number of consecutive data items of the tag 
    MyObject -
    Sets/Returns a reference to user object 
    Name -
    Name - Data Table Address 
    Now -
    Sets/Returns and immediate value to the Allen-Bradley device. Unlike the .Value property which hold the value in cache until a Controller.ReadTag(), Controller.WriteTag(), Controller.GroupRead(), Controller.GroupWrite() operation, the .Now property executes an immediate read/write operation. 
    QualityCode -
    Returns a quality code related to the last operation 
    QualityString -
    Returns a quality string related to the last operation 
    TimeStamp -
    Returns time stamp of successful transaction. 
    Value -
    Set/Returns a cached value. Unlike the .Now property which immediately reads/writes the value to the Allen-Bradley device, the .Value property holds the value property in cache until a Controller.ReadTag(), Controller.WriteTag(), Controller.GroupRead() or Controller .GroupWrite() method is invoked. 

To Top

TAGGROUP Class - A class that is a collection of Tags (see Tag Class above).

  • Properties:
    Active -
    Sets/returns TagGroup active state. 
    Controller - Controller 
    Count - Returns the number of Tag (see above) instances in this group 
    ErrorCode - Returns the Error number of the last operation. 
    ErrorString - Returns a descriptive string of the last error of the last operation 
  • Methods:
    AddTag -
    Add instances of Tag classes to the TagGroup collection. 
    Clear - Clear out all Tags from collection.
    RemoveTag - Remove Tag

To Top

DATA CLASSES - A set of classes that describe Allen-Bradley data structures.

  • CTR Class (COUNTER) - A class that represents the entire Allen -Bradley COUNTER structure from a type 'C' data table.
  • BT Class (BLOCK TRANSFER) - A class that represents the entire Allen-Bradley PLC-5 BLOCK TRANSFER structure from a type 'BT' data table.
  • TMR Class (TIMER) - A class that represents the entire Allen-Bradley TIMER structure from a type 'T' data table
  • SC Class (SEQUENTIAL FUNCTION CHART) - A class that represents the entire Allen-Bradley PLC-5 SFC structure from a type 'SC' data table.
  • PD Class (PID BLOCK) - A class that represents the entire Allen-Bradley PLC-5 PID BLOCK structure from a type 'PD' data table
  • MG Class (MESSAGE BLOCK) - A class that represents the entire Allen-Bradley MSG BLOCK structure from a type 'MG' data table
  • CTL Class (CONTROL) - A class that represents the entire Allen-Bradley CONTROL structure from a type 'R' data table.

To Top

Sample code for various platforms can be found at our Code Center.

 

 | HOME | FEATURES | FREE TRIAL SOFTWARE | SUPPORT & TUTORIALS | PRODUCT NEWS | PURCHASING

P: 1-888-665-3678 (US-Sales) or 704-849-2773 (Support & International), F: 704-849-6388
148A East Charles Street Matthews NC 28105 USA
Copyright Software Toolbox, Inc., 1996-2006, All Rights Reserved Worldwide.

Software Toolbox is a registered trademark of Software Toolbox Inc.
INGEAR, INGEAR.NET, and INGEAR.NET.Logix are trademarks of Cimquest Inc.