For the complete documentation index, see llms.txt. This page is also available as Markdown.

Migrating from OPC Router

How to export an inray OPC Router project, inspect the XML, and translate plug-in instances, transfer objects, and connections into a Connectware service commissioning file using an AI assistant.

This guide shows you how to migrate an inray OPC Router project to Connectware by exporting the project, extracting the configuration XML from the export, and translating it into a service commissioning file. The OPC Router export format is not officially documented, but the export file is a ZIP archive containing one readable XML file with every plug-in instance, transfer object, and connection, which is enough for an AI-assisted translation. In more detail, the following topics are covered:

  • Understanding how OPC Router concepts map to Connectware resources

  • Exporting the project and extracting the configuration XML

  • Translating the configuration into a service commissioning file with an AI assistant

  • Reviewing the generated service commissioning file

  • Verifying the migrated data points in the Data Explorer

A complete worked example, from export XML to service commissioning file, is available at the end of this guide.

Prerequisites

To follow this guide, you will need the following:

  • A running instance of Cybus Connectware with licenses for the connectors that replace your OPC Router plug-ins.

  • Access to the OPC Router configuration tool to run the project export.

  • Network access from Connectware to the systems that OPC Router currently talks to.

  • An AI assistant to translate the configuration. Any capable large language model (LLM) works. Cybus Connectware GPT is a ChatGPT assistant that already knows the service commissioning file format.

  • Basic knowledge of the Connectware services concept (for example, service commissioning files, connections, and endpoints).

How OPC Router Concepts Map to Connectware

OPC Router organizes integration in plug-in instances (protocol drivers with target-system settings), transfer objects (addressable data points or database fields), and connections (visual data flows started by triggers). Note the naming difference: an OPC Router connection is the data flow, while the protocol session lives in the plug-in instance. Connectware organizes the same information in resources of a service commissioning file:

OPC Router concept
Connectware resource
Notes

Plug-in instance

The instance settings (endpoint URL, security policy, database host) become the connection properties.

Transfer object item

Each OPC address or database field becomes an endpoint.

Connection (visual data flow)

Straight source-to-target flows become mappings; flows with logic need Rule Engine rules.

Data Change trigger

Subscribe endpoint

OPC UA endpoints in Connectware are subscription-based by default.

Time and Cron triggers

Polling interval

The trigger period becomes the endpoint interval, or the sampling interval for OPC UA.

REST trigger

Inbound HTTP calls that start a flow become HTTP Server resources.

Script triggers and branching

Rule Engine or Node-RED Workbench

C# scripts have no mechanical translation.

Template connections and variables

Parameters and definitions with !sub

One service commissioning file per template; one parameter set per instance.

Mapping Plug-Ins to Connectors

The following OPC Router plug-ins have a native Connectware counterpart:

OPC Router plug-in
Connectware connector

OPC UA Client

OPC UA Server

OPC DA

MQTT Client, Sparkplug

Microsoft SQL Server

MySQL/MariaDB, PostgreSQL, Oracle, ODBC

Apache Kafka

InfluxDB

OPC Router has no direct PLC drivers: S7, Modbus, and EtherNet/IP devices reach it through the PLC's built-in OPC UA server or a third-party OPC server. Connectware connects to S7, Modbus/TCP, and EtherNet/IP devices natively, so the migration is an opportunity to remove intermediary OPC servers. If a KEPServerEX instance sits between OPC Router and the machines, see Migrating from Kepware KEPServerEX.

What Does Not Migrate 1:1

OPC Router feature
Connectware approach

SAP plug-in (RFC, BAPI, IDoc)

No counterpart. Integrate SAP through its HTTP-based APIs with the HTTP/REST connector or an external integration layer.

Printer, labeling, and device plug-ins

No equivalents for Zebra, Domino, Videojet, and similar plug-ins.

Notification plug-ins (email, Telegram)

Route alerts to a consuming system over MQTT or HTTP.

C# script triggers and branching flows

Re-implement in the Node-RED Workbench or with FlowSync for request-response orchestration.

Enterprise+ dynamic template instances

Template instances generated from database rows have no direct equivalent; generate service commissioning files in CI/CD instead.

Store & Forward add-on

Handled differently: Connectware agents buffer data during connection loss.

Exporting the OPC Router Project

  1. In the OPC Router configuration tool, select File > Export OPC Router 4 project.

  2. Select all plug-ins, connections, and templates, and save the .rpe file.

The .rpe file is a ZIP archive. Rename it to .zip and extract it: it contains a single OpcRouter4.xml file with every plug-in instance and its settings, every connection with its triggers and wiring, every transfer object with its addresses, and all template variables.

For flows whose logic is hard to read from the XML wiring, supplement the export with images: right-click a connection and use Export View to save the visual flow as an image.

Translating the Configuration with an AI Assistant

Copy the following prompt and attach the extracted XML:

For large projects, translate one flow at a time and combine the results. Expect flows with SAP, printers, or scripts to need a redesign discussion rather than a translation.

Reviewing the Generated Service Commissioning File

Work through this checklist before installing:

  1. Validate the file structure. The Cybus Connectware Extension for VS Code validates service commissioning files against the official schemas as you edit.

  2. Check every connection against the original plug-in instance settings: endpoint URL, security policy, and database host.

  3. Spot-check translated OPC addresses, both NodeIds and browse paths, with an OPC UA browser as described in Using Connectware as an OPC UA Client.

  4. Review every flow listed under "Needs redesign" and decide where its logic goes: Rule Engine, Node-RED Workbench, or a consuming system.

  5. Re-enter all credentials as parameters; they were not part of the export.

  6. Compare the endpoint count against the migration report of the AI assistant and the transfer object count of the project.

Installing the Service

  1. Install the service commissioning file. See Installing Services.

  2. Enable the service. See Enabling Services.

Result: Connectware connects to the migrated systems directly and the connections reach the Connected state.

For read-only validation, Connectware and OPC Router can usually read the same OPC UA servers and databases at the same time, which allows you to compare live values before you disable the original flows. Check the session limits of your OPC UA servers first.

Verifying the Data

Open the Data Explorer and subscribe to the topics of the migrated service:

  • Every migrated transfer object publishes on its topic with plausible values.

  • Values match between OPC Router and Connectware for the same data point.

  • Database-bound flows write the expected rows through the SQL connectors.

  • Data arrives at the original trigger rates.

Worked Example

The following excerpt from an extracted OpcRouter4.xml file shows an OPC UA plug-in instance and a time-triggered flow with two transfer object items. The XML is shortened for readability; real exports carry additional attributes and default settings:

Applying the translation rules produces the following service commissioning file. The plug-in instance becomes an OPC UA connection, each transfer object item becomes an endpoint whose browsePath is the OPCAddress without the bp= prefix and trailing semicolon, and the ten-second time trigger becomes the sampling interval:

For all OPC UA connection and endpoint properties, including browsePath and browsePathPrefix, see OPC UA Connection Properties and OPC UA Endpoint Properties.

Disclaimer: OPC Router is a product of inray Industriesoftware GmbH. All product and company names are trademarks or registered trademarks of their respective owners. Cybus is not affiliated with inray Industriesoftware GmbH.

Last updated

Was this helpful?