delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2017/08/28/07:53:45

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] Symbols for components with extra internally connected pins in the footprint
In-reply-to: <CAHsNvaB61cG5aYuoTO1HVeuDfq=hPfuZ667L0fhEPk6g+k1V_Q@mail.gmail.com>
References: <CAHsNvaB61cG5aYuoTO1HVeuDfq=hPfuZ667L0fhEPk6g+k1V_Q AT mail DOT gmail DOT com>
Comments: In-reply-to "Graham S (graham DOT seale AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
message dated "Mon, 28 Aug 2017 12:01:34 +0100."
Mime-Version: 1.0
Message-Id: <20170828115336.10A2A804C774@turkos.aspodata.se>
Date: Mon, 28 Aug 2017 13:53:35 +0200 (CEST)
X-Virus-Scanned: ClamAV using ClamSMTP
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

Graham:
> How does one deal with the symbol for a component that 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.

 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=1.
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=1. That part is
> easy.
> 
> The remaining 6 pins, using slotdef=2, 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ö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


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