4
\$\begingroup\$

How do I export/generate an pick & place file for my board in CadSoft Eagle?

Is there a standard (like gerber) for pick & place machine files?

\$\endgroup\$
3
  • \$\begingroup\$ Run XYRS.ulp from the layout window. \$\endgroup\$ Commented Feb 4, 2015 at 19:16
  • \$\begingroup\$ @apalopohapa I can't find this ulp, neither in eagle's ulp folder nor on the cadsoft website. \$\endgroup\$
    – sergej
    Commented Feb 4, 2015 at 20:21
  • \$\begingroup\$ They may have renamed it. See angs answer. If that doesn't work either, I can also copy-paste the code in an answer here. I don't use eagle for new designs anymore, but I still keep a bunch of ulps I wrote some years ago, including a modified XYRS.ulp. \$\endgroup\$ Commented Feb 4, 2015 at 21:11

5 Answers 5

3
\$\begingroup\$

There is no standard. You want your file to be in a certain format which can be read by a particular pick-n-place machine. Machines all want to know the position where to place the center of the part (the centroid); however, the format of the pick position and part rotation (some heads rotate 0-360 degrees, others -180 - +180, and yet others can only rotate 90 deg and if you want to place a certain part at any degree you'd have to have two pick positions and your script must know how to pick from the correct one) are machine-specific and you need to know this to generate proper job file. Another factor is simultaneous pick if your machine has more than one head.

To give you a better idea of what's involved I suggest checking TM220 resource page at Dangerous prototypes. This machine is popular among makers, consequently the ULP script has been created and made available to produce job files for it from Eagle. You can run this script to see what it looks like; also, the source code can be used as a base to write scripts for other machines.

\$\endgroup\$
8
\$\begingroup\$

You can run mountsmd.ulp

You can access it on the layout view, File > run ULP

it will generate .mnt (mount top) and .mnb (mount bottom). It is a text file that stores coordinates of origin of a component

\$\endgroup\$
1
  • \$\begingroup\$ Advanced Circuits/4PCB accepts .mnt/.mnb files directly for their assembly quotes. \$\endgroup\$
    – tcrosley
    Commented Jan 6, 2017 at 15:20
1
\$\begingroup\$

the file name of ULP in Eagle is "centroid-screamingcircuits-smd" IF you don't have the file maybe you can download i here

http://i.screamingcircuits.com/docs/ScreamingCircuits%20centroid%20ULP.zip

Best regards

Fernando

\$\endgroup\$
0
\$\begingroup\$

As mentioned by Oleg there are many possible formats. So ask your manufacturer for the format they want and try editing a copy of mountsmd.ulp (thats the name in Eagle 6) to make it in that format. Since Eagle's ULP format is similar to C it shouldn't be hard.

\$\endgroup\$
0
\$\begingroup\$

You can try the ULP that comes with VisualPlace.
Which is worth having as a tool anyways for prototype runs.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.