Configurator

Two graphical user interfaces are available for simple configuration of the TwinCAT OPC UA Server as part of the TwinCAT OPC UA Configurator: an interface integrated into Visual Studio (or the XAE Shell) and a standalone tool.

Configurator 1:

Documentation for the TwinCAT OPC UA Configurator

Although the TwinCAT OPC UA Configurator is discussed in various sections of this documentation, it also has its own product documentation, which can be found in the Beckhoff information system.

Configuration via OPC UA

The TwinCAT OPC UA Server contains a so-called configuration namespace, which enables local and remote configuration of the server via OPC UA. The TwinCAT OPC UA Configurator makes use of this interface to access the individual configuration files of the server.

The following functionalities are mapped in the configuration namespace:

After initializing the server, the user configured there has access to the configuration namespace and can be used to further configure the server. The following screenshot shows the configuration namespace from the perspective of an OPC UA client (in this example, the UA Expert from Unified Automation):

Configurator 2:

All server configuration files are available as objects of type FileType. This object type and access to it is standardized by OPC UA. Certificate files are created in the configuration namespace as CertificateType.

Management of certificates

Client certificates are divided into "Rejected" and "Trusted" certificates, which is represented by a separate folder in the namespace. A certificate can be moved between the trusted lists by calling the method Move() on a certificate object. In addition, various properties provide additional information about the certificates themselves for easier identification.

Configurator 3:

The TwinCAT OPC UA Configurator provides you with a user interface to make it easier to trust/reject certificates. Further information can be found in chapter Certificate exchange.

Restarting the server

The configuration namespace contains a method with which the TwinCAT OPC UA Server can be restarted without the need for a TwinCAT restart.

Configurator 4: