Analogous to the schematic page, a placeholder object must be added for each sensor to equip the macros with variables.
- Select Insert > Placeholder object.
- Inside the Sensor_Inductive macro box, open a frame that includes all the elements.
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!
- From the Variable column, remove all variable entries for Plug parameters (#<Plug:IP>).
- Open the Values tab.
- From the Variable column, remove all variable entries for Plug parameters (#<Plug:IP>).
- 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.