Add Tags to UNS (Tutorial) teaches you to:
- Create different tag types
- Organize tags with folders
- Configure tag properties
- Use UserTypes (UDTs)
Prerequisites:
In this page:
Table of Contents maxLevel 2 minLevel 2 indent 10px exclude Steps style none
Understanding Tag Types
Some fundamental tag types supported by the platform:
Type | Use Case | Example |
---|---|---|
Digital | On/Off states | Motor_Running |
Integer | Whole numbers | Product_Count |
Double | Decimal values | Temperature |
Text | Strings | Batch_ID |
DateTime | Timestamps | Last_Update |
Create Your First Tags
- Open Unified Namespace → Tags
- Click first empty row to add tag
- Create these example tags:
Digital Tag:
- Name:
Motor1_Running
- Type: Digital
- Description: Main motor status
Analog Tag:
- Name:
Tank1_Level
- Type: Double
- Min: 0, Max: 100
- Units: %
- Description: Tank level percentage
String Tag:
- Name:
Current_Recipe
- Type: Text
- Initial Value: "Recipe001"
Organize with Folders
- Right-click in tag grid → New Folder
- Name:
Production_Line_1
- Drag tags into folder
- Create hierarchy:
Panel |
---|
|
Configure Tag Properties
Select a tag and configure:
Scaling (for analog tags):
- Engineering Units: Set Min/Max
- Raw Scale: Device Min/Max
- Auto-scales between device and engineering values
Retentive:
- Enable to preserve value through restart
Initial Value:
- Starting value when solution runs
Create UserType
- Navigate to Unified Namespace → UserTypes
- Create new type:
Motor
- Add members:
- Running (Digital)
- Speed (Double)
- Hours (Double)
- Fault (Digital)
- Return to Tags
- Create tag from userType:
- Name:
Motor2
- Type: Select your Motor template
- Name:
Testing Your Tags
- Click Run (F5)
- Open Unified Namespace → Monitor
- See your tags updating
- Double-click to modify values
Next Steps
- [Connect to Devices] - Get real data
- [Define Alarms] - Add alarm conditions
- [Operator UI Design] - Display tag values
In this section...
Page Tree | ||||
---|---|---|---|---|
|