Skip to main content

Command: Import PLCopenXML

Function: The command opens a dialog for importing objects from an XML file in PLCopen format.

Call: ProjektImport menu

Requirement: A project is open.

Dialog: Import PLCopenXML

The dialog lists all objects from the PLCopen export file which CODESYS can import at the current location.

Currently selected target objects

Object which is currently selected in the device tree

Insertable Items

Displays all objects in the export file which CODESYS can insert below the selected object

Conflict Resolution

When objects are imported which have the same names as existing objects, the conflicts can be resolved for each object as follows:

  • Replace the existing object: The object which exists in the project is overwritten by the imported object.

  • Rename the new object: The new object is imported with the changed name. The string _<no> is appended to the end of the name.

  • Skip the new object: The object is not imported.

Select

Opens a list box for selecting object types

Deselect

Opens a list box for deselecting object types

Conflicts

Opens a list box for resolving all conflicts

Show Contents

Opens a dialog where the objects of the XML file are displayed

Tip

The PLCopenXML model does not allow VAR_GLOBAL and VAR_GLOBAL CONSTANT to have blocks in the same variable list. If both should be exported, then the variables have to be previously divided into two separate variable lists.

For more information, see: Exporting and Importing Projects