Documentation

Module: Difference between revisions

Line 38: Line 38:




If you press this button in The [[pointer toolbar]]: [[Image:SelModule.png]] you will highlight all elements of a module if you click on part of it.
If you press this button in The [[pointer toolbar]] you will highlight all elements of a module if you click on part of it:
 
[[Image:SelectModule.png]]<br><br>


== Using a prepared assembly as a module ==
== Using a prepared assembly as a module ==

Revision as of 09:03, 2 December 2014

General

The module function allows to group several elements as a module. Make up your mind about a module name in order to search and select the module by this name later. A component with several gates is always made up as a module, because TARGET thinks of a module as being a unit which is placed closely together and assembled collectively on the board.


Grouping elements

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


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

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


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




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.



All elements of the module in question get highlighted.


If you press this button in The pointer toolbar 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: Power supply (schematic)

Image 1 shows the schematic of a symmetrical universal power supply

Image 2: Power supply (layout)
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
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
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:

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:


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: