A simple guide on how to use a simple VB Script in Mach3 to find the top af a surface. Instructions can be found her: http://www.instructables.com/id/Mach3-Zero-Probe-Tool/
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.