Add a tag to an element in a routine

Select or create the tag to be used in an element for a ladder diagram.
Prerequisites
To add a tag to an element in a routine
  1. In the diagram, right-click the tag or operand.
  2. Add the tag:
    • Existing tag. Select the operand and then select Down Caret icon to select the existing tag.
    • New tag:
      1. In the operand, type a name for then new tag and then select elsewhere.
        TIP: To enter the full path of a tag, use the following formats where "owner" is an alias used in the path for a program tag and "owner.owner" is an alias used in the path for a controller tag:
        • Program scope:
          • ControllerName.ProgramName.TagName
          • Area.SOName.ProgramName.TagName
          • SOName.ProgramName.TagName
          • ProgramName.TagName
          • Owner.TagName
        • Controller scope:
          • ControllerName.TagName
          • Owner.Owner.TagName
      2. In the operand, right-click the new tag name and select
        Create new tag
        .
      3. In
        Create new tag
        , complete:
        Parameter
        Description
        General
        tab
        Name
        The name for the tag. If you entered the full path of the tag when typing the name in the operand, only the tag name appears in
        Name
        .
        Data Type
        Browse to select the tag data type, enter the array dimensions, and then select
        Apply
        . Some instructions are limited to specific data types
        Style
        Select the Down Caret icon to choose the tag style.
        Usage
        Select the Down Caret icon to choose the tag usage.
        Usage of the types are LOCAL, INPUT, OUTPUT, INOUT, or PUBLIC. The default is LOCAL.
        Scope
        The tag scope:
        • Controller. Controller tags apply to the entire controller and can be used by all programs. In other words, the data in a controller tag is available to every task or program within the controller application. These tags can be used as global variables.
        • Program. Program tags contain data that is used exclusively by the routines within an individual program. This means that program tags can have the same name in more than one program, allowing programs to be copied and reused more easily. These tags can be seen as local variables.
        Description
        (optional) Add a description of the tag.
        Advanced
        tab
        Type
        Select the Down Caret icon to choose an Alias or Base tag type.
        Base tag is the default. When
        Type
        is set to
        Base
        , select
        Create
        to create a normal tag.
        Alias for
        Only available for Alias tags.
        Select the Down Caret icon to choose an Alias or type a tag name.
        Base tag
        If the Alias for is an alias for another tag, then the base tag displays here. Base tag is read-only.
      4. Select
        Create
        .
        TIP: If you enter the tag path in an instruction operand and use the alias "owner" or "owner.owner", the path of the tag appears under the instruction operand in the routine.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.