Create and assign a main tag to an instance to an Add-On Instruction

Create a main tag for an instance of an Add-On Instruction. Creating and assigning a main tag for Add-On Instruction instance allows you to open the logic for that instance as well as edit the parameters for that instance. You can then change the visibility and value parameters for that main tag of the Add-On Instruction instance.
Prerequisites
  • Create an Add-On Instruction
  • Place the Add-On Instruction in a ladder diagram
To create and assign a main tag to an instance of an Add-On Instruction
  1. On the explorer bar, select System icon
    System
    .
  2. In
    System
    , navigate to and right-click the Add-On Instruction and select
    Tags and parameters
    . The Tag Editor opens.
    TIP: To open
    Tags and parameters
    , you can also select the item in
    System
    and then in the
    System
    title bar, select Tags icon
    View tags and parameters: (item name)
    .
  3. In last row of the Tag Editor, select
    Add Tag
    . A row for the new tag is added.
  4. Enter the parameters for the tag:
    • Name
      . The name of the tag or program parameter.
    • Data Type
      . Browse to open
      Select Data Type
      , select the data type of the Add-On Instruction, and then select
      Apply
      .
  5. Complete the remaining tag parameters:
    • Value
      . Enter the value of the tag.
    • (Optional)
      Description
      . Enter a description of the tag to indicate the purpose of the tag or the latest change to the tag.
    • Scope
      . The scope of the tag is the item selected in
      System
      .
    • (Optional)
      Style
      . For a BOOL, SINT, INT, DINT, or REAL tag, select a display style to define how the tag value appears. Styles include DECIMAL, BINARY, OCTAL, and HEX.
    • Usage
      . Select a usage type -- LOCAL, INPUT, OUTPUT, INOUT, or PUBLIC. The default is LOCAL.
  6. In
    System
    , expand the
    FactoryTalk Smart Object
    and program.
  7. Double-click the routine with the Add-On Instruction. The editor for the routine opens.
  8. Right-click the first parameter of the Add-On Instruction and select the tag with the Add-On Instruction data type.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.