Exporting Types to IEC 61131-10 XML
PLCnext Engineer allows you to export program/function/function block POUs, data types, and global variables to IEC 61131-10 XML-compliant files. You can either export a single POU or data type worksheet via context menu or the full project via the 'File > Export > Export IEC 61131-10' command. In the second case, you can select which types you want to export.
Further Info
See also the topic "Importing Types from IEC 61131-10 XML". |
The XML export created via 'File > Export > Export IEC 61131-10' may contain the following:
- Tasks (all types)
- Data type worksheets. The export contains all types defined in the data type worksheet.
- POUs. The export contains all information of all editors of the POU ('Signature', 'Variables', code worksheet(s), 'Version Information', etc.).
- Global variables. System variables and connections are not exported.
- Program instances
- Safety POUs cannot be exported.
- Library POUs cannot be exported.
Export single POU/data type worksheet
To export a single POU or data type worksheet to an IEC 61131-10 XML file, select the 'Export IEC 61131-10' context menu command from the POU/data type worksheet in the COMPONENTS area. Enter the file name in the 'Save' dialog, and then click the 'Save' button.
Export full project
- Select 'File > Export > Export IEC 61131-10'.The 'Export to IEC 61131-10 XML' dialog is displayed.
- Check the types to export and uncheck the types you want to exclude from the export, and then click 'OK'.
- In the 'Save' dialog, enter the file name, and then click the 'Save' button.