delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2017/08/28/16:54:50

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: <CAHsNvaB61cG5aYuoTO1HVeuDfq=hPfuZ667L0fhEPk6g+k1V_Q AT mail DOT gmail DOT com>
<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]" <geda-help AT delorie DOT com>
Date: Mon, 28 Aug 2017 21:54:22 +0100
Message-ID: <CAHsNvaANy3BWRvRvnXMAso2skWJG8cZyqh8T18CoCxG26s8OqA@mail.gmail.com>
Subject: Re: [geda-help] Symbols for components with extra internally
connected pins in the footprint
To: geda-help AT delorie DOT com
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

--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, <karl AT aspodata DOT se> 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

<div dir=3D"ltr"><div><div><div><div><div><div><div><div><div>FAO <span nam=
e=3D"karl AT aspodata DOT se" class=3D"gmail-gD"><a href=3D"mailto:karl AT aspodata DOT s=
e">karl AT aspodata DOT se</a><br><br></span></div><span name=3D"karl AT aspodata DOT se"=
 class=3D"gmail-gD">Hi Karl<br></span></div><span name=3D"karl AT aspodata DOT se"=
 class=3D"gmail-gD">Thank you so much for your help.<br></span></div><span =
name=3D"karl AT aspodata DOT se" class=3D"gmail-gD">I will experiment using the me=
thods in your example.<br><br></span></div><span name=3D"karl AT aspodata DOT se" =
class=3D"gmail-gD">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.<br><br></span></div><span name=3D"karl AT aspodata DOT se"=
 class=3D"gmail-gD">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 &quot;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.<br><br></span></div><span name=3D"karl AT aspodata DOT se" class=3D"gma=
il-gD">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.<br><br></span></div><div><span name=3D"karl AT aspodata DOT se" cla=
ss=3D"gmail-gD">The other thing I need to understand properly is slotdef.<b=
r></span></div><div><span name=3D"karl AT aspodata DOT se" class=3D"gmail-gD">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.<br></span></div><di=
v><span name=3D"karl AT aspodata DOT se" class=3D"gmail-gD"><br></span></div><span=
 name=3D"karl AT aspodata DOT se" class=3D"gmail-gD">I will try these.<br></span><=
/div><span name=3D"karl AT aspodata DOT se" class=3D"gmail-gD">My thanks and regar=
ds<br></span></div><span name=3D"karl AT aspodata DOT se" class=3D"gmail-gD">Graha=
m<br></span><div><div><div><div><span name=3D"karl AT aspodata DOT se" class=3D"gm=
ail-gD"><br></span></div></div></div></div></div><div class=3D"gmail_extra"=
><br><div class=3D"gmail_quote">On 28 August 2017 at 12:53,  <span dir=3D"l=
tr">&lt;<a href=3D"mailto:karl AT aspodata DOT se" target=3D"_blank">karl AT aspodata=
.se</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Graham:<br>
<span class=3D"">&gt; How does one deal with the symbol for a component tha=
t has more physical<br>
&gt; pins than symbol pins, because internally some are strapped together? =
I<br>
&gt; have searched through the Wiki help for some time, looking for a clear=
<br>
&gt; example, but not yet seen how to do it.<br>
&gt; Some power semiconductors use extra pins, as do many relays.<br>
<br>
</span>=C2=A0example:<br>
<a href=3D"http://aspodata.se/git/openhw/share/gschem/mechanical1.sym" rel=
=3D"noreferrer" target=3D"_blank">http://aspodata.se/git/openhw/<wbr>share/=
gschem/mechanical1.sym</a><br>
<a href=3D"http://aspodata.se/git/openhw/share/pcb/_mechanical/fibox_tempo_=
TA191209T_4p.fp" rel=3D"noreferrer" target=3D"_blank">http://aspodata.se/gi=
t/openhw/<wbr>share/pcb/_mechanical/fibox_<wbr>tempo_TA191209T_4p.fp</a><br=
>
<br>
The sym has one pin with pinnumber=3D1.<br>
The fp has four pins with number parameter eq. 1.<br>
<br>
The pcb pin def.:<br>
=C2=A0Pin [rX rY Thickness Clearance Mask Drill &quot;Name&quot; &quot;Numb=
er&quot; SFlags]<br>
<br>
All pins/pads in pcb with the same &quot;Number&quot; will be treated as on=
e and<br>
the same thing.<br>
<span class=3D""><br>
&gt; An example is a simple changeover switch relay where there are 8 pins<=
br>
&gt; altogether.<br>
&gt; Two of the pins can be for the coil, and given a slotdef=3D1. That par=
t is<br>
&gt; easy.<br>
&gt;<br>
&gt; The remaining 6 pins, using slotdef=3D2, are arranged such that each i=
nternal<br>
&gt; element uses up 2 pins, strapped together internally.<br>
<br>
</span>I haven&#39;t seen slots used like that, isn&#39;t slots for compone=
nts that<br>
have multiple _identical_ parts, like a four op.amp. chip ?<br>
<br>
In your case you only have one thing consisting of two _different_<br>
parts in the package. Since you already have two sym&#39;s, just remove<br>
the slotdef attribute and you&#39;ll be fine.<br>
<span class=3D""><br>
&gt; This is where I need to understand how, (or whether) a single gschem s=
ymbol<br>
&gt; pin can be actually served by more than one pin in the footprint, and =
know<br>
&gt; how to arrange pinseq. I have spent some time adding the attributes to=
 the<br>
&gt; example, though I suspect my arrangement might be done better<br>
&gt;<br>
&gt; The example I include does work, but it would be nice to simplify the<=
br>
&gt; symbol to have only 3 connections, while the associated footprint has =
6<br>
&gt; pins connected as 3 pairs.<br>
<br>
</span>Remove the redundant pins in the sym and let the internally connecte=
d<br>
pins have the same &quot;number&quot; parameter.<br>
<br>
Regards,<br>
/Karl Hammar<br>
<br>
------------------------------<wbr>------------------------------<wbr>-----=
------<br>
Asp=C3=B6 Data<br>
Lilla Asp=C3=B6 148<br>
S-742 94 =C3=96sthammar<br>
Sweden<br>
<a href=3D"tel:%2B46%20173%20140%2057" value=3D"+4617314057">+46 173 140 57=
</a><br>
<br>
<br>
</blockquote></div><br></div>

--001a113e37f2de2e9b0557d67fce--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019