Author Topic: Pick and place file formats  (Read 6155 times)

0 Members and 1 Guest are viewing this topic.

Online uer166Topic starter

  • Frequent Contributor
  • **
  • Posts: 887
  • Country: us
Pick and place file formats
« on: August 15, 2019, 05:55:39 pm »
I'm trying to have PCBs assembled, but due to lack of requirements, and maybe my misunderstanding, the pick and place files generated by Diptrace seem to not be suitable for the assembly house. If anyone is familiar with these, can you compare good.txt with bad.txt?

Seems like they want the following format:
Mid X         Mid Y         Ref X         Ref Y         Pad X         Pad Y      Rotation

While Diptrace only exports X,Y,rotation, and place area width and height...
 

Offline jmelson

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: us
Re: Pick and place file formats
« Reply #1 on: August 15, 2019, 07:41:04 pm »
I'm trying to have PCBs assembled, but due to lack of requirements, and maybe my misunderstanding, the pick and place files generated by Diptrace seem to not be suitable for the assembly house. If anyone is familiar with these, can you compare good.txt with bad.txt?

Seems like they want the following format:
Mid X         Mid Y         Ref X         Ref Y         Pad X         Pad Y      Rotation

While Diptrace only exports X,Y,rotation, and place area width and height...
I'm no expert, I do my own assembly.  But, it seems to me that for almost all standard parts, the X and Y centroid and the rotation is all they should need.
The Ref XY is, I think, the coordinate of pin 1.  I have no idea what Pad XY is, maybe the outer dimensions of the part.  That might be helpful for setting up the vision.

Jon
 

Offline SMTech

  • Frequent Contributor
  • **
  • Posts: 845
  • Country: gb
Re: Pick and place file formats
« Reply #2 on: August 15, 2019, 10:10:39 pm »
Like jmelson I don't know what they are used for, someone must, ref X/Y is a user defined coordinate for the package and so will usually be the same number as mid X/Y, Pad X/Y is the co-ordinate of pin 1.

Presumably if a fab house is requiring they be supplied exactly like that it is because they have developed tools/scripts sufficiently inflexible that they can only cope with that format.

Different machines have different ways of being programmed, sometimes requiring a 3rd party piece of software that stiches centroid & BOM together with machine data to create a file it then uses. Our Essemtec (as do many others) requires the centroid to contain part numbers or values, when people send us centroid data without that I can either use my own tools or an old abandoned but very useful piece of freeware called SMT Maestro that can re-organise columns as required, expand BOM lines and merge them with the centroid file. This bascially means I don't care how you send your files, and frankly neither should they, it is trivial text manipulation they could do in excel/calc or with scripts.
 

Offline mrpackethead

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Re: Pick and place file formats
« Reply #3 on: August 15, 2019, 11:55:00 pm »
Pad X/Y is the co-ordinate of pin 1.

I've seen it a hundred tims, but never knew what 'Pad' actually was.. ( and have never used it myself... )  Mmm.  very handy!
On a quest to find increasingly complicated ways to blink things
 

Online uer166Topic starter

  • Frequent Contributor
  • **
  • Posts: 887
  • Country: us
Re: Pick and place file formats
« Reply #4 on: August 16, 2019, 01:38:44 am »
Yeah I'm honestly at a loss right now. I've asked for a detailed spec of file format and what they expect, but it's pretty confusing so far. House it just AllPCB, so if anyone has experience with them that would be a lot of help.

It's an interesting situation though, since $$$ was already paid, who eats the cost if they can't manufacture it?
 

Offline Smallsmt

  • Frequent Contributor
  • **
  • Posts: 598
  • Country: de
Re: Pick and place file formats
« Reply #5 on: August 17, 2019, 05:23:17 am »
RefDes   Pattern         X (mm)   Y (mm)   Side   Rotate   Value   Width (mm)   Height (mm)
____________________________________________________________________________________________

C1       CAP_0603        19.118   72.938   Top    270      1u              2.8          1         
C2       CAP_0603        13.823   75.851   Top    180      2.2u    2.8          1     

Copy your X/Y value to Mid X/Y and Ref X/Y position, RefDes to Designator, Pattern to Footprint, Value to Comment, Rotate to Rotation and set TB to T = Top Side.
Pad X/Y is not needed I think but need to have value so you need to fill these 2 columns too.
 

Offline Mattylad

  • Regular Contributor
  • *
  • Posts: 143
  • Country: gb
Re: Pick and place file formats
« Reply #6 on: August 21, 2019, 05:52:38 pm »
Do an assembly drawing that shows the polarisation of polarised components.
What your CAD system calls a rotation is only in reference to how it was created in your library.

Unless you create them at the same zero rotation that the components are as presented to the placement machine then your rotations will be wrong - which is where a good drawing is used to check it. 
Matty
CID+
 
The following users thanked this post: mrpackethead

Offline mrpackethead

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Re: Pick and place file formats
« Reply #7 on: August 21, 2019, 07:04:26 pm »
This is a great reference with regard how to set up your component librarys.  Its based on IPC-7351/IEC 61188-5-1.  Its the best way to get started.

Its not the full picture, because Some manufacturers will not pack parts this way. :-)



https://ohm.bu.edu/~pbohn/__Engineering_Reference/pcb_layout/pcbmatrix/Component%20Zero%20Orientations%20for%20CAD%20Libraries.pdf
On a quest to find increasingly complicated ways to blink things
 

Offline SWR

  • Regular Contributor
  • *
  • Posts: 125
  • Country: dk
  • Without engineering science is just philosophy.
Re: Pick and place file formats
« Reply #8 on: August 21, 2019, 07:10:43 pm »
I'm in the process of setting up my CAD libraries according to IPC7351B (see attached).

On the P&P I'll set up the rotation according to the orientation on the tape.
According to the P&P software manual the P&P will automatically compensate for reel position on the west, north or east side of the machine.

Best regards
Soren
You should never go down on equipment!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf