On 11/17/2013 12:42 PM, Philipp Burch wrote:
> Hello everyone,
>
> for some time now, I'm using LinuxCNC to control a dispenser to treat
> PCB panels (applying glue or globtop to electronic dies). Because not
> all of these panels are exactly aligned in the machine, a webcam sits on
> the Z joint using which I can get the real positions of fiducial marks
> on the panels. A python script then calculates a coordinate system
> offset and rotation from those positions and applies it to one of the
> G5x coordinate systems. This works OK.

I would tend to not change the machine coordinate system or the 
kinematics. I see the problem more as not knowing where the target is 
rather than how to get to the target. One method might be to have a 
fixture with accurate key points. The PCB is mounted to the fixture then 
scanned to fix the target points relative to the key points. A g-code 
file is then created with the new target set, the fixture is mounted to 
the dispensing machine and the new g-code file run, repeat as needed.

Or, use g-code moves to get the camera close to a target, invoke a scan 
routine to find the target (x, y, rotation), then g-code to dispense, 
repeat for all targets.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to