This plugin is part of the CoDaBix® Setup. Please consult CoDaBix® Setup and First Start for more information on how to install and uninstall this plugin.
/System/Interfaces/OPC UA Server Interface/Channels/Default Channel/Settings
):
Nodes:
Name | Type | Purpose |
---|---|---|
Application | ||
ApplicationCertificate | Blob | Contains the application instance certificate of the OPC UA Server in PKCS12 (.pfx) format. |
Port | Int32 | Specifies the TCP Port for the opc.tcp protocol. |
Security | ||
AutoAcceptUntrustedCertificates | Boolean | Specifies if the OPC UA Server should automatically accept unknown Client application certificates when using the Sign or SignAndEncrypt mode. |
PolicyAlgorithm | String | Valid values: 0 : None (default) 1 : Basic128Rsa15 |
PolicyLevel | Int32 | |
PolicyMode | String | Valid values: 0 : None (default) 1 : Sign 2 : SignAndEncrypt |
To change the settings, you can write a new Node value in the CoDaBix® Web Configuration by using the “Write a new value” button ().
To connect to the OPC UA Server, use the following URL (replace <Hostanme> with your machine's hostname or IP Address (or “localhost” if connecting from the same machine), and replace <Port> with your port number):
opc.tcp://<Hostname>:<Port>/
The OPC UA Server Interface Plugin requires that OPC UA Clients use the username authentication, which means you need to specify a username and password. The OPC UA Server uses the users configured in CoDaBix® (see CoDaBix® Web Configuration). Each user which is configured in CoDaBix® can connect to the OPC UA Server using the corresponsing username and password.
By default, CoDaBix® comes with a demo user (username “demo@user.org”, password “demo”) which is added to the “Demo Group” usergroup.
By default, a user cannot access any CoDaBix® Node. To change this, you need to add the user to a UserGroup, then allow access from this UserGroup to a Node. For further information, see CoDaBix® Web Configuration.
For example, to allow the demo user (demo@user.org) to access the “System” Node:
After configuring the users, you can then access the OPA UA Server e.g. with our tool OPC Watch using the following configuration:
opc.tcp://localhost:4840/
demo@user.org
demo
OPC Namespace: The CoDaBix® Nodes use the OPC UA Namespace URI "codabix://opc.server/"
. By default, this namespace will have the namespace index “2”.
Status
Node of the channel.
Node | Description |
---|---|
Code | Defines the numeric expression / identifier of the status. A negative value means that the Server could not be started, whereas 0 or a positive value indicates that the Server started successfully. |
Category | Classifies the status into Information , Warning and Error and therefore indicates the general type of status information. |
Severity | Rates the status information into Low , Moderate , High and Critical and therefore indicates the urgency of an intervention. |
Text | Describes the status information identified by the Code property. |
As an interface plugin, the OPC UA Server Interface Plugin extends the basic CoDaBix® Interface Model.
The plugin's interface type OpcServerInterface
also defines the OpcServerInterfaceChannel
and therefore extends the basic CodabixInterface
and CodabixInterfaceChannel
entities. While the OpcServerInterface
just represents a concretization of the CodabixInterface
, the OpcServerInterfaceChannel
extends the CodabixInterfaceChannel
.
Each channel represents an OPC UA Server instance that can be configured, started and stopped.
Content | Path | Usage |
---|---|---|
Assembly | <CodabixInstallDir>/plugins/OpcUaServerInterfacePlugin/ | Contains the plugin's assembly file. |
Config | <CodabixDataDir>/plugins/OpcUaServerInterfacePlugin/ | Contains the plugin's configuration file. |
Type | Path | Usage |
---|---|---|
Assembly | [AssemblyFolder]/CoDaBix.OpcUaServerInterfacePlugin.dll | The plugin's assembly file. |
Date | 2016-12-21 |
---|---|
Version | 1.3 |
Name | OPC UA Server |
---|---|
Node | /System/Interfaces/OPC-UA Server Interface |
Version | 1.0.9 |
Name | CoDaBix.OpcUaServerInterfacePlugin.dll |
---|---|
Date | 2018-02-01 |
Version | 1.0.9.0 |