SOT223 pin numbering |
Post Reply | Page 12> |
Author | |
hmartins
Active User Joined: 18 Mar 2013 Status: Offline Points: 17 |
Post Options
Thanks(0)
Posted: 25 Mar 2013 at 8:56am |
Hi.
SOT223 produces footprints with pin numbers 1 to 4 while Capture expects for pins 0 to 3. I understood how to rearrange pin order, but can't find a way to renumber them 0 to 3. Thanks Martins |
|
Tom H
Admin Group Joined: 05 Jan 2012 Location: San Diego, CA Status: Offline Points: 5719 |
Post Options
Thanks(0)
|
I've been doing PCB design since 1974 and I never heard of "Pin 0" before.
Is that new? |
|
hmartins
Active User Joined: 18 Mar 2013 Status: Offline Points: 17 |
Post Options
Thanks(0)
|
Please note these pin numbers I refer are internal Orcad Capture pin numbers, not manufacturer numbers or the usual way we count pins.
I don't have the system here, but as much as I remember it is mosfets NDT3055 and NDT2955. Same for SIPC14N60 (also mosfet). I suppose from Orcad default libs. Meanwhile I found out that in script file there is something like "NEXTPIN 1", that I changed to "NEXTPIN 0" and rerun batch file. It seems OK now. Capture's 'see footprint' (just by memory, don't forget) gives correct result. If you need more details I can give them tomorrow. Martins |
|
hmartins
Active User Joined: 18 Mar 2013 Status: Offline Points: 17 |
Post Options
Thanks(0)
|
Ok.
Orcad Capture 'sees' AD8051 as having pins 2, 3, 4, 6, 7 for -, +, V-, Out, V+. Orcad Capture 'sees' NDT8055 and 14N60 (mosfets) as havin pins 0, 1, 2 for s, g, d. Orcad Capture 'sees' H11AV1 (optocoupler) as having pins 1, 2, 4, 5, 6 for Anode, Cathode, E, B, C. Regards Hmartins |
|
hmartins
Active User Joined: 18 Mar 2013 Status: Offline Points: 17 |
Post Options
Thanks(0)
|
I apparently solved the problem the following way:
In SOT223-4.scr in: # Pin Generation add pin setwindow Form.mini FORM mini pad_name r197_89 FORM mini next_pin_number 0 rotate iangle 270 FORM mini pintype_mechanical NO FORM mini offsetx 0 FORM mini offsety 0 setwindow pcb pick -2.3 -3.025 pick 2.3 -3.025 pick 0 -3.025 setwindow Form.mini FORM mini pad_name r197_319 iangle -180 setwindow pcb pick 0 3.025 done I changed the bolded line to: FORM mini next_pin_number 0 Them I rerun he batch file. It seems to have solved the problem (as time goes by it will become clear). Software should include an easy way to define first pin number. Martins |
|
Tom H
Admin Group Joined: 05 Jan 2012 Location: San Diego, CA Status: Offline Points: 5719 |
Post Options
Thanks(0)
|
Martins,
Why don't you rename the SOT223 Pins -, +, V-, Out, V+ or S, D, G or E, B, C? Just select any pin and "Right Mouse Button > Properties" and enter the new Pin Name value. |
|
hmartins
Active User Joined: 18 Mar 2013 Status: Offline Points: 17 |
Post Options
Thanks(0)
|
No, no. I did not rename anything.
The above list with three component types is just an example of how different components (and packages) are arranged in terms of pin numbers. AD8051 is indeed AD8531 (I apologize for the mistake) and is SOIC8. NDT8055 and 14N60* (mosfets) are SOC223 H11AV1 (optocoupler) is DIP6. In Orcad Capture, the mosfets NDT8055 and 14N60 have pin numbers from 0 to 2 whose names are: s, g, d respectively. Note* 14N60 was indeed TO220 but for other peculiar reason I created a 'special' SOC223 so that I can solder TO220 as if it would be an SMD device. Anyway, in Orcad Capture the pin numbering is the sae as mosfet NDT8055. |
|
hmartins
Active User Joined: 18 Mar 2013 Status: Offline Points: 17 |
Post Options
Thanks(0)
|
"Just select any pin and "Right Mouse Button > Properties" and enter the new Pin Name value."I can't. It doesn't allow me to change pin numbers (inside capture) and, as much as I know, if I do that PSpice will argue that pins are messed. I think PSpice pin number models must correspond to pin capture pin numbers. May be I can change by Right Mouse->Edit Part, but I thik I will mess things with PSpice. |
|
rdl86626
Advanced User Joined: 20 Jul 2012 Location: Hollister, CA Status: Offline Points: 83 |
Post Options
Thanks(0)
|
You can change orcad capture pin numbers by editing the part. click on the part, right mouse button, edit part. When you leave out of edit you can save the change for all parts or just the one. Hope this helps.
|
|
hmartins
Active User Joined: 18 Mar 2013 Status: Offline Points: 17 |
Post Options
Thanks(0)
|
I can change Orcad Capture pin numbers editing the part but then later PSpice models pins will not correspond to the pins in diagram and issue an error, somelhing like pin_number_mismatch.
Seems to me that you should also allow selection from 0, not just from 1. I solved the problem several times already modifying the script before running the bat file. As example, in SOT223-4.scr I modified the bolded line: # Pin GenerationRegards Martins |
|
Post Reply | Page 12> |
Tweet |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |