10-03-2018, 01:25 PM
Library parts: Devices (Part-2)
When you are making a complex device like a dual-triode, there is more than one symbol element required even though there is only one package. In this case, we ADD the triode symbols to the symbol,field of the Device editor, by selecting ADD with a left-click; scrolling to the Triode symbol in the list of available symbols; left-click, then the triode virtual symbol is attached to the cursor. left-click on the symbol field, then cursor to a new spot and left-click again to add the second triode. left-click on STOP in the upper toolbar.
Go to ADD again, repeat the process for the heater portion of the tube.
As you add each symbol, beside each will be the word "Add=Next" and below that "Swap=0". These are the defaults in the Device editor when multiple identical symbols are added to the symbol field. The Add level means that when you are drawing the schematic and select "Dualtriode" in the list of symbols, that each left-click will drop a triode onto the schematic. Each pair of clicks represents one dual-triode, but you can drop as many triodes as there are in the amp, say six triodes for a typical plexi circuit with three dual-triode tubes. The schematic editor is calling up the first section of the first dual triode, then the second section next, then the first section of the a new dual triode next, and the second section of that dual triode next, and so on.
The 0" in the Swap level means it cannot be interchanged or swapped with any other element. We want to change this to "1" so that any section of the part can be swapped with any other functionally-identical section in that part. You can also swap functionally-identical sections of different packages where there are multiple identical packages. This means that if it were convenient for the physical layout to do so; for example, you could swap the circuit order for the connection of the first sections of two dual triodes.
For the heater, since there is only one symbol of this type in the Device symbol field it shows "Add=request" and "Swap=0" and we leave the Swap level at zero. It cannot be swapped with any other element of any package, even if there are multiple identical devices in the circuit.
You can change the Add and Swap levels as required.
Beside each symbol on the symbol field is the name and value of that section. Here is a slightly tricky part of Eagle. Where you might think, "This is a 12AX7", we are in the Eagle Device editor and the Symbols already have >NAME and >VALUE beside the first section, and G$2 and >VALUE beside the second section. If we were making a triple triode, the third section would have G$3 and >VALUE beside it. For all of the identical sections, we need to change the Name.
Left-click on the NAME icon in the left-hand toolbar, then left-click on the first triode symbol; a text box opens called "Name"; "G$1" appears in the text window and is highlighted; enter "A" (which replaces G$1) then click on OK. "A" appears beside the first section. Left-click on the second section, the text box opens again; enter "B" then OK. Click on STOP in the upper toolbar to end the NAME function.
Go to the CHANGE icon in the left-hand menu and scroll to Swap Level; left-click; cursor to the first section; left-click and the text box opens named "Swap level"; enter "1" in the field, then press OK; "Swap=1" replaces "Swap=0" beside the first section; cursor to the second section and repeat. Go to STOP to end the Swap change function.
When you are making a complex device like a dual-triode, there is more than one symbol element required even though there is only one package. In this case, we ADD the triode symbols to the symbol,field of the Device editor, by selecting ADD with a left-click; scrolling to the Triode symbol in the list of available symbols; left-click, then the triode virtual symbol is attached to the cursor. left-click on the symbol field, then cursor to a new spot and left-click again to add the second triode. left-click on STOP in the upper toolbar.
Go to ADD again, repeat the process for the heater portion of the tube.
As you add each symbol, beside each will be the word "Add=Next" and below that "Swap=0". These are the defaults in the Device editor when multiple identical symbols are added to the symbol field. The Add level means that when you are drawing the schematic and select "Dualtriode" in the list of symbols, that each left-click will drop a triode onto the schematic. Each pair of clicks represents one dual-triode, but you can drop as many triodes as there are in the amp, say six triodes for a typical plexi circuit with three dual-triode tubes. The schematic editor is calling up the first section of the first dual triode, then the second section next, then the first section of the a new dual triode next, and the second section of that dual triode next, and so on.
The 0" in the Swap level means it cannot be interchanged or swapped with any other element. We want to change this to "1" so that any section of the part can be swapped with any other functionally-identical section in that part. You can also swap functionally-identical sections of different packages where there are multiple identical packages. This means that if it were convenient for the physical layout to do so; for example, you could swap the circuit order for the connection of the first sections of two dual triodes.
For the heater, since there is only one symbol of this type in the Device symbol field it shows "Add=request" and "Swap=0" and we leave the Swap level at zero. It cannot be swapped with any other element of any package, even if there are multiple identical devices in the circuit.
You can change the Add and Swap levels as required.
Beside each symbol on the symbol field is the name and value of that section. Here is a slightly tricky part of Eagle. Where you might think, "This is a 12AX7", we are in the Eagle Device editor and the Symbols already have >NAME and >VALUE beside the first section, and G$2 and >VALUE beside the second section. If we were making a triple triode, the third section would have G$3 and >VALUE beside it. For all of the identical sections, we need to change the Name.
Left-click on the NAME icon in the left-hand toolbar, then left-click on the first triode symbol; a text box opens called "Name"; "G$1" appears in the text window and is highlighted; enter "A" (which replaces G$1) then click on OK. "A" appears beside the first section. Left-click on the second section, the text box opens again; enter "B" then OK. Click on STOP in the upper toolbar to end the NAME function.
Go to the CHANGE icon in the left-hand menu and scroll to Swap Level; left-click; cursor to the first section; left-click and the text box opens named "Swap level"; enter "1" in the field, then press OK; "Swap=1" replaces "Swap=0" beside the first section; cursor to the second section and repeat. Go to STOP to end the Swap change function.


