Application directories
This application uses various directories to store relevant information, e.g. configuration or certificate files.
Installation directory
The base installation directory of the application is always relative to the TwinCAT installation directory on all operating systems.
%TcInstallDir%\Functions\TF6100-OPC-UA
The application is then installed in the following directory below this directory. A distinction is made here according to platform (x86/x64).
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Server
%TcInstallDir%\Functions\TF6100-OPC-UA\Win64\Server
Base directory for PKI infrastructure
Certificate files, which are used to establish a secure communication connection, are stored in the following directory on all operating systems:
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Server\PKI
%TcInstallDir%\Functions\TF6100-OPC-UA\Win64\Server\PKI
Directory for trusted certificates
Client certificates in this directory are declared as "trusted". This path is identical on all operating systems.
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Server\PKI\CA\trusted
%TcInstallDir%\Functions\TF6100-OPC-UA\Win64\Server\PKI\CA\trusted
Directory for rejected certificates
Client certificates in this directory are declared as "rejected". This path is identical on all operating systems.
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Server\PKI\CA\rejected
%TcInstallDir%\Functions\TF6100-OPC-UA\Win64\Server\PKI\CA\rejected
Directory for the server certificate
The directories for the server certificate are defined as follows, whereby a distinction is made between the directory for the public key ("certs") and private key ("private").
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Server\PKI\CA\own\certs
%TcInstallDir%\Functions\TF6100-OPC-UA\Win64\Server\PKI\CA\own\private
Log files
Log files are stored in the following directory. There is a distinction according to the operating system.
%TcInstallDir%\Functions\TF6100-OPC-UA\Win32\Server (Windows)
%TcInstallDir%\Functions\TF6100-OPC-UA\Win64\Server (Windows)
/var/log/TF6100-OPC-UA-Server (TwinCAT/BSD)
Configuration files
The TwinCAT OPC UA Server uses various configuration files to configure the individual functions, which are defined as listed in the table below. All configuration files are located in the installation directory of the server (see above) and are usually configured via the TwinCAT OPC UA Configurator.
File | Description |
---|---|
TcUaAcConfig.xml | Configuration file for the Alarms & Conditions (A&C) functionality of the server. The nodes configured for A&C are saved in this file. |
TcUaDaConfig.xml | Configuration file for the Data Access (DA) functionality of the server. The communication connections with the lower-level ADS devices are configured in this file. |
TcUaGdsClientConfig.xml | Configuration file for the Global Discovery Server configuration. The connection to a GDS is configured in this file. |
TcUaHaConfig.xml | Configuration file for the Historical Access (HA) configuration of the server. This file stores both the data memories used for HA and the nodes configured for this purpose. |
TcUaNodesetConfig.xml | Configuration file for the Nodeset import of the server. The Nodesets to be imported and their link to an ADS device are defined in this file. |
TcUaSecurityConfig.xml | Configuration file for users, groups and Access Control Lists (ACL) as part of the definition of access rights and authentication mechanisms. |
TcUaServerConfig.xml | Configuration file for various parameters of the server, e.g. configuration of the endpoints, Logging, Reverse Connect. |