Professional Documents
Culture Documents
LAB 2 - Create Project Tags
LAB 2 - Create Project Tags
Pro Tip: You can also insert a single tag by right-clicking on the Project Tags folder in the
Project Explorer and selecting Insert Tag.
2. Selecting Tag opens the New Tag dialog, allowing easy tag creation.
3. Fill on the fields as shown in the above image and click OK to add the tag called iVar1 to the Tags
Database.
Pro Tip: You can quickly monitor your current tag count by using the Status Bar. The
information at the far right side, Tag Count , will give you the current number of
user- created tags.
Each storage tank has values for Pressure, Temperature, Level, and Contents
Each tank has an Empty valve and Fill Valve. Each Valve has a Command and State value.
Pro Tip: You can also create a new class by right-clicking on the Classes folder in the
Project Explorer and selecting Insert Class.
2. Type Tank in the Name field of the Insert Class dialog as shown below and click OK.
7. Type Valve in the Name field of the Insert Class dialog as shown below and click OK to open the new
class
8. Configure the class members called bCommand and bState as shown below.
10. In the Global tab of the Project Explorer, expand the Project Tags folder and double-click on Datasheet
View to open the tags database worksheet.
11. Configure the cTank, cFillValve, and cEmptyValve tags as shown below
The status bar should indicate that you are using 35 Tags, as each combination of tag, class member
and array element provides us with access to a different value in the Project.