Model and organize your plant data in a Unified Namespace.
Reference → Unified Namespace| Tutorial | How-to Guide | Reference
Unified Namespace (Reference) provides a centralized real-time data infrastructure where all solution variables, assets, and external data sources converge into a single hierarchical structure.
The Unified Namespace enables:
The UNS serves as the solution's data backbone, organizing tags, assets, and connections in a unified structure accessible to all modules.
Table of Contents maxLevel 2 minLevel 2 indent 10px exclude Steps style none
Action | Icon | Method |
---|---|---|
New Folder | Right-click or toolbar | |
New Tag | Select folder, then create | |
New TagProvider | Toolbar or File menu | |
Link External Data | Right-click folder | |
Move Tags | - | Drag and drop |
Create custom data types:
Real-time variables with:
Value-to-text mappings:
0 → "Off"
1 → "On"
2 → "Fault"
External connections:
At startup, the UNS loads
Children Display | ||||||
---|---|---|---|---|---|---|
|
The Unified Namespace’s Asset Tree is where you build your data definitions. From this central point, you can create or import tags, organize the hierarchy, and monitor the current values of your variables.
When you start a new solution, the Asset Tree includes a built-in “RootTags” folder for all root-level tags, improving visualization for large tag sets.
Typical configuration process:
→ Read more about Asset Tree.
DataTemplates allow you to create custom data structures for reusable tag configurations, streamlining data management and improving system efficiency by defining hierarchical structures that represent assets or information models.
→ Read more about DataTemplates.
The page Unified Namespace / Tags allows you to:
Create, modify, and delete tag objects.
Use built-in tools for search and filtering.
Bulk-edit.
Enumerations are sets of named integer values representing discrete options or states, improving code readability and reducing errors. For example, a pump’s states like “Off”, “On”, and “Fault” with values 0, 1, and 2.
To Create Enumerations
→ Read more about Enumerations.
To incorporate data from TagProviders into the Asset Tree:
The Unified Namespace / TagProvider Connections page allows reviewing the list of defined TagProviders or browsing external data contents.
→ Read more about TagProviders.
into an in-memory real-time database
, implemented by the(TServer.exe
process. This real-time database enables event-driven data exchange of tag and asset values between various modules, such as alarms and displays.):
Direct Tag Access:
csharp
@Tag.Machine1.Temperature
@Tag.Line1/Pump1/Status
Asset() Function:
csharp
Modules like Alarms and Displays can access any variable from the Unified Namespace using its full name or path. For example, to access a tag when creating an operator display, use “Tag” to access available tags. A property called “Temperature” from a template tag named “Machine1” would have the full path: Tag.Machine1.Temperature
.
You can also access values using the Asset()
method syntax. For example, if you place the tag defined in the previous example inside a folder called Line1, the path for that value would be:
Asset("/Line1/Machine1.Temperature")
Asset(@Client.Context.AssetPath + "/Status")
By Location:
/Plant
/Area1
/Line1
/Machine1
Temperature
Pressure
Status
By Function:
/Production
/Mixing
/Packaging
/Utilities
/Power
/Water
All modules can access UNS data:
TagProviders enable:
Issue: Templates containing circular references Solution: Avoid recursive structures; validate template hierarchy
Issue: TagProvider data not updating Solution:
Issue: Data missing after import Solution:
Issue: Slow data updates Solution:
Access runtime properties:
csharp
// Tag count
int tagCount = @Info.Model.TagCount;
// Check if tag exists
bool exists = @Info.Model.HasTag("Machine1.Temperature");
// Get tag reference
var tag = @Info.Model.GetTag("Machine1.Temperature");
Connection Issues
Check network connectivity
Verify credentials
Review firewall settings
Test with simple query
Data Quality
Check Quality property (192 = good)
Verify timestamps
Review error messages
Monitor communication logs
Performance
Check CPU/memory usage
Review tag count
Optimize update rates
Monitor network traffic
Excerpt Include Unified Namespace Unified Namespace nopanel true
Page Tree | ||||
---|---|---|---|---|
|
To maximize the benefits of the Unified Namespace, follow these best practices:
Some common issues while working with the Unified Namespace include:
Make sure you're not using recursive Data Models - for example, a template which contains another template that contains another template etc. This may cause the system to overload and crash.
In this section:
Page Tree | ||||
---|---|---|---|---|
|