Documentation

Difference between revisions of "Module"

(Using a prepared assembly as a module)
(Gather subassemblies of components for common edition)
 
(10 intermediate revisions by one other user not shown)
Line 7: Line 7:
  
 
Let's say you'd like to group the elements in the red circle as a module named "Reset".  
 
Let's say you'd like to group the elements in the red circle as a module named "Reset".  
[[Image:modul1.jpg|none|300px]]
+
[[Image:modul1.jpg|none|300px|A part of a schematic shall be grouped as a module]]
  
  
Highlight all elements which shall be part of the module using  '''[Shift] + [[M1]]''' subsequently.
+
Highlight all elements which shall be part of the module using  '''[Shift] + [[M1]]''' subsequently. You also might use the Function "Edit/Capture polygonal" in order to highlight parts within a polygon which you contour by mouseclick.
[[Image:modul2.jpg|none|300px]] Now press [[M2]] on empty space. The following menu opens:
+
[[Image:modul2.jpg|none|300px|The desired module in detail]] Now press [[M2]] on empty space. The following menu opens:
  
  
  
[[Image:modul3_e.jpg|none|300px]]
+
[[Image:modul3_e.jpg|none|300px|Group the selection as a module]]
  
 
Use menu entry "Group the selected elements as a module" and give an appropriate name to the module. "Reset" in our case.
 
Use menu entry "Group the selected elements as a module" and give an appropriate name to the module. "Reset" in our case.
  
  
[[Image:modul4_e.png|none|300px]]
+
[[Image:modul4_e.png|none|300px|Give your module a name]]
 
 
  
  
Line 28: Line 27:
  
  
[[Image:modul5_e.png|none|300px]]
+
[[Image:modul5_e.png|none|300px|Preselect modules to get found]]
  
  
Line 34: Line 33:
 
All elements of the module in question get highlighted.
 
All elements of the module in question get highlighted.
  
[[Image:modul2.jpg|none|300px]]
+
[[Image:modul2.jpg|none|300px|The complete module "Reset" appears 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:
 
 
 
[[Image:SelectModule.png]]<br><br>
 
 
 
== 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 [[media:powersupp_univ_sym.T3001|powersupp_univ_sym.T3001]]
 
 
 
 
 
[[image:netzteil_S1.jpg|none|300px|Image 1: Power supply (schematic)]]
 
'''Image 1''' shows the schematic of a symmetrical universal power supply<br>
 
<br>
 
  
[[image:netzteil_L1.jpg|none|300px|Image 2: Power supply (layout)]]
 
'''Image 2''' shows a layout of it.<br>
 
<br>
 
  
  
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]'''.<br>
+
If you press this button in the [[pointer toolbar]] you will highlight all elements of a module if you only click a part of it...
<br>
 
  
 +
[[Image:SelectModule.png|none|Select module-button in the toolbar]]<br><br><br>
  
[[image:netzteil_S2.jpg|none|300px|Image 3: Paste the schematic like a module]]<br>
+
== Use elements of circuit and layout like an assembly (module) ==
<br>
 
  
  
'''Image 3''' Now paste the clipboard by '''[Ctrl]+[v]''' to an empty schematic page.<br>
+
Assemblies of schematic elements worth being used in various circuits (eg. power supplies), can be seen as a kind of a "multi-element". So you save the work to re-insert each part of the group again and again. Act as follows: After having drawn the circuit in schematic and layout copy and paste it to an empty project, each schematic and layout subsequently. Now save this project using a clever name. Open this project later again in order to copy and paste its designs like modules to other projects. Again - first schematic, then layout subsequently.
<br>
 
  
[[image:netzteil_L2.jpg|none|300px|Image 4: Paste the layout as a module]]<br>
+
Please have a look at the article '''[[Clipboard]]''' as well.
<br>
 
  
 
'''Image''' 4 Do the same with the layout.<br>
 
<br>
 
  
 
== Gather subassemblies of components for common edition ==
 
== Gather subassemblies of components for common edition ==
Line 81: Line 54:
 
It's possible to subsume components to a module (group of components, assembly) for 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 '''e'''dit. The following dialog opens:
 
It's possible to subsume components to a module (group of components, assembly) for 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 '''e'''dit. The following dialog opens:
  
[[Image:e_module.jpg|none|300px]]
+
[[Image:e_module.jpg|none|300px|The preselection dialog for edition of elements being part of the selected]]
  
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".  
+
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".<br><br>
  
 
Later you can use the module property of several components eg when using the [[Autoplacer|autoplacer]], intending the automatic placement of only a certain module:
 
Later you can use the module property of several components eg when using the [[Autoplacer|autoplacer]], intending the automatic placement of only a certain module:
  
[[Image:e_AutoplacerDLG0.jpg|none|300px]]
+
[[Image:e_AutoplacerDLG0.jpg|none|300px|Prepare module for automatic placement]]
  
  
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:
+
Whether a component belongs to a certain 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:
  
  
[[Image:e_module1.jpg|none|300px]]
+
[[Image:e_module1.jpg|none|300px|This component is part of the module:"Power supply unit"]]<br><br>
 
   
 
   
 +
== Lock module against movement ==
 +
 +
<br>As of V32, you can use the menu item "Lock module against movement..." in the "Modules" menu. Likewise there is a menu item which unlocks a module completely again. Only the packages in the PCB are affected by the locking:<br><br>
 +
[[image:LockModuleEN.jpg]]<br>Lock module against movement<br><br>
  
  

Latest revision as of 07:12, 26 July 2023

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".

A part of a schematic shall be grouped as a module


Highlight all elements which shall be part of the module using [Shift] + M1 subsequently. You also might use the Function "Edit/Capture polygonal" in order to highlight parts within a polygon which you contour by mouseclick.

The desired module in detail
Now press M2 on empty space. The following menu opens:


Group the selection as a module

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


Give your module a name


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.


Preselect modules to get found


All elements of the module in question get highlighted.

The complete module "Reset" appears highlighted


If you press this button in the pointer toolbar you will highlight all elements of a module if you only click a part of it...

Select module-button in the toolbar



Use elements of circuit and layout like an assembly (module)

Assemblies of schematic elements worth being used in various circuits (eg. power supplies), can be seen as a kind of a "multi-element". So you save the work to re-insert each part of the group again and again. Act as follows: After having drawn the circuit in schematic and layout copy and paste it to an empty project, each schematic and layout subsequently. Now save this project using a clever name. Open this project later again in order to copy and paste its designs like modules to other projects. Again - first schematic, then layout subsequently.

Please have a look at the article Clipboard as well.


Gather subassemblies of components for common edition

It's possible to subsume components to a module (group of components, assembly) for 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:

The preselection dialog for edition of elements being part of the selected

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 automatic placement of only a certain module:

Prepare module for automatic placement


Whether a component belongs to a certain 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:


This component is part of the module:"Power supply unit"


Lock module against movement


As of V32, you can use the menu item "Lock module against movement..." in the "Modules" menu. Likewise there is a menu item which unlocks a module completely again. Only the packages in the PCB are affected by the locking:

LockModuleEN.jpg
Lock module against movement