Hi

A recent thread about the tool number reminded me about my unsolved 
problem I asked some weeks ago on IRC.

So : Can I read the current Z tool position (no matter in what 
coordinates system) in a #parameter ?

I need to read this value from within the gcode to improve my 
mdi-command retract-then-home routine. To make sure the tool is above 
the safe pos or not before homing.
For the moment I do G53 G0 Zsafe_pos then G53 G0 X0Y0Z0 but the problem 
with that is if for some reason used jogged Z up, and Z is already above 
the safe_pos, this produce unwanted/surprizing move DOWN to safe pos 
before homing.

So to make something more "user friendly" I must test if I'm already 
above safe pos or not. So I need the Z value.

Yann (bricofoy on IRC)

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to