( Rectangular Probing ) ( ) ( This program repeatedly probes in a regular XY grid and writes the ) ( probed location to the file 'probebuddy.tmp' in the same directory ) ( as the .ini file ) (Configuration section) G20 (Inches) F#2000 (probe speed) (#2001=0 X start) (#2002=.25 X increment) (#2003=13 X stop) (#2004=0 Y start) (#2005=.25 Y increment) (#2006=5 Y stop) (#2007=.1 Z safety) (#2008=-.5 Z probe) (End configuration section) (PROBEOPEN probebuddy.tmp) #9=0 #10=0 (9 ycount 10 xcount) G0Z#2007 O1 while [#9 lt #2006] #10=0 G0 Y[#2004+#2005*#9] O2 while [#10 lt #2003] O3 if [[#9/2] - fix[#9/2] eq 0] G0X[#2001+#2002*#10] O3 else G0X[#2001+#2002*[#2003-#10-1]] O3 endif G38.2Z#2008 G0Z#2007 #10=[#10+1] O2 endwhile #9=[#9+1] O1 endwhile (PROBECLOSE) G0Z#2007 G0X#2001Y#2004 M2