351
Mach4 General Discussion / Re: Creating a Probe File
« on: May 19, 2014, 04:24:23 PM »have no idea what your referring too
here is a snippet of the probing code
you sure your not sniffin flux?
that code you posted has to do with reading and writing to registers.
that's what I used for the wizzard I created
I think I kind of mixed you up when I answered Gerrys question when it really had nothing to do with the probing routine. Sorry
g61
#98 = 50 (rough probe speed)
#97 = 5 (fine probe speed)
g91
g01 z0.0
g31 y-1 f#98
g01 y.1
g31 y-.2 f#97 (Get the -Y Pos)
#102 = #5062
g0 y.1
g31 y2 f#98
g01 y-.1
g31 y.2 f#97 (Get the +Y Pos)
#103 = #5062
#104 = [#102 + [#103-#102]/2]
g90 g0 Y#104