Thats where I saw it!  Sure it's not a fancy automated function implemented as 
a "feature" in EMC but the variables are there to make it possible.  Thanks for 
the link Chris - my machine is covered with some tarps right now and the dual 
boot system is in Billy Goat mode crunching away at video 
recording/compression/burn cycle so it would have taken some time for me to 
find it in the samples.

Snoopy - I hope that helps and makes sense to you - all it is doing is taking 
the value that is probed at the start (and each successive time) and using that 
as an add/subtract to calculate the new offset to find the new Z zero and allow 
you to move onto the next cutting operation with the correct tool length set.  
Read the documentation about variables and I think you'll understand what his 
code is doing.  You'd need to insert that manually into any G-code you generate 
(I believe Cambam (what I use) lets you add G code routines into the MOP tree 
so saving the code for insertion whenever you start a new operation with a 
different tool should be fairly easy - otherwise there's always the text 
editors (see the other threads that have sprung up recently about those...)).

Greg
www.distinctperspectives.com

  ----- Original Message ----- 
  From: Chris Radek 
  To: Enhanced Machine Controller (EMC) 
  Sent: Wednesday, August 13, 2008 8:01 AM
  Subject: Re: [Emc-users] R: New user new problem


  On Wed, Aug 13, 2008 at 10:33:00AM +0200, snoopy wrote:
  > 
  > Whit a collet I can do the change correctly, but I?m more happy if I
  > find an automatically zero tool procedure whit a switch/probe.

  http://cvs.linuxcnc.org/cvs/emc2/nc_files/tool-length-probe.ngc?rev=1.4

  This Gcode program shows how I do that.  This sample file is also in
  the EMC2 distribution.


  -------------------------------------------------------------------------
  This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
  Build the coolest Linux based applications with Moblin SDK & win great prizes
  Grand prize is a trip for two to an Open Source event anywhere in the world
  http://moblin-contest.org/redirect.php?banner_id=100&url=/
  _______________________________________________
  Emc-users mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/emc-users


  No virus found in this incoming message.
  Checked by AVG - http://www.avg.com 
  Version: 8.0.138 / Virus Database: 270.6.1/1608 - Release Date: 8/12/2008 
4:59 PM


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to