Enter Tags and Aliases
When the I/O Module was added to the project the corresponding local tags were also added to project. All I/O tags are controller scoped.
TIP:
Select
File > New Component > Tag
to create new tags using the New Tag
dialog .If you create the new tag using this approach, choosing one of the data types AXIS, MOTION GROUP, MESSAGE, or PID,and a check box to open the configuration appears. Selecting this check box will open the properties configuration dialog that will lead you through the configuration of these data types.
Entering tags uses these items:
Item | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tag Editor | The interface in Logix Designer that is used to create and manage tags. The background color of a cell indicates whether the cell is read only. A white background indicates that the cell is modifiable; gray indicates that the cell is read only. | |||||||||||||||||||||
Tag | A named area of the process-connected device or controller’s memory where data is stored. It is the basic mechanism for allocating memory, referencing data from logic, and monitoring data. Data stored in tags can be either:
Tags are of different types:
| |||||||||||||||||||||
Data types | The controller supports the elementary data types defined in IEC 1131-3 defined data types. The predefined, atomic data types are BOOL, SINT, INT, DINT, and REAL. The controller handles all immediate values as DINT data types. There are categories of pre-defined data types associated with different data structures that can be selected. | |||||||||||||||||||||
Scope | The level at which tags and routines may be created. They can be created at the controller level (accessible to all routines), or at the program level (accessible to only the routines within a single program). | |||||||||||||||||||||
External access | The access rights that tag will have from external applications, such as HMIs. | |||||||||||||||||||||
OPC UA Access | Used to select the level of access that external OPC UA clients have to tags. | |||||||||||||||||||||
Constant | Defines the tag as a constant value which prevent executing logic from writing values to the tag. | |||||||||||||||||||||
Style | The form in which numeric values can be displayed. The table provides you with information on the base and notation used for each style.
|
To edit tags and aliases
- Right-click theController Tagsfolder in theController Organizer, and chooseEdit Tags.The Tag Editor opens and displays a grid containing the default local tags.
- To create a new tag, in the create tag row at the bottom of the Tag Editor grid (indicated by the yellow tag icon), enter the name of the tag in theNamecolumn. An asterisk (*) appears in the new tag row and the tag properties are displayed in theTag Propertiespane on the right side of the Tag Editor.
- In theTag Propertiespane review the properties of the tag. Expand the properties category to edit and view the properties:
- General - The selected tag's general properties. This property category is expanded by default.
- Data - The selected tag's data properties.
- Produced Connection - The selected tag's produced connection properties.
- Multicast - The selected tag's multicast properties. For safety and axis type tags, all the properties within this group are read-only.
- Produced Connection Status - The selected tag's connection status properties.
- Consumed Connection - The selected tag's consumed connection properties.
- Safety - The selected tag's safety properties. This category is only displayed for safety projects.
- Consumed Connection Status - The selected tag's connection status properties.
- Parameter Connections {X:X} - The selected tag member's list of connections. The first number within {X:X} represents the number of connections to the tag member; the second number represents the total number of connections to all of the sub-members of the tag member.
- To create an alias tag, inAlias Forenter the name of the tag to which this tag refers.
- To create a base tag, inData Typeclick the ellipsis (...) button and select a data type.
- (optional) Select the scope for the tag. All tags are Controller Scoped by default.
- InExternal Accessdetermine whether external application and devices will have Read/Write, Read Only, or no access to the tag.
- InOPC UA Accessselect the level of access (Read Only, Read/Write, or None) that external OPC UA clients have to tags.
- (optional) To establish a constant value for a tag, selectConstantand then inPropertiesunderData, inValuetype the value the tag is equal to. If a logic routine tries to write to a constant tag, the routine will not verify.TIP:The state of theConstantcheck box depends on the type of tag selected and is disabled under certain circumstances. A blue icon in the Value column of constant tags indicates that the tag is a Constant Value tag.The value fields in all other browsers and language editors are disabled when the tag is a Constant tag.
- InStyle, choose how to display the value of the tag (Binary, Octal, Decimal, Hex, or ASCII).Based on the data type you selected, a default style is chosen automatically.
- Press Enter to move to the next row, which creates a new tag. If there is an error in the tag definition, a prompt appears.
Provide Feedback