How Connectware Works
Learn how Connectware turns fragmented shop floor data into a single, structured data layer for your industrial data use cases.
This page walks through how a service commissioning file becomes live data flowing from industrial devices to your applications. It covers the core concepts — services, resources, endpoints, mappings, and the Unified Namespace — and shows how the data pipeline fits together end to end.
If you have not read What Is Connectware? yet, start there for a platform overview.
Core Concepts
The following terms appear throughout this page:
Service
A packaged unit of connectivity that contains all resources needed to connect devices and route data.
Resource
A building block within a service, such as a connection, endpoint, mapping, or container.
Connection
Defines how to reach a device: connector, address, credentials, and connector-specific settings.
Endpoint
A specific data point on a device — for example, a sensor tag, PLC register, or OPC UA node.
Mapping
Routes data from an endpoint to a Unified Namespace MQTT topic, optionally transforming it via the Rule Engine.
Unified Namespace (UNS)
Structured MQTT topic hierarchy that mirrors your production environment and serves as the single source of truth for data.
CybusMQ
Connectware's internal MQTT broker. All topic routing flows through it.
Service commissioning file
The YAML file that declares a service and all its resources — the configuration-as-code representation of your setup.
Everything Starts with a Service Commissioning File
A service commissioning file is a YAML file that declares what to connect, what data to read, and how to route it to your applications. When you enable it as a service, Connectware creates every resource it describes. When you disable it, those resources are cleanly removed.
This is configuration as code. The file is the source of truth: store it in Git, review changes in pull requests, and deploy the same setup across factories.
How Data Flows Through Connectware
The service commissioning file creates a data pipeline:
Connection: Establishes communication with a device using the specified connector.
Endpoint: Subscribes to or reads a specific data point on the device.
Mapping: Routes the data to a structured MQTT topic, applying any transformations.
CybusMQ: Connectware's internal MQTT broker.
Applications: Consumers (dashboards, MES, analytics, AI) subscribe to topics there.
This pipeline is entirely declarative: you describe what you want, and Connectware creates and manages all the underlying infrastructure.
Example Service Commissioning File
The following example connects to an OPC UA server on a CNC milling machine and publishes its spindle speed to the Unified Namespace. The same pattern applies to any supported connector — only the connector-specific properties change (for example, Modbus register addresses instead of OPC UA node IDs).
Tools for Writing Service Commissioning Files
Service commissioning files are typically created with tool support rather than written from scratch. The Cybus Connectware VS Code Extension provides schema validation and autocompletion as you edit. Cybus Connectware GPT is an AI assistant that generates service commissioning files from plain-language descriptions — useful for prototyping a new device integration or scaffolding a configuration before refining it. In production, service commissioning files live in Git repositories and are deployed through CI/CD pipelines using GitOps practices.
Learn more: Service Commissioning Files
Building Your Service: Key Components
A service commissioning file contains several key sections that work together to connect devices, read data, and route it to consumers:
Parameters: Reusable Templates
The parameters section makes a service commissioning file reusable across environments and sites. Instead of hard-coding server addresses, they are declared as parameters with default values:
When you install a service, you can override any parameter without editing the file. The same template can connect to different machines across development, staging, and production sites.
Connections: Reaching Devices
The resources section contains the building blocks of the service. A Cybus::Connection defines how to reach a device: the protocol, host, port, and credentials.
The !ref tags resolve to the parameter values when the service is enabled. Connectware supports a wide range of industrial protocols — including OPC UA, Modbus/TCP, Siemens S7, MQTT, and HTTP/REST — each with its own connection properties, but the same configuration pattern.
Learn more: Cybus::Connection
Endpoints: Reading Data Points
A Cybus::Endpoint uses a connection to subscribe to or read from a specific data point on a device:
This endpoint subscribes to the SpindleSpeed node on the CNC mill's OPC UA server. Every time the node publishes a new value, Connectware receives it. Multiple endpoints can share the same connection; define one endpoint per data point.
Learn more: Cybus::Endpoint
Mappings: Routing to the Unified Namespace
A Cybus::Mapping routes data from endpoints to MQTT topics in the Unified Namespace. The topic path you define reflects the physical and logical structure of your production environment — for example, factory/line1/cnc-mill-1/spindle-speed — making data consistently addressable by any consumer.
Mappings can transform and enrich data in real time: normalize tag names, filter noise, compute derived values, or convert units. All topic routing flows through CybusMQ, Connectware's internal MQTT broker.
Learn more: Cybus::Mapping
Rule Engine: Transforming Data (Optional)
For transformations beyond simple routing, Connectware's Rule Engine enables conditional logic, computed values, and data filtering. Rules are defined within mappings and process messages before they reach subscribers.
Learn more: Rule Engine
Beyond Connectivity
Once data is flowing, Connectware provides the operational layer to run, scale, and govern everything:
Service lifecycle: Install, enable, update, and disable services through the Admin UI or API. When you disable a service, every resource is cleanly removed — no orphaned connections or manual cleanup required. See Services.
Containerized applications: Services can include Docker containers that process or consume UNS data — dashboards, analytics, AI inference pipelines, and more. See Resources.
Transactional data flows: When a consumer must confirm that a write or command succeeded, FlowSync carries the response or error back through the data flow. See FlowSync.
Agents: Devices on isolated networks can be reached via lightweight agents that connect outbound to Connectware — no inbound connectivity required. See Agents.
Monitoring: The Data Explorer and service status views let you verify live data flows and diagnose connection issues. See Data Explorer.
User management: Role-based access control, SSO, and MFA govern who can access which parts of the system. See User Management.
GitOps: Service commissioning files live in Git, changes go through pull requests, and a CI/CD pipeline deploys to Connectware on merge.
Next Steps
Now that you understand how Connectware works end to end, here are the most common next steps:
Last updated
Was this helpful?






