The purpose of the CSV import is to create projects based on a modular system. The CSV files are converted during importing into the XML format, which in turn is converted using a schema file into the IMX format that can be interpreted by EEC (also refer to IMX import).
Importing of the CSV files is effected tthrough the command Engineering.ImportIMXCommand.
The schema file for the conversion to the IMX format is created in XML format and must comply with the typical requirements for XML files.
The following section describe how a schema file is structured for the import of Excel files. For importing an Excel file, one schema file and one mapping file are always required. The mapping file is always the same for the examples in the following sections and therefore is only listed once here.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <mapping> <!-- MyMechatronic.Plant --> <moTypeClass alias="Plant" realName=" MyMechatronic.Plant"/> </mapping>