This functionality is only available for certain module packages.

You are here: Tutorial > EPLAN Electric P8 > Upgrading mechatronic model to extension points > Creating a library for interfaces

Creating a library for interfaces

Note:

If another discipline of the tutorial has already been edited, the T_Interfaces already exists. In this case the existing interfaces only have to be added.

The interfaces can be created directly in the mechatronic modular system. However, it is more practical to create these in a separate library and import these into all the libraries that require these interfaces.

The names of interfaces can be selected freely. But it has become common to let the names begin with a capital ā€˜Iā€™.

How to create the library for the interfaces:

  1. In the Library Catalog click the symbol.
  2. Enter T_Interfaces in the Name field.

Import the Engineering library:

  1. Open the editor page Imported libraries.
  2. Click the symbol [Add library].
  3. In the Library finder dialog click [Search].
  4. Select the Engineering library.
  5. Confirm with [OK].
  6. Save the T_Interfaces library.

How to create the interfaces:

  1. Call up the popup menu of the T_Interfaces library and select New > Interface.
  2. Enter IWiringDiagram in the Name field.
  3. Save the interface.
  4. Repeat Steps 1 to 3 with the following names:
    • ISchematicPage
    • ISensor
    • IMechSensor
    • ISensorPressure
    • ISensorInductive
    • ISensorOptical

All interfaces that are required for the extension points are now defined for the ECAD P8 discipline. The IMechSensor interface is later implemented at all mechatronic sensors. This way you can easily calculate how many schematic pages have to be installed.