Export PLCopenXML...

Overview

The Project > Export PLCopenXML command allows you to export all or a selection of objects of the current project to an XML file according to the PLCopen format.

Due to the restrictions given by the PLCopen format, there are also restrictions concerning the selection of the objects to be exported. You will realize this when selecting the desired objects in the Export PLCopenXML dialog box. Selecting certain objects will automatically set the selection checkmark also for other objects. For example, the application object will be checked too, as soon as the assigned task configuration object is selected.

To ease the selection, you can use the Select > or Deselect > button and choose one of the options from the list. There is the possibility to check or deselect at once all objects of a certain object type (application, device, POU, task) or all objects at once.

After having defined the desired selection, confirm by clicking OK. The standard dialog box for saving a file will display, where you can define the name for the export file. The file filter is automatically set to PLCopen xml files (*.xml).

You can reimport the export file in a project by executing the command Import PLCopenXML... .

NOTE: The PLCopenXML schema does not allow having both VAR_GLOBAL and VAR_GLOBAL CONSTANT blocks in one variable list. In case you want to export both, you first will have to separate the variables into 2 separate variable lists.