OpcUA Server - 15



Description

This OPC driver allows the user to output data from Qinsy as an OPC UA server.
image2021-6-25_13-52-52.png

In the Qinsy Console you can find the Generic Editor through the following icon:

Generic_Editor_Blue.png

With the Generic Editor the user can create a driver definition file, which needs to be selected in the online Graphical User Interface (GUI).

image2021-1-20_10-43-38.png

Driver Information

Driver

OpcUA Server

Interface Type

 OPC UA

Driver Class Type


UTC Driver question mark

No

Input / Output

Output

Executable

DrvOutOpcUAServer.exe

Related Systems

Related Pages



Database Setup

In the database, the driver can be added as an Output System like shown below.
image2021-6-25_10-41-49.png

Port number 62555 is the default value but this can be changed.

Coding notes

The output type of the generic layout needs to be set to JSON.

Online

The driver has an online user interface.

image2021-6-25_10-44-6.png

The following buttons are available at the top:

Settings

Opens the settings for the OPC UA server. More info below.

Layout Editor

The OPC output is based on a generic output format (in JSON format). You can open the editor from here.

Data Viewer

Monitor the output.
image2021-6-25_11-8-2.png

Show Log

This automatically opens the logfile that is being created.


The following options are available:

Server Status

Allows you to go online and offline with the server.

Layout File

Shows which generic output xml file is used.
Can be found here: C:\Users\Public\Documents\QPS\QINSy\Drivers\Definitions\Output

Server Endpoint

Shows the server endpoint.
The button on the right side allows you to copy this.

Settings

General
You can change the language and theme (how it looks) here.

image2021-6-25_11-12-39.png


Settings

image2021-6-25_11-19-9.png

Port

Number as entered in the template setup.

Endpoint

Hostname: the PC name is used in the "Server Endpoint".
IP Address:  the IP adress is used in the "Server Endpoint".

Last Usable

You can set a timeout setting for this status.
In the example above, the value gets the status "UncertainLastUsableValue" after 5 seconds.

Uncertain

You can set a timeout setting for this status.
In the example above, the value gets the status "Uncertain" after 30 seconds.


User Access
Here you can enable and disable the user access by a username and password.
This username and password then need to be entered on the client side in order to decode the data.

image2021-6-25_11-22-33.png