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. There is a graphical dialog for this file in the user interface under Tools => Options. Unless otherwise stated, changes take effect immediately.
The following options are available.
Section | Option | Description | Possible values [default value] |
---|---|---|---|
General | Color Theme | Sets the default theme for the application. | [blue], dark, light |
General | Show namespace index in tree | Enables/disables the display of the NamespaceIndex as a number in the Type and Instance Explorer. | [true], false |
General | Show data type in tree | Enables/disables the display of the DataType in brackets in the Type and Instance Explorer for variables. | [true], false |
General | Enable live scrolling | Enables that the view is updated live when the scrollbar is moved in the tree. Has a significant impact on performance when searching and scrolling in larger projects. | true, [false] |
General | OPC UA server dir | Default storage location of the TwinCAT OPC UA Server installation. This path is used when deploying a nodeset to the TwinCAT OPC UA Server. | Selectable path, |
General | Projects dir | Default base directory for new projects. | Selectable path, |
Logging | Enable Logging | Enables/disables logging. | [true], false |
Logging | Output Directory | Path to the log file | Selectable path, |
Logging | Severity Level | Sets the severity level at which messages are logged and displayed in the Message Viewer. Debug activates all messages and is not recommended for productive use. | Debug, None, [Info], Warning, Error, OK, Fatal |
Nodesets | Core Nodeset File Path | Path to the OPC UA base nodeset (used for all base data and object types). This nodeset is loaded by default for every new project. | Selectable path, |
Nodesets | Library Directory | Default base directory for type nodesets. This directory is opened by default whenever you import type nodesets. | Selectable path, |
Nodesets | Order Attributes On Export | If this option is set to true, the attributes of all XML elements are sorted in alphabetical order, with common attributes at the top (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 may be useful to set this to false to reduce the number of changes. | [true], false |
Nodesets | Order Nodes On Export | If the setting is "true", the nodes are sorted uniformly according to NamespaceId and NodeId. Tip: If you want to compare a nodeset saved by this software with another nodeset (e.g., with “git diff”), it may be useful to set this to false to reduce the number of changes. | [true], false |
Nodesets | Xml Schema File Path | Path to the OPC UA Nodeset XmlSchemaFile, which is used for the (syntax) validation of nodesets. | Selectable path, |
Advanced | AllowDownloadFromInternet | The Nodeset Editor already contains a specific version of the base nodeset. By changing this setting to “true”, the current version will be downloaded from the OPC Foundation instead. | true, [false] |
Advanced | Disable mapping validation | If activated, all mappings are allowed, regardless of whether the mapping validation fails. (Mapping a BOOL to an Int32, for example, would otherwise be prevented) | [true], false |
Advanced | Show hint if mapping may not be valid | If activated, a message is displayed if the validation of a mapping fails. | [true], false |
Advanced | Enable value editor | Activates an experimental editor for editing the values of instance nodes. | true, [false] |
Advanced | Allow add of user specific extensions | Activates an experimental editor for editing user-specific extensions of instance nodes. | true, [false] |
Advanced | Show new name prompt when instantiating new nodes | Activates a dialog that allows you to name an instance node directly during drag and drop. | true, [false] |
Project settings
There is no graphical dialog for these settings yet. Changes to this file require the editor to be stopped beforehand or the project to be unloaded, as changes could otherwise be overwritten.
Parameter | Description |
---|---|
ExportDir | This directory is opened by default if the project is to be exported to a user-defined folder. |
LocalOpcUaServer | This path is used when a project is exported to the local TwinCAT OPC UA Server. When creating a new project, this path corresponds to the default value (see above - General | OPC UA Server Dir), but you can override it for specific projects. |
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.
Declining the dialog will reset the value to its default setting. Alternatively, you can confirm the dialog and correct the value manually:
The software then starts.