Complete configuration options for Data Server services.
Technical Reference → UNS Reference → UNS Data Servers Reference
Location: Unified Namespace → Data Servers → OPC UA Server [??]
| Setting | Description | Default |
|---|---|---|
| Port | TCP port for OPC UA connections | 4840 |
| Security Mode | None, Sign, SignAndEncrypt | None |
| User Authentication | Anonymous, Username/Password, Certificate | Anonymous |
→ See OPC UA Server Reference for complete protocol details
Location: Unified Namespace → Data Servers → MQTT Broker [??]
| Setting | Description | Default |
|---|---|---|
| TCP Port | Standard MQTT port | 1883 |
| WebSocket Port | WebSocket transport port (0 = disabled) | 8083 |
| Authentication | Anonymous, Username/Password | Anonymous |
| TLS | Enable encrypted connections | Disabled |
→ See MQTT Broker Reference for complete protocol details
Location: Scripts → Classes (custom tools)
| Setting | Description | Default |
|---|---|---|
| Host | Listening address | localhost |
| Port | MCP server port | 5000 |
| Transport | Communication protocol | stdio |
| Tool | Description |
|---|---|
| Get Value | Read current tag values from UNS |
| Get Historian | Query historical data |
| Get Alarms | Retrieve alarm status and history |
Custom tools are defined in Script Classes using the [McpTool] attribute:
csharp
[McpTool("GetPanelPower", "Returns power output for specified solar panel")]
public double GetPanelPower(string panelId)
{
return Tag.SolarPanels[panelId].Power.Value;
}→ See AI MCP for Runtime Connector for setup details → See AI MCP for Runtime Tutorial for step-by-step guide
Location: Unified Namespace → Data Servers → DataHub [??]
| Setting | Description | Default |
|---|---|---|
| Listening Port | TCP port for DataHub connections | 30001 |
| Access Key | Authentication key for connections | (none) |
| Access Mode | Read, Write, or ReadWrite | ReadWrite |
→ See Data Hub Communication Service for architecture details
Services are enabled on the Runtime → Startup page:
| Service | Startup Checkbox |
|---|---|
| OPC UA Server | ?? OPCServer |
| MQTT Broker | ?? MQTTBroker |
| MCP for Runtime | (Enabled via Scripts) |
| DataHub Service | ?? Publish to DataHub |
→ See Data Servers How-to for step-by-step enable procedures
| Service | Default Port | Protocol |
|---|---|---|
| OPC UA Server | 4840 | TCP |
| MQTT Broker (TCP) | 1883 | TCP |
| MQTT Broker (WebSocket) | 8083 | TCP/HTTP |
| MCP for Runtime | 5000 | stdio |
| DataHub Service | 30001 | TCP |
For development partners requiring direct programmatic access:
| API | Description |
|---|---|
| .NET API | Native .NET library for direct solution integration |
| REST API | HTTP-based access for web and cloud applications |
Contact Tatsoft for partner API access and documentation.