# Eagle - export pick & place file

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?

• Run XYRS.ulp from the layout window. – apalopohapa Feb 4 '15 at 19:16
• @apalopohapa I can't find this ulp, neither in eagle's ulp folder nor on the cadsoft website. – sergej Feb 4 '15 at 20:21
• 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. – apalopohapa Feb 4 '15 at 21:11

## 5 Answers

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.

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

• Advanced Circuits/4PCB accepts .mnt/.mnb files directly for their assembly quotes. – tcrosley Jan 6 '17 at 15:20

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

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.

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