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 fragments of sensors > Create placeholder objects for sensors

Create placeholder objects for sensors

Analogous to the schematic page, a placeholder object must be added for each sensor to equip the macros with variables.

  1. Select Insert > Placeholder object.
  2. Inside the Sensor_Inductive macro box, open a frame that includes all the elements.

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. From the Variable column, remove all variable entries for Plug parameters (#<Plug:IP>).
  2. Open the Values tab.
  3. From the Variable column, remove all variable entries for Plug parameters (#<Plug:IP>).
  4. Confirm with [OK].

Note:

Make sure that the anchors of the placeholder objects are inside the macro boxes; otherwise, the macros cannot be created correctly.