Skip to main content

Command: Import IEC-61131-10

Important

This feature is recommended only for exchange with other IDEs because it only handles elements which are also supported by the IEC 61131-10 standard. Other objects (such as CFC objects or library manager) are not supported. For an export/import from CODESYS to CODESYS, we therefore continue to recommend the native import/export in order to get 100% coverage.

Symbol: cds_icon_iecXchange.png

Function: The command opens a standard dialog for importing an XML file in the format IecXchangefiles (*.xml). When importing, the Import dialog opens, which provides functions for selecting and deselecting objects and for handling conflicts. Depending on the selected object in the Devices or POUs view, the list of elements which can be inserted there is refreshed in the import dialog. As long as the dialog is open, the selection can be changed by clicking in the Devices or POUs view.

Call: The command is not included in any standard menu. You can add it by means of the ToolsCustomize dialog in the Devices category. For more information, see: Customizing Menus

Requirement: A project is open.

Table 101. Dialog: Import

Content

Insertable Items

List of all objects in the import file which can be inserted below the selected object in the current project. The individual objects can be selected or deselected for import.

Conflict Resolution

Click in the field to open the list box for changing the displayed conflict resolution for this element.

Requirement: A conflict exists for the element.

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. A consecutive number _<no> is appended to the name

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

Device

By clicking in the field, the _cds_icon_three_dots.png button is displayed. This button can be used to select a different device in the Select Device dialog.

Additional Information

File header

Header of the content

Display of the import file information

Select

This list box can be used to select all objects or all objects of a specific type.

Deselect

This list box can be used to deselect all objects or all objects of a specific type.

Conflicts

This list box can be used to select a conflict resolution which is applied to all objects that have a conflict.

To change the conflict resolution for a specific object, click in the Conflict resolution field of the respective object.



For more information, see: Export IEC61131-10