UNS Tag Discovery Service provides three distinct patterns for connecting external data to the Unified Namespace. Each pattern is optimized for different data characteristics and operational requirements, and production systems typically use multiple patterns simultaneously based on the specific needs of each data set.
Key Understanding: These are not developmental stages but three equally valid architectural patterns. Choose based on your data's governance needs, stability, and control requirements.
Key Requirement: These are advanced technics, master the traditional SCADA/HMI concept of creating tags and mapping to devices before learning about those other alternatives.
Advanced Topic This content covers advanced functionality not required for most projects. Start and learn Local Tags mapping to devices first, use this section when dynamic discovery or auto-managed communications is required.
Each pattern serves distinct operational needs:
Pattern | Control Model | Best For | Access Syntax |
---|---|---|---|
Local Tags & Device Points | Explicit control | Critical control, legacy protocols, regulated systems | Tag.TagName |
Linked Tags | Governed flexibility | Stable models, changing sources, enterprise data | Tag.TagName |
Smart-Binding | Dynamic discovery | Diagnostics, ephemeral assets, unknown structures | Asset("path") |
Choose based on data characteristics, not development phase:
If Your Data... | Use This Pattern | Why | Access Syntax |
---|---|---|---|
Requires deterministic polling | Local Tags & Device Points | Explicit control over timing | Tag.TagName |
Uses legacy/proprietary protocols | Local Tags & Device Points | Only option for non-discovery protocols | |
Needs local governance with flexible sources | Linked Tags | Stable names, changing connections | |
Has stable structure but multiple sites | Linked Tags | Template once, link many | |
Is temporary or diagnostic | Smart-Binding | No configuration overhead | |
Has unknown/changing structure | Smart-Binding | Dynamic discovery at runtime |
Traditional SCADA approach where you define tags locally and explicitly map them to device addresses through the Devices Module.
Characteristics:
When This Pattern is Optimal:
Configuration Approach: 1. Create Tags in UNS |
Maintain local tag definitions while linking them to external sources. Runtime automatically manages communications when tags are accessed.
Characteristics:
When This Pattern is Optimal:
Configuration Approach:1. Create Tags in UNS LinkedData Field Example: Tag: TankLevel |
Direct binding to external paths without creating local tags. System dynamically creates communication entries as paths are accessed.
Characteristics:
When This Pattern is Optimal:
System diagnostics and troubleshooting
Access Method:
// Direct access in scripts value = Asset("/mqtt/plant/tank01/level") // Direct binding in displays <TextBox Value="{Asset('/opcua/machine/status')}" /> |
Most production systems use multiple patterns based on specific data requirements:
Production System
??? Local Tags (30%)
? ??? Safety interlocks
? ??? Control loops
? ??? Legacy PLCs and Protocols
?
??? Linked Tags (60%)
? ??? Enterprise metrics
? ??? Standard equipment
? ??? Newer protocols
?
??? Smart-Binding (10%)
??? Enterprise UNS / systems with dynamic external governance
??? Temporary sensors or diagnostic overlays
??? Maintenance tools
Rarely a "Typical" profile matches exactly the field requirements, reason why we keep all those options. Therefore the numbers provided are merely illustrative, reach out the community and support as needed when applying those concepts to specific case. |
Example Scenarios
Manufacturing Line:
Water Treatment Plant:
Linked Tags and Smart-Binding share the same runtime infrastructure:
User Configuration
??? Linked Tag → LinkedData field → Communication Table
??? Asset("path") → Auto-created entry → Communication Table
↓
Same Runtime Engine
(Polling, Subscription, Caching)
All patterns handle errors consistently:
Protocol | Local Tags | Linked Tags | Smart-Binding | Notes |
---|---|---|---|---|
MQTT Client | ? | ? | ? | Full discovery support |
OPC UA | ? | ? | ? | Browse and subscribe |
ControlLogix | ? | ? | ? | Tag discovery available |
Modbus | ? | ? | ? | No discovery capability |
DNP3 | ? | ? | ? | Explicit mapping only |
Using Smart-Binding for safety-critical control
Forcing Local Tags when discovery would simplify
Mixing Device Points and LinkedData for same tag
Ignoring protocol capabilities
This advanced functionality enables flexible, efficient data connectivity. Choose patterns based on your specific data characteristics and operational requirements, not development phases.