Skip to main content

Command: Export OPC UANodeSet

Function: In the Export OPC UANodeSet dialog which opens, you specify the options for exporting the OPC UANodeSet file.

Call: Tools menu; context menu of the object of type Symbol Publishing; context menu of the object of type OPC UA Information Model

For more information, see the following: Information Model XML Schema of the OPC Foundation

Required device settings

The following device settings are required for exporting an OPC UANodeSet file.

  • Anonymous login

    In the device editor, on the Communication Settings tab, in the Device menu, select the Change Runtime Security Policy command. The dialog which opens allows you to adapt the security settings for device user management.

    To establish a connection without specifying any credentials, the Allow anonymous login option must be enabled.

    For more information, see the following: Change Runtime Security Policy

  • Encrypted communication

    In the device editor, on the tab Communication Settings, in the Device menu, select the Security Settings command. The dialog which opens allows you to adapt the device security settings to operate the communication.

    To operate the communication unencrypted, the following values are allowed in the CmpOPCUAServer category under the CommunicationMode setting:

    • SECURE_IF_POSSIBLE: Select this option if no certificate is available for the OPC UA Server

    • ALL: When a certificate for the OPC UA Server is available

    • ONLY_PLAINTEXT: Basically possible, but not recommended

For more information, see the following: Device Security Settings (OPC UA Server)

Dialog: Export OPC UANodeSet

Endpoint URL

Network address of the OPC UA Server from which the export should be performed

Example:

opc.tcp://localhost:4840

opc.tcp://<plc hostname>

Namespace

Namespace for the OPC UANodeSet file

If the communication takes place via an OPC UA Server and you have called the command from the context menu of an IEC Symbol Publishing object or an OPC UA Information Model object, then the namespace is known and is automatically preset.

Example:

um:symbolset:Device:Application:Symbol Set

http://codesys.com/Device/Application/OPC_UA_Symbols

If communication takes place via a Symbol Configuration and you have called the command from the Tools menu, then you still need to specify the namespace. The export is possible only from the CODESYS OPC UA Server.

The following namespace must be specified:

CODESYSSPV3/3S/IecVarAccess

Destination File Path

Storage location with name (destination file path) of the XML file for the OPC UANodeSet

...

Opens the default Windows dialog for saving the XML file

Preset file type: *.NodeSet2.xml

OK

Saves the data of the OPC UA node set to the specified destination file path and closes the dialog