Exporting a project

The user interface offers two options for exporting and using the current project with a TwinCAT OPC UA Server. The first option for the local server is primarily designed for the "Same system" scenario described in . The second option for non-local servers is primarily intended for the "Different systems" scenarios.

Deployment of the project on the local TwinCAT OPC UA server

To deploy the project to the local TwinCAT OPC UA Server, click the Deploy configuration to local TwinCAT OPC UA Server button in the Instance Explorer toolbar.

Exporting a project 1:

This exports the project nodeset, including the necessary dependencies, to the locally installed TwinCAT OPC UA Server and also creates a corresponding configuration file for the server. The directory from the options or the project file is used as the target (see Application and project settings). Please make sure that you restart the TwinCAT OPC UA Server after you have deployed the nodeset so that the configuration is loaded. The address space of the server then contains the created nodes, which were linked with the corresponding PLC variables.

Deployment of the project on a non-local TwinCAT OPC UA Server

To deploy the project to a TwinCAT OPC UA Server that is not installed locally, click on the Export configuration to a folder of your choosing button in the Instance Explorer toolbar.

Exporting a project 2:

A selection dialog opens, which opens in the export directory (see Application and project settings) by default.

Exporting a project 3:

Once a folder has been selected, the project nodeset, including any necessary dependencies, is exported to this folder and a corresponding configuration file is created for the server. The entire contents of the folder can then be copied manually to a current TwinCAT 3 OPC UA Server (see ). If direct file access is possible, this can simply be done via Explorer, for example:

Exporting a project 4:

If several TwinCAT OPC UA Servers are in use, the last step of the deployment can be repeated as often as required for non-local servers. Plans are in place for further deployment options in a future version of the editor that will simplify the transfer process to the TwinCAT OPC UA Server even more.