.NET C# Script

Scripting with .NET / C#

No system can cater for each and every need. This is why a certain degree of flexibility is always needed. The Script plug-in offers additional flexibility because it allows you to define transfer objects and triggers for use with the OPC Router yourself. You are permitted to use basic functions of the OPC Router directly in the script. You can also connect external .NET assemblies, if this is important for your project.

Achieve more with combined Systems

The Script plug-in helps connect even very special systems while also allowing specific logic data models to play out just as much as triggering transfers.

Industry 4.0 with C# Script

A wide variety of devices can be connected and made a part of an industry 4.0 production environment. The Script plug-in allows you to implement an additional transformation level in order to allow connectibility.

About OPC Router

The OPC Router offers a visual network configuration interface for successful cross-linking of your systems. A high variety of plug-ins turns the OPC Router into a powerful data hub for industrial applications.

Easy configuration, sophisticated monitoring and robustness are main distinguishing features of the OPC Router.

Combining Systems

That’s how easy it is.

Transfer Objects

The transfer object of the Script plug-in contains all your written scripts.

Script Editor

The Script Editor can be opened directly in the transfer object, and allows easy editing of the respective script. The editor provides syntax highlighting. Once you have edited your script, you can validate your script as well. The library items of the OPC Router are directly accessible and made available in a tree structure. They already contain all predefined methods for implementation.
The only requirement: You need your own code with its own logical data model, which you paste into the methods.  If you want these to interact with other objects of the transfer, you can define parameter accordingly.


Parameters are data files that present your script as input or output data fields during transfer. The fields can belong to different types and can be arranged as arrays.

Trigger Functions

The Script plug-in has its own trigger function, which is the Script Trigger.

Script Trigger

The Script Trigger carries out previously defined C# scripts, which allows the implementation of individual triggers, based on your own logic models. This can be done with the same editor that is used to create a transfer object; and with the very same convenient configuration functions.


The Script plug-in delivers defined Script Parameters as transfer data fields to external systems.


More Plug-ins

How do Transfer Objects, Triggers and Browsing work?

The OPC Router establishes connections between systems that address core functions of the OPC Router.
Functions of the respective plug-ins may vary, due to the different nature of each connected system.

Run a free test now

Transfer Objects

Sources and Destinations

Transfer objects are the sources and destinations inside the OPC Router. They contain data fields with read and write functions. Depending on the respective interconnected system, the possible configuration scope of sources and destinations may vary.

Homegeinity on the Outside – Heterogeinity on the Inside

Inside the OPC Router configuration, the transfer object abstracts the respective system of any connected system into a simple data input and data output block. Thus, the functions can be treated in the same way although each connected system has very individual features.

Trigger Functions

Prompting Connections

Triggers determine execution time of data connections. Various triggers can be used for these connections, independent of transfer object type. Within each connection, several triggers can be used together via AND/OR-connections.
Triggers can also be useful as data sources if the prompting event is combined with data reception.


Searching and Finding Data Fields

Easy browsing also makes data field configuration easy when establishing transfer objects in order to establish the respective interface connection. The browsing mechanisms may vary, depending on the system and its available plug-in.

Reading out Structures

Many plug-ins that are available for the OPC Router offer easy search and selection tools for quick identification of respective data fields without the need for specific knowledge about inherent subsystems. The user can easily browse through the data. Data source structures may vary according to the specification of each respective plug-in.