Manual positioning is prone to human error. A dedicated script allows your machine to:
Are you using a or an active electronic probe ? mach3 probe script download
'Mach3 Auto Tool Zero Script Message( "Auto Zeroing..." ) If IsMoving() Then Message( "Error: Machine is moving!" ) Else ZOffset = 10.00 '--- CHANGE THIS to your touch plate thickness --- ZMax = 50 '--- Max distance to travel before failing --- ZFeed = 100 '--- Probing feed rate --- Code "G31 Z-" & ZMax & " F" & ZFeed While IsMoving() Wend ZProbePos = GetVar(2002) Code "G0 Z" & ZProbePos While IsMoving() Wend Call SetDro(2, ZOffset) Code "G4 P0.5" 'Pause for half a second Code "G0 Z20" 'Retract to 20mm above the plate Message( "Z-Axis is now Zeroed." ) End If Use code with caution. How to Install Your Downloaded Script Manual positioning is prone to human error
A legendary paid upgrade for Mach3 that includes advanced probing routines. How to Install Your Downloaded Script A legendary
This is the most common script used for a simple Z-axis touch plate. You can copy this code directly into your Mach3 "Hidden Script" button.
Ensure your machine is under control but not moving. Operator Menu: Go to "Operator" > "Edit Button Script."
A popular free set of scripts for edge finding and center finding.