On Thursday 28 November 2013 06:13:27 Frederic Rible did opine:

> On Wed, 27 Nov 2013 21:14:58 -0500, Gene Heskett <[email protected]>
> 
> wrote:
> > So, the next question is, what file do I put that offset pair into,
> > and what buttons do I click to tell LinuxCNC to reference those
> > offsets when
> > 
> > setting up to "etch" the top of a board?
> 
> Hello Gene,
> You need to set the offset in the tool table, tool #99.
> I have used the following procedure :
> - drill a very small hole with a V-carve tool in your spindle, 0.1mm
> depth - set X/Y zero on the DRO (this is the reference hole position) -
> now, move your table to center the camera on the hole
> - store the DRO X/Y reading in the tool #99
> - reload the tool table
> - move back to X=0 Y=0 (so your spindle is now back on the hole)
> - now, if you check the G43H99 checkbox, the table should move and the
> camera should be perfectly centered on the hole and you still read X=0
> Y=0 on the DRO
> - uncheck G43H99, now the spindle should move were the camera was
> pointing, and should should read again X=0 Y=0

That sounds easy enough.  Thanks.
> 
> Now, your setup is ok.
> The procedure to set the zero for a new workpiece is:
> - check G43H99
> - move your table to point your camera to the needed zero
> - set DRO to 0/0
> - uncheck G433H99
> - the spindle should now be at the needed zero position
> 
> Be careful with the nc file associated to G43H99: it does not move the
> spindle up, so you may experience collision if it is to low. I have
> modified the nc file to move up to top position before any X/Y motion.

And just to maintain camera focus, should not restore it to the starting 
height at the end of that motion?  This camera does however seem to be 
autofocus over about a 1.5" range of vertical motion though, and apparently 
without any xy movement as it does this.
 
> > Do  also need to drill a 2nd hole and similarly record its location,
> > but
> > 
> > against the first set of data so as to facilitate the auto correction
> > of
> > 
> > any rotation of the workpiece about the Z axis?
> 
> There is a Z rotation compensation feature in LinuxCNC, but I do not
> know how to use it.

Reading some of the code, as in camstore.ngc in particular, it appears that 
IF this is the code executed when the "Store XYZ" button is clicked, which 
we can apparently do 4 times after measuring the holes from both sides, it 
appears that it builds up a record array, 2 by 4, that can then be used to 
calculate the required corrections.  I am thinking this then works with the 
align buttons on the right to achieve this.  Since there aren't any docs 
for this, I guess its up to us to decipher it, using the code for the 
documentation.

> On my side I use the camera to align the workpiece along X axis: I point
> my camera on a corner of the stock, then move along X and check if the
> camera center follows the edge. Then adjust the stock if I see
> deviation, and recheck. The workpiece is aligned in 2 or 3 iterations.

My previous method involved milling a fin about 50 thou high on the back of 
the micarta pallet so that it fits the slot in the table with a slight 
friction fit, then the pocket to hold the board was milled in the top of 
the pallet. Can't rotate that way, and the pocket stays aligned with the 
motions.  But the location pipe contact install in the corner of the 
pallet, and its use, is a bunch of tool changing that is a PIMA on this toy 
mill.  It adds at least half an hour to the production time of a 1.5 x 1.1" 
pcb. Takes a long day just to make a new pallet when the board size changes 
by 5 thou.  Your way may in terms of time, been the better method. ;-)

> Frederic.
> 
> 
> ------------------------------------------------------------------------
> ------ Rapidly troubleshoot problems before they affect your business.
> Most IT organizations don't have a clear picture of how application
> performance affects their revenue. With AppDynamics, you get 100%
> visibility into your Java,.NET, & PHP application. Start your 15-day
> FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.cl
> ktrk _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

<stu> Stupid nick highlighting
<stu> Whenever someone starts with "stupid" it highlights the nick.  Hmm.
                -- #Debian
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to