Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-18 Thread Bertho Stultiens
On 11/18/2013 08:09 AM, Gregg Eshelman wrote: Could the vision system do realtime tracking and position error correction, continuously comparing the board to an accurate image? That is how pick-and-place machines work. They adapt to what they see. Integrating this into the g-code backend may

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-18 Thread Philipp Burch
Hi Florian, Andy, Gregg and Bertho! On 11/17/2013 10:29 PM, Florian Rist wrote: I'm not sure if it's a good idea, but I think you could do it by modifying the kinematic module. I once added a non-linear compensation to the trivkins kinematics to compensate for a deformed machine frame. It

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-18 Thread Bertho Stultiens
On 11/18/2013 03:43 PM, Philipp Burch wrote: Integrating this into the g-code backend may prove to be difficult and it is probaby easier to create a feedback-loop in the generation of the movements/g-code. Probably this is indeed the way to go. Creating a G-Code template for exactly one part

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-18 Thread andy pugh
On 18 November 2013 14:43, Philipp Burch p...@hb9etc.ch wrote: In fact, this is what I've done already. I made a new kins module (named tfkins), to which I can pass the nine elements of the transform matrix at module load time. It is in use for the mentioned machine with the misaligned joints.

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-18 Thread Philipp Burch
Hi Andy! On 11/18/2013 04:24 PM, andy pugh wrote: On 18 November 2013 14:43, Philipp Burch p...@hb9etc.ch wrote: In fact, this is what I've done already. I made a new kins module (named tfkins), to which I can pass the nine elements of the transform matrix at module load time. It is in use

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-18 Thread Kirk Wallace
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

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-18 Thread Philipp Burch
Hi Bertho! On 11/18/2013 04:04 PM, Bertho Stultiens wrote: On 11/18/2013 03:43 PM, Philipp Burch wrote: Integrating this into the g-code backend may prove to be difficult and it is probaby easier to create a feedback-loop in the generation of the movements/g-code. Probably this is indeed the

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-18 Thread Jon Elson
Gregg Eshelman wrote: 'Course the easiest fix would be to get the boards made to a higher standard and use a mechanical alignment jig so the system doesn't have to compensate for errors. You can't trust the outer dimensions of the board to match the traces. They are done on different

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-18 Thread Marius Liebenberg
Why dont you consider doing what we do with the Z axis on plasma machines. I am also looking at doing a PnP machine in the new year and this will be my approach. When we get a M3 in the gcode of a plasma job, we store the current Z position and then go through a whole process of probing the

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-18 Thread Philipp Burch
Hi Marius! On 11/18/2013 06:35 PM, Marius Liebenberg wrote: Why dont you consider doing what we do with the Z axis on plasma machines. I am also looking at doing a PnP machine in the new year and this will be my approach. When we get a M3 in the gcode of a plasma job, we store the current Z

[Emc-users] More flexible handling for coordinate systems?

2013-11-17 Thread Philipp Burch
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

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-17 Thread Florian Rist
Hi Philipp, I'm not sure if it's a good idea, but I think you could do it by modifying the kinematic module. I once added a non-linear compensation to the trivkins kinematics to compensate for a deformed machine frame. It worked quit well and was easy to do, but unlike yours my compensation

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-17 Thread andy pugh
On 17 November 2013 20:42, Philipp Burch p...@hb9etc.ch wrote: Please give me some advice about what I could or should do. I have no problems with modifying the code if necessary, but I don't really know where a good place for this would be. Without thinking too hard about the practicalities,

Re: [Emc-users] More flexible handling for coordinate systems?

2013-11-17 Thread Gregg Eshelman
On 11/17/2013 1: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