You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 15
Next »
Add Tags to UNS (Tutorial) teaches you to:
- Create different tag types
- Organize tags with folders
- Configure tag properties
- Use UserTypes (UDTs)
Prerequisites:
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 |
- 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"
- Right-click in tag grid → New Folder
- Name:
Production_Line_1
- Drag tags into folder
- Create hierarchy:
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
- 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
- Click Run (F5)
- Open Unified Namespace → Monitor
- See your tags updating
- Double-click to modify values
- [Connect to Devices] - Get real data
- [Define Alarms] - Add alarm conditions
- [Operator UI Design] - Display tag values
The root page @parent could not be found in space 93Draft.