1371
General Mach Discussion / Re: Tool Offset Macro...
« on: August 16, 2016, 02:16:09 PM »
Upgrade done, nice and easy too
Now running .062
Now running .062
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Code "F" & FirstProbeFeed ' Set feedrate to 10 ipm or 300mm/min
Code "(Probing for Z Zero.....)" ' Puts this message in the status bar
ZNew = (GetOEMDro(802) - FirstProbeDist ) ' Probe move to current Z - 6 inches
Code "G90 G31 Z" & Znew
While IsMoving() ' Wait for probe move to finish
Wend
ZNew = GetVar(2002) ' Read the touch point
Code "G0 Z" & ( ZNew + FirstRetractDist ) ' Move up .05 inch or 1mm in case of overshoot