This functionality is only available for certain module packages.

You are here: Tutorial > EPLAN Electric P8 > Create EPLAN Electric P8 components > Divide EPLAN Electric P8 schematic into macros > Create window macro for page > Create placeholder object for page

Create placeholder object for page

Now add a placeholder object in order to define the function texts as placeholders. Each function text is assigned a variable name. When the macros are imported into EEC, a parameter of the same name is created for each variable. These parameters store in EEC meaningful texts that are used instead of placeholders when creating the schematics.

  1. Select Insert > Placeholder object.
  2. Inside the macro box, drag a frame around the power supply lines and PLC inputs.

The Properties (components): Placeholder object dialog opens.

  1. Open the tables shortcut menu.
  2. Select Adopt variables.

The Variablescolumn is then automatically filled with the names of the variables.

Note:

The variables for the Socket and Plug parameters must not be entered in the Variable column, so that no duplicate objects are created during the automatic transfer of the parameters!

  1. Select the Page property.
  2. Click [New].
  3. Select the Page description entry from the list.
  4. Confirm with [OK].
  5. Enter <PageDescription> into the Variable column.
  6. From the Variable column, remove all variable entries for Socket parameters (#<Socket:Input1> to #<Socket:Input8>).
  7. Open the Values tab.
  8. From the Variable column, remove all variable entries for Socket parameters (#<Socket:Input1> to #<Socket:Input8>).
  9. Confirm with [OK].

Note:

Make sure that the anchor of the placeholder object is inside the macro box; otherwise, the macro cannot be created correctly.

This completes the preparations for the window macro of the page. Export to a macro occurs at a later time.