761
Mach4 General Discussion / Re: Lua Gcode calls and screenLoadScript sigLib communication help...
« on: May 28, 2015, 04:50:14 AM »
you can use fanuc macro b as well most of them work like this one I have tried it worked fine, disclaimer use at own risk
G49 (Cancel TLO)
G58 (Switch to work offset G58)
G0 X0 Y0 (move the tool over the toolsetter)
G31 Z-10 F150 (probe tool down till it touches the toolsetter)
G10 L1 P1 Z#2002 (set the tool length offset value to the G58 Z position where the probe tripped)
G0 Z5 (move up to safe distance)
G54 (reapply old work offset coordinate system)
G43 H1 (apply new TLO for tool 1)
if I have time I might try your one
G49 (Cancel TLO)
G58 (Switch to work offset G58)
G0 X0 Y0 (move the tool over the toolsetter)
G31 Z-10 F150 (probe tool down till it touches the toolsetter)
G10 L1 P1 Z#2002 (set the tool length offset value to the G58 Z position where the probe tripped)
G0 Z5 (move up to safe distance)
G54 (reapply old work offset coordinate system)
G43 H1 (apply new TLO for tool 1)
if I have time I might try your one