This functionality is only available for certain module packages.

You are here: EEC > ECAD > Modularization of ECAD pages

Modularization of ECAD pages

To modularize ECAD pages, it is essential that two tasks be carried out. First, the entire pages are broken down into meaningful partial circuits in the form of window macros. Second, the variable values are set up as parameters. EPLAN uses the placeholder object to define variables. The variables thus defined become the parameters of the ECAD object when the resource is imported. During the generation of the schematic, they can then be calculated from within EEC and filled with concrete values.

Parameters can be assigned for many elements of the wiring diagram, for example, terminal designations, structure/device identifiers, technical characteristics or page numbers.

In practice, it has proved useful to define several placeholder objects if many objects are to be parameterized. The parameters are read out jointly in EEC. Thus, nothing changes in EEC if several or only one placeholder object is used.

Rule:

The syntax #<Parametername> may be used only for the definition of the plug and sockets, because they are not assigned to any placeholder object. All other parameters in the placeholder objects use the following syntax by default in EPLAN Electric P8:

<Parameter name>

Text objects:

Further properties of a parameter can be entered in text objects, but they will be evaluated only if the parameter does not yet exist up to the time the document is read in. The information entered in the sequence can be Type, Default value, and Comment.

The syntax then follows this pattern:

<Typ:Parametername=Defaultvalue//Comment>

Example:

<String:Location=St01Insert//MountingLocation>

This means that Type, Default value, and Comment are independent of each other, and each is optional.

When a resource is assigned or edited and then saved, the content is read in and the parameter sequences are evaluated. Then, the ECAD discipline determines the parameters that already exist and which parameters have yet to be created. In the latter case, the appropriate parameters are created, while taking all of the entries into account.

In the process, missing entries for optional information, i.e. Type, Default value, and Comment, are replaced by the following values:

Statement Value
Type String
Default value <empty>
Comment <empty>

If a new parameter has been generated, or if a parameter already exists with the stated name, it will be assigned to the text object whose resource has just been read in.

More: