Here's a routine I use that probes the "lower left" corner
of a part.
So, the probe is on the -X -Y corner.
It backs away a little in -X and then quickly probes in the
+X direction,
then backs off and repeats at a much slower speed, and then
sets #1001
to the offset between the probed position and the radius of
the probe tip.
It then repositions past the corner and does the same
routine for the Y axis.
Then it raises Z and goes to the calculated coordinates
(right over the corner)
and then sets that as X0 Y0. The second probe at lower
speed can't even be
seen, it happens so fast. But, it is needed to get
consistent coordinates, as the
probe signal is only sampled at the servo period on my system.
This has worked very well, and I have a bunch of routines to
probe the 4 external
corners and the 4 internal corners, plus one to pick up the
center of a hole.
(probe LOWER LEFT)
g91 g1 F10 Y0.2 X-0.05
g91 G38.2 X0.5
G91 G1 F10 X-0.02
g91 G38.2 F1 X0.1
#1001=[#5061+.0763]
G91 G1 F10 X-.1
G91 Y-.4
G91 X0.4
g91 G38.2 Y+0.5
G91 G1 F11 Y-0.02
g91 G38.2 F1 Y0.1
#1002=[#5062+.0763]
(debug,X,Y #1001 #1002)
G91 G01 F10 Z.3
G90 G01 F10 X#1001 Y#1002
G10 L20 P1 X0 y0
M02
Jon
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers