7951
General Mach Discussion / Re: Auto Tool Zero for XY&Z?
« on: June 24, 2010, 02:56:29 PM »
Hi,
I was interested to find out if the G31 would halt movement of other axis rather than just the Z and yes it does. This is what I tried.
The GetVar() relates to the axis position DRO at the point of touch but as you seem to be centering within a ring the actual position is not relevant as long as you zero the DROs when done you have effectively zeroed the machine to a (presume cross hair) defined point.
You still need to do a bit of work on your script but you are nearly there.
Tweakie
I was interested to find out if the G31 would halt movement of other axis rather than just the Z and yes it does. This is what I tried.
The GetVar() relates to the axis position DRO at the point of touch but as you seem to be centering within a ring the actual position is not relevant as long as you zero the DROs when done you have effectively zeroed the machine to a (presume cross hair) defined point.
You still need to do a bit of work on your script but you are nearly there.
Tweakie