I'll try to describe how the program should work .
Position information of the components using the program eagle 5.6.0 or some of new version .
That look like this :
Part name X position Y position A position (angle ) Part housing ( part dimension )
LD1 56.54 69.23 330 61-23RGBC/TR8 PLCC6
LD2 43.87 69.33 30 61-23RGBC/TR8 PLCC6
LD3 61.97 78.95 330 61-23RGBC/TR8 PLCC6
LD4 49.93 81.18 0 61-23RGBC/TR8 PLCC6
LD5 38.31 78.88 30 61-23RGBC/TR8 PLCC6
R1 76.05 87.15 147 R1206
R2 24.00 87.15 215 R1206
R3 7.10 35.45 290 R1206
R4 50.30 4.65 2 R1206
Now we take that each of these components is different and that is a feeder to another place, and the program runs to the sea every time you pick up a component on this line at the second position .
Something like this :
feeder 1 / feeder 2 / feeder 3 / feeder 4 / ........ feeder 30 /
http://makezine.com/2012/05/20/diy-pick-and-place/You can see how that look on that web page :