Skip to main content

Exporting and Importing Projects

. CODESYS provides commands for exporting and importing objects from and to a file. There are two ways to do this:
  • Export to and import from a CODESYS XML file (*.export)

    This format is fully compatible with the CODESYS project format. The objects are stored in a machine-parsable XML format.

  • Export to and import from an XML file in PLCopen format (*.xml)

    You can use this format for exchanging information between programs, for example program editors or documentation tool. PLCopen XML defined a subset of elements which CODESYS recognizes. Therefore, 100% compatibility cannot be guaranteed.

Exporting Projects

Requirement: A project is open in CODESYS.

  1. Click Project -> Export or Project -> Export PLCopenXML.

  2. Select the export objects in the Export dialog or Export PLCopenXML dialog.

  3. Click OK.

  4. Specify the file name and location. Click Save.

Importing Projects

Requirement: A project is open in CODESYS.

  1. Click Project -> Import or Project -> Import PLCopenXML.

  2. Select the import objects in the Import dialog or Import PLCopenXML dialog.

    A dialog opens and displays a tree structure of objects that can be inserted at this location.

  3. Select the object in the tree structure below which the objects can be imported.

  4. Select the objects and click OK.

    The objects are added to the existing object tree.

For more information, see: PLCopenXML