Documentation

Difference between revisions of "Module"

Line 96: Line 96:
  
  
[[de:Modul]][[fr: Module]][[category: Settings and options]]
+
[[de:Modul]][[fr: Module]][[category: Settings and options]] [[category: homepage]]

Revision as of 09:33, 2 December 2014

General

The module function allows to group several elements as a module. You have to conceive a module name under which you can search and select the module later.

A component with several gates is always assigned completely to one module, because TARGET thinks of a module as being a unit that is placed and assembled together and collectively on the PCB.

Grouping elements

Let's say you'd like to group the elements in the red circle as a module named "Reset".

Modul1.jpg


Highlight all elements which shall be part of the module using [Shift] + M1.

Modul2.jpg
Now press M2 on empty space. The following menu opens:


Modul3 e.jpg

Use menu entry "Group the selected elements as a module" and give an appropriate name to the module. "Reset" in our case.


Modul4 e.png



Later, when you'd like to highlight the complete module, please use the search function (the binoculars). Tick the radiobutton "Module" and choose the desired one by selecting it's name from the list.


Modul5 e.png


All elements of the module in question get highlighted.

Modul2.jpg



If you press this button in The pointer toolbar: SelModule.png you will highlight all elements of a module if you click on part of it.

Using a prepared assembly as a module

Subassemblies, which might be used in several designs can be seen as a kind of "multi element" (e.g. power supplies). So you would like to insert them as a module instead of creating them new each time. How do you do that? After having drawn a schematic and a layout of such a subassembly copy it to the clipboard and paste it to a new, empty project. Schematic first, then the layout. Save this project under a reasonable name. Later open this new project again and pick the assembly from it. Paste it to your desired design, schematic first, then the layout.

For example: A symmetrical universal power supply powersupp_univ_sym.T3001


Image 1: Power supply (schematic)

Image 1 shows the schematic of a symmetrical universal power supply

Image 2: Power supply (layout)

Image 2 shows a layout of it


Now open an empty project and tile the window horizontally. Now take the complete schematic of the module to the clipboard. For doing so drag a Catch window over the complete figure and press [Ctrl]+[c].


Image 3: Paste the schematic as a module

Now paste the clipboard by [Ctrl]+[v] to an empty schematic page, see image 3.

Image 4: Paste the layout as a module


Do the same with the layout, see image 4.



Gather subassemblies of components for common edition

It's possible to subsume components to a module (group of components, assembly) for a common edition. The affiliation of a component to a certain group is defined by it's property MODULE. Highlight those symbols (in the schematic) view which you'd like to group and press key [e] for edit. The following dialog opens:

E module.jpg

For those components highlighted we add the property MODULE = Power supply unit, because we want to make them belong to the module "Power supply unit".

Later you can use the module property of several components eg when using the autoplacer, intending the autoplacement of only a certain module:

E AutoplacerDLG0.jpg


If a component belongs to a module can be figured out by it's list of properties. Click M11 on the handle of the component and click button "Properties" in the appearing "Change component" (symbol or package) dialog:


E module1.jpg