(PROBEOPEN /home/gene//emc2/nc_files/floor-plate-scan.txt) (the X range) #1=0 #2=3.53 (the universal scan increments) #3=0.010 #4=-0.010 (the Y range) #5=0.510 #6=-0.500 (instant position vars are y=#7 & x=#8) (subroutine scan from front to back) O100 sub #37 = #6 O101 while [#37 le #5] g1 f15 y#37 g38.2 f3.5 z-0.250 g0 z0 #37 = [#37 + #3] O101 endwhile O100 endsub O200 sub #38 = #1 O201 while [#38 lt #2] g1 f15 x#38 O100 call [#1] [#2] [#3] [#4] [#5] [#6] #38 = [#38 + #3] g1 f15 x#38 O201 endwhile O200 endsub (start of program) g1 f10 x#1 y#6 z0.0 O200 call [#1] [#2] [#3] [#4] [#5] [#6] (PROBECLOSE) M2