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.
In order to place one or more components on an extension point in the existing configuration the IMX files T2_Extension_OneLevel.imx and T2_Extension_AllLevels.imx are imported.
<?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" calcExtensions="OneLevel"/>
</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.
The calcExtensions="OneLevel" attribute has the effect that the extension point that is installed in the Inspect component is updated. This means that a suitable component is placed on this extension point.
<?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" calcExtensions="AllLevels"/>
</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.
The calcExtensions="AllLevel" attribute has the effect that the extension point that is installed in the Inspect component is updated and all those located under it. This means that a suitable component is placed on this extension point and all suitable components located under it.
Proceed as follows to place a component on an extension point of the subordinate level:
- Select the menu item File > Import....
- Navigate to Project > Import.
- Confirm via [Next >].
- Specify the file T2_Extension_OneLevel.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 is now placed on the ExtensionPoint_Orientationinspector extension point. The Orientationinspector component also has an extension point installed. However, no component has been placed on it.
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).
Proceed as follows to install components on extension points of all the subordinate levels:
In order to use the existing Feeder project the installed Inspect component has to be initially removed first:
- Mark the Inspect component in the Project catalog.
- Delete the component using the [Del] key.
- Confirm the selection with [Finish] in the Delete dialog.
After the Inspect component has been removed from the project the import can be started:
- Select the menu item File > Import....
- Navigate to Project > Import.
- Confirm via [Next >].
- Specify the file T2_Extension_AllLevel.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:
C:\Users\Public\EPLAN\EngineeringConfiguration\<Build-ID>\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 installed on the placeholder Placeholder_Inspect in Feeder. In the Inspect component the previously fixed installed component Orientationinspector is now placed on the ExtensionPoint_Orientationinspector extension point. The component Positionsensor_optical is placed on the extension point ExtentionPoint_Positionsensor_optical of the Orientationinspector component.
The Discard component is thus active and is also displayed.