Requirements:
- The preparatory steps on the file level have been carried out.
- EEC is started.
- Section Generating a configuration by importing an IMX file is carried out.
In addition to the system libraries, the library catalog contains the architecture T_Mechatronic_Architecture and the modular system T_Mechatronic_ModularSystem.
The Feeder project exists in the Project catalog.
The IMX file T2_Component.imx is imported in order to place a component in the existing configuration.
<?xml version="1.0" encoding="utf-8"?>
<imx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude" version="1.0">
<project name="Feeder" save="true" >
<libraries>
<add type="String" value="T_Mechatronic_ModularSystem"/>
</libraries>
<mo name="Feeder" typeClass="T_Mechatronic_ModularSystem.Mechatronic.Stations.Feeder" >
<mo name="Inspect" typeClass="T_Mechatronic_ModularSystem.Mechatronic.Functiongroups.Inspect" />
</mo>
</project>
</imx>
Description of the IMX file:
After the obligatory header data in Rows 1 and 2, the name of the new configuration is specified in Row 3 with the attribute name of the <project> tag on Feeder. Since the import wizard requires the specification of a project name, this specification is overridden by the import wizard. The save attribute with the value true determines that this configuration is saved immediately after creation. This tag is only effective if importing is carried out via action / command.
The <libraries> tag encompasses the specification on which mechatronical modular system the configuration is based.
With the <mo name="Feeder"> tag a component of the Feeder type of the configuration is addressed.
In the addressed component the <mo name="Inspect"> tag is used to place a component of the Inspect type on a suitable placeholder.
Proceed as follows to install a component on a placeholder:
- Select the menu item File > Import....
- Navigate to Project > Import.
- Confirm via [Next >].
- Specify the file T2_Component.imx in the Source file name field.
- Leave the Template file name field empty.
- Remove the Create new project option and mark the Feeder project in the list below it.
- Confirm with [Finish].
The import wizard opens with the Select page.
The import wizard opens the page Import file.
The file is located in the following directory:
<EEC installation path>\resources\Import\IMX
Use [Browse...] to navigate to the file. If applicable, select the file filter IMX files (*.imx).
Result:
The new configuration called Feeder is displayed in the project catalog:
The Feeder configuration contains the Feeder with the built-in components Insert, Move and Store.
The new aspect of this configuration is that the Inspect component is placed on the placeholder Placeholder_Inspect in Feeder. In the Inspect component the previously fixed installed component Orientationinspector has been replaced by the ExtensionPoint_Orientationinspector extension point.
The Discard component is thus active and is also displayed.
Note:
The display of placeholders, extension points and of components that are deactivated is influenced by the filter setting of the project catalog (see Filter).