Create a tag – Rockwell Automation Logix5000 Logix5000 Controllers Quick Start User Manual
Page 90

90
Publication 1756-QS001E-EN-P - October 2009
Chapter 5 Program a Project Offline
Create a Tag
1. Double-click the tag area.
2. Type a name for the tag and press Enter.
Use underscores '_' in place of spaces.
3. Right-click the tag name and choose New.
4. Type the data type.
To browse for a data type or assign array dimensions, click
.
Where
Is
Name
Name that identifies this specific tag.
Element
Subscript or subscripts that point to a specific element within an array.
• Use the element identifier only if the tag or member is an array.
• Use one subscript for each dimension of the array. For example: [5], [2,8], [3,2,7].
To indirectly (dynamically) reference an element, use a tag or numeric expression that provides the element number.
For example,
MyArray[Tag_1], MyArray[Tag_2-1], MyArray[ABS(Tag_3)].
Member
Specific member of a structure.
• Use the member identifier only if the tag is a structure.
• If the structure contains another structure as one of its members, use additional levels of the .Member
format to identify the required member.
Bit
Specific bit of an integer data type (SINT, INT, or DINT).
Index
To indirectly (dynamically) reference a bit of an integer, use a tag or numeric expression that provides the bit
number. For example,
MyTag.[Tag_1], MyTag.[Tag_2-1], MyTag.[ABS(Tag_4)].