Application and project settings

The application itself and each project includes XML-based configuration files, which contain different settings that influence the behavior of the application. Such settings are described in the following chapters.

Application settings

The configuration file directory (see Application directories) includes the file TE6100.config which contains configuration parameters for the TwinCAT OPC UA Nodeset Editor application. You can open this file with any text editor of your choice. The following parameters are available.

Section

Parameter

Description

General

AllowDownloadFromInternet

The nodeset editor already contains a specific version of the base nodeset. By changing this setting to “true”, the most current version will be downloaded from the OPC Foundation instead.

General

DefaultLocalOpcUaServerDir

Default location of the TwinCAT OPC UA Server installation. This path is used when deploying a nodeset to the TwinCAT OPC UA Server.

General

ProjectsDir

Default base directory for new projects.

General

ShowNamespaceIndexInTree

Enables/Disables the NamespaceIndex to be shown as a number in Type and Instance Explorer.

General

Theme

Sets the default theme for the application.

Nodesets

CoreNodesetFilePath

Path to the OPC UA base nodeset (used for all base data and object types). This nodeset is loaded per default for every new project.

Nodesets

LibraryDir

Default base directory for type nodesets. This directory is opened per default whenever you import type nodesets.

Nodesets

OrderAttributesOnExport

If set to true, this will order the attributes of all XML Elements with common attributes first (e.g. NodeId and BrowseName) and others following in alphabetical order.

Tip: If you want to compare a nodeset saved by this software with another nodeset (e.g. with “git diff”), it can be useful to set this to false to avoid unnecessary changes.

Nodesets

OrderNodesOnExport

If set to true, this will order the nodes by NamespaceId and NodeId and subelements (DisplayName etc.) uniformly.

Tip: If you want to compare a nodeset saved by this software with another nodeset (e.g. with “git diff”), it can be useful to set this to false to avoid unnecessary changes.

Nodesets

XmlSchemaFilePath

Path to the OPC UA XmlSchemaFile, which is used for (syntax-) validation of nodesets.

Project settings

Parameter

Description

LocalOpcUaServer

Default location of the TwinCAT OPC UA Server installation. This path is used when deploying a nodeset to the TwinCAT OPC UA Server. When creating a new project, this path is taken from the corresponding application settings parameter (see above) but you can override it on a per project basis.

Nodesets

Contains a list of all nodesets that belong to this project including their path, NamespaceName, version and PublicationDate.

If an invalid configuration is recognized, you will be presented with a dialog informing you about the invalid parameter.

Application and project settings 1:

The software will attempt to correct invalid configurations automatically if you click OK. This is done by resetting the configuration to its default value. Example:

Application and project settings 2: