Export and Import of Configuration Data

Exporting a module, all interface data or a complete configuration is done by selecting the desired element in the PLC configuration, opening the context menu by right-clicking the element and selecting the menu item “Export module”. In the appearing window, the module can be saved to the corresponding configuration level as XML file under the selected module name.

Importing modules is done in the same way than exporting. That means, by right-clicking the desired module in the configuration tree and selecting the menu item “Import module” from the context menu.

Note

Modules can only be imported into the configuration level from which they were previously exported.

In case of I/O modules (such as I/O bus, CS31 bus), the position of the module can be ignored. Thus, a module installed in slot 1 can be exported and imported to slot 5. The input and output addresses are changed automatically.

Example of an export/import procedure:

Example 1:

The input/output module DC532 at the I/O bus for machine part Axx shall be saved as DC532_Axx and then be used in another project.

  1. Append a DC532 module to the I/O bus by right-clicking the I/O bus element in the configuration tree and selecting the menu item “Append Subelement” / “DC532 - 16 digital input and 16 digital Inoutput” from the context menu.

  2. Edit the symbolic names and comments of the inputs/outputs.

  3. Export the DC532 module by right-clicking it in the configuration tree and selecting the menu item “Export module” from the context menu. In the appearing window, enter the file name “DC532_Axx” and confirm the window.

    Now the file “DC532_Axx.xml” is saved to the directory Compile which is a subdirectory of the Control Builder installation directory.

  4. If necessary, save the project and open/create the project into which you want to insert the exported module.

  5. Append a DC532 module to the I/O bus of this project.

  6. Right-click the module DC532 in the configuration tree, select the context menu item “Import module” and then choose the file “DC532_Axx” (contains the exported module) in the appearing window. The module will be inserted and the symbolic names and comments are available in the projects afterwards.

Example 2:

The Modbus RTU settings for serial interface COM1 shall be saved as “COM1_MODBUS_Slave1”.

  1. Change the COM1 parameters to “COM1 - MODBUS” by right-clicking the element in the configuration tree and selecting “Replace element” / “COM1 - MODBUS”.

  2. Configure the interface parameters in the “Module parameters” tab.

  3. Export the new settings by right-clicking COM1 in the configuration tree and selecting the menu item “Export module” from the context menu. In the appearing window, enter the file name “COM1_MODBUS_Slave1” and confirm the window.

    Now the file “COM1_MODBUS_Slave1.xml” is saved to the directory Compile of the Control Builder.