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.
- Select Insert > Placeholder object.
- Inside the macro box, drag a frame around the power supply lines and PLC inputs.
The Properties (components): Placeholder object dialog opens.
- Open the tables shortcut menu.
- 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!
- Select the Page property.
- Click [New].
- Select the Page description entry from the list.
- Confirm with [OK].
- Enter <PageDescription> into the Variable column.
- From the Variable column, remove all variable entries for Socket parameters (#<Socket:Input1> to #<Socket:Input8>).
- Open the Values tab.
- From the Variable column, remove all variable entries for Socket parameters (#<Socket:Input1> to #<Socket:Input8>).
- 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.