X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=xwbwYs+Dx00gXiIJXZY5JVZ9BtsQhcSSbDRUJfNKYnA=; b=AaNgw1l9FVWaodwRpfzIMUdjemZ56X4YDsQUAlfWJQ6X9klRNUbT0ZA/LtGhCZ6v4X fr0sOdt1MdJGQYwBXOQY79q1TMpfcBWkoJiAYzch0xBj/VM+we1Rwu5dxl9XVAYs4mVQ DFNPngRTjb5+fKr59ptSfDI36e46VoNyksmHh1onN06zzaoAFQL0K2wxWsbtr3OLNkcI YhqLVf6OGeIH6Z4t5q8Z3JnREJpaBSoo5ToCUeyCSEczsXiuk3NjDdHfZOWDMhlumv7/ LvwEzke4fmycb7nXnmZVG85NaVC8/6iqFfTBOTl8L1cYtrDKlvq0LhDgy9G7Zd6DRRKO jUAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=xwbwYs+Dx00gXiIJXZY5JVZ9BtsQhcSSbDRUJfNKYnA=; b=pE02OuYCbGcCgXJGA8RSWsaGrsb6259xj6o1iXmbvIKjIm4B/jwDyX97JqVPn6YUA/ JtZ96rd0U0DN3UJvvlCYlSXWGHc27c9yQWLFfdlQDxrxzEmzZhMUVrPVLCdgu0KFGP0I GeI1RwcMk2aypZtgKW5TscjgwKoMaDN68h/ef6kWvWkzOLhBo4/rUZdH3IOl2thiqE79 zPoalxa8QhGl3K7qSKiJlKNINnXEVAz5IY9HUBsLiZ07X5FAjErmchSXwEXaqDGYRSor OWwIJOc5daPz/03JCh77iwKzCAyaDOuhoC3hMYjITZWkf8HIQS0yZRDHMAJ4EhPUPCVR IijQ== X-Gm-Message-State: AHYfb5inqHkscr5U98RwG5p/7VK0SaxE+fpDc8+AxSloCqPT/c0s8D/Q dIULAt/xjwlFIx0xPE4Xp3HSY95gDLJ/ X-Received: by 10.200.53.176 with SMTP id k45mr2889019qtb.96.1503953663436; Mon, 28 Aug 2017 13:54:23 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170828115336.10A2A804C774@turkos.aspodata.se> References: <20170828115336 DOT 10A2A804C774 AT turkos DOT aspodata DOT se> From: "Graham S (graham DOT seale AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Mon, 28 Aug 2017 21:54:22 +0100 Message-ID: Subject: Re: [geda-help] Symbols for components with extra internally connected pins in the footprint To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="001a113e37f2de2e9b0557d67fce" Reply-To: geda-help AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-help AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --001a113e37f2de2e9b0557d67fce Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable FAO karl AT aspodata DOT se Hi Karl Thank you so much for your help. I will experiment using the methods in your example. To be clear about the use of slots. It seems to work exactly the same as a package with multiple devices in it. I always thought that was how it was done. The devices in the package do not have to be identical. In this case, one might place the actuating (coil) part of a relay in a completely different part of a drawing, instead of "forcibly attached" to the contacts part of the symbol. Two different symbols, forced together on the same footprint by the fact they have the same refdes, but a separate slot. In your example, because there is only one pin in the symbol, although four physical pins on the package, I take it that is why there is only one pinseq=3D1. The other thing I need to understand properly is slotdef. I guessed at slotdef=3D2: 11,21,14,24,12,22 because that was the (strange) pin names in the order they appear on the package. It was just a blind guess, and maybe order is not important, but it seemed to work. I will try these. My thanks and regards Graham On 28 August 2017 at 12:53, wrote: > Graham: > > How does one deal with the symbol for a component that has more physica= l > > pins than symbol pins, because internally some are strapped together? I > > have searched through the Wiki help for some time, looking for a clear > > example, but not yet seen how to do it. > > Some power semiconductors use extra pins, as do many relays. > > example: > http://aspodata.se/git/openhw/share/gschem/mechanical1.sym > http://aspodata.se/git/openhw/share/pcb/_mechanical/fibox_ > tempo_TA191209T_4p.fp > > The sym has one pin with pinnumber=3D1. > The fp has four pins with number parameter eq. 1. > > The pcb pin def.: > Pin [rX rY Thickness Clearance Mask Drill "Name" "Number" SFlags] > > All pins/pads in pcb with the same "Number" will be treated as one and > the same thing. > > > An example is a simple changeover switch relay where there are 8 pins > > altogether. > > Two of the pins can be for the coil, and given a slotdef=3D1. That part= is > > easy. > > > > The remaining 6 pins, using slotdef=3D2, are arranged such that each > internal > > element uses up 2 pins, strapped together internally. > > I haven't seen slots used like that, isn't slots for components that > have multiple _identical_ parts, like a four op.amp. chip ? > > In your case you only have one thing consisting of two _different_ > parts in the package. Since you already have two sym's, just remove > the slotdef attribute and you'll be fine. > > > This is where I need to understand how, (or whether) a single gschem > symbol > > pin can be actually served by more than one pin in the footprint, and > know > > how to arrange pinseq. I have spent some time adding the attributes to > the > > example, though I suspect my arrangement might be done better > > > > The example I include does work, but it would be nice to simplify the > > symbol to have only 3 connections, while the associated footprint has 6 > > pins connected as 3 pairs. > > Remove the redundant pins in the sym and let the internally connected > pins have the same "number" parameter. > > Regards, > /Karl Hammar > > ----------------------------------------------------------------------- > Asp=C3=B6 Data > Lilla Asp=C3=B6 148 > S-742 94 =C3=96sthammar > Sweden > +46 173 140 57 > > > --001a113e37f2de2e9b0557d67fce Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you so much for your help.
I will experiment using the me= thods in your example.

To be clear about the use of slots. It seems to work exa= ctly the same as a package with multiple devices in it. I always thought th= at was how it was done.

The devices in the package do not have to be identical.= In this case, one might place the actuating (coil) part of a relay in a co= mpletely different part of a drawing, instead of "forcibly attached&qu= ot; to the contacts part of the symbol. Two different symbols, forced toget= her on the same footprint by the fact they have the same refdes, but a sepa= rate slot.

In your example, because there is only one pin in the symbol, althou= gh four physical pins on the package, I take it that is why there is only o= ne pinseq=3D1.

The other thing I need to understand properly is slotdef.
I gu= essed at slotdef=3D2: 11,21,14,24,12,22 because that was the (strange) pin = names in the order they appear on the package. It was just a blind guess, a= nd maybe order is not important, but it seemed to work.

I will try these.
<= /div>My thanks and regar= ds
Graha= m


On 28 August 2017 at 12:53, <karl AT aspodata= .se> wrote:
Graham:
> How does one deal with the symbol for a component tha= t has more physical
> pins than symbol pins, because internally some are strapped together? = I
> have searched through the Wiki help for some time, looking for a clear=
> example, but not yet seen how to do it.
> Some power semiconductors use extra pins, as do many relays.

=C2=A0example:
http://aspodata.se/git/openhw/share/= gschem/mechanical1.sym
http://aspodata.se/gi= t/openhw/share/pcb/_mechanical/fibox_tempo_TA191209T_4p.fp
The sym has one pin with pinnumber=3D1.
The fp has four pins with number parameter eq. 1.

The pcb pin def.:
=C2=A0Pin [rX rY Thickness Clearance Mask Drill "Name" "Numb= er" SFlags]

All pins/pads in pcb with the same "Number" will be treated as on= e and
the same thing.

> An example is a simple changeover switch relay where there are 8 pins<= br> > altogether.
> Two of the pins can be for the coil, and given a slotdef=3D1. That par= t is
> easy.
>
> The remaining 6 pins, using slotdef=3D2, are arranged such that each i= nternal
> element uses up 2 pins, strapped together internally.

I haven't seen slots used like that, isn't slots for compone= nts that
have multiple _identical_ parts, like a four op.amp. chip ?

In your case you only have one thing consisting of two _different_
parts in the package. Since you already have two sym's, just remove
the slotdef attribute and you'll be fine.

> This is where I need to understand how, (or whether) a single gschem s= ymbol
> pin can be actually served by more than one pin in the footprint, and = know
> how to arrange pinseq. I have spent some time adding the attributes to= the
> example, though I suspect my arrangement might be done better
>
> The example I include does work, but it would be nice to simplify the<= br> > symbol to have only 3 connections, while the associated footprint has = 6
> pins connected as 3 pairs.

Remove the redundant pins in the sym and let the internally connecte= d
pins have the same "number" parameter.

Regards,
/Karl Hammar

-----------------------------------------------------------------= ------
Asp=C3=B6 Data
Lilla Asp=C3=B6 148
S-742 94 =C3=96sthammar
Sweden
+46 173 140 57=



--001a113e37f2de2e9b0557d67fce--