On 11/20/2020 07:40 AM, Gene Heskett wrote:
Greetings all;
I am rewriting my holefinder routine. I would like to know if a G10 L2
axis's R P1 is exactly the same as doing a touch off by mouse for system
G54? Except for the added R of course.
On the 6040, I have also worked out a 2 pins in parallel method to use
either an electrical touch probe, or that bit of plastic crap that sells
for $70 they sell on fleabay for an edge finder. Both hooked up at the
same time.
Here is a probing routine I wrote for my Blum touch probe.
It does a double touch in each direction, first a fast touch
and then a slower one for best accuracy
(the 2nd touch is so fast you can't even see it), then it
reports the center and width in both X and Y, and moves to
the center of the hole, and goes a G10 L20 to zero out the X
and Y coordinates there.
The 0.1526 is the radius of the probe ball corrected for the
deflection of the probe it requires to trigger it.
g91 g1 F10 X-0.05
g91 G38.2 X0.5
G91 G1 F1 X-0.02
g91 G38.2 X0.1
#1001=#5061
g91 g1 f10 X-0.05
g91 G38.2 X-1.0
G91 G1 F1 X0.02
g91 G38.2 X-0.1
#1002=#5061
#1003=[[#1001+#1002]/2]
#1001=[#1001-#1002+0.1526]
(debug,X center #1003)
(debug,X width #1001)
G90 G1 F10 X#1003
g91 g1 F10 Y-0.05
g91 G38.2 Y0.5
G91 G1 F1 Y-0.02
g91 G38.2 Y0.1
#1004=#5062
g91 g1 f10 Y-0.05
g91 G38.2 Y-1.0
G91 G1 F1 Y0.02
g91 G38.2 Y-0.1
#1005=#5062
#1006=[[#1004+#1005]/2]
#1004=[#1004-#1005+0.1526]
(debug,Y center #1006)
(debug,Y width #1004)
G90 G1 F10 Y#1006
G10 L20 P1 X0 Y0
M02
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users