Cbyrdtopper
Plastic
- Joined
- Oct 10, 2020
To start out, here is our setup. Using a 03 Haas with classic controls. We put a part on the rotary table and probe for our X Offset on the biggest OD of the part; the position from the 4th axis chuck and the body we are probing varies from part to part. I made a macro that allows the operator to put in the OD of the probed part, the distance from the chuck to the body, and the Machine Position of the 4th axis chuck face.
I'm trying to get a probing routine to work with as few inputs as possible.
The program we use to generate our G Code has everything I need in it so I don't want to add variables to the macro that the operator has to put in.
The code I'm trying to use is the Renishaw 9811 single surface; however, it doesn't work right. It doesn't give me the same position as the probing for X offset inside the Hass probing routine. I'm wanting to start next to the chuck face and then probe over to the part, which could be several inches from the chuck face. I know the 9023 routine wants to start within 0.4" of the part.
This O1111 works as expected using the 9023 from renishaw and making the probe start within 0.4" of the part to be probed.
%
O01111
(Probe X Offset: G54)
G90 G94 G17
G20
G53 G00 Z0.00
M109 P501 (Body Diameter?)
M109 P501 (Chuck Spacing?)
(Variables)
#135= 4.0 (Body Diameter)
#136= -12.45 (4th Axis Machine Position)
#137= 1.525 (Body to Chuck Spacing)
#26= [#135/2] (Z Probe Position)
T30 M6
G54
G00 G53 X[#136-[#137 -0.4]]
G90 G00 Y0.00
G43 H30
G65 P9832
G65 P9810 Z[#26+0.125] F150.
G65 P9810 Z[#26-0.125] F150.
G65 P9023 A6. S54
G65 P9833
G53 G0 Z0.00
M30
%
This O1010 does not work as expected using the 9811 using a Q of (in this case) 6.0"
%
O1010
(Probe X Offset: G54)
G90 G94 G17
G20
G53 G00 Z0.00
M109 P501 (Body Diameter?)
M109 P501 (Chuck Spacing?)
(Variables)
#1= 4.0 (Body Diameter)
#2= 1.525 (Body to Chuck Spacing)
#3= -12.45 (4th Axis Chuck Face Machine Position)
#17 = 6.00 (Probe Overtravel: Q Value)
#23 = 6.0 (Work Offset to Set)
#26= [#1/2] (Z Probe Position)
#24=0 (Reset X Postion)
G103P1
T30 M6
G54
G00 G53 X[#3-[#2 -0.375]]
G90 G00 Y0.00
G43 H30
#24 = [#5041]
G65 P9832
G65 P9810 Z[#26+0.125] F150.
G65 P9810 Z[#26-0.125] F150.
G65 P9811 X#24 Q#17 S#23
G65 P9833
G103
G53 G0 Z0.00
M30
%
Is there something with where the probe starts or the position I have it probing to that changes the outcome of the macro?
Thanks for any input
I'm trying to get a probing routine to work with as few inputs as possible.
The program we use to generate our G Code has everything I need in it so I don't want to add variables to the macro that the operator has to put in.
The code I'm trying to use is the Renishaw 9811 single surface; however, it doesn't work right. It doesn't give me the same position as the probing for X offset inside the Hass probing routine. I'm wanting to start next to the chuck face and then probe over to the part, which could be several inches from the chuck face. I know the 9023 routine wants to start within 0.4" of the part.
This O1111 works as expected using the 9023 from renishaw and making the probe start within 0.4" of the part to be probed.
%
O01111
(Probe X Offset: G54)
G90 G94 G17
G20
G53 G00 Z0.00
M109 P501 (Body Diameter?)
M109 P501 (Chuck Spacing?)
(Variables)
#135= 4.0 (Body Diameter)
#136= -12.45 (4th Axis Machine Position)
#137= 1.525 (Body to Chuck Spacing)
#26= [#135/2] (Z Probe Position)
T30 M6
G54
G00 G53 X[#136-[#137 -0.4]]
G90 G00 Y0.00
G43 H30
G65 P9832
G65 P9810 Z[#26+0.125] F150.
G65 P9810 Z[#26-0.125] F150.
G65 P9023 A6. S54
G65 P9833
G53 G0 Z0.00
M30
%
This O1010 does not work as expected using the 9811 using a Q of (in this case) 6.0"
%
O1010
(Probe X Offset: G54)
G90 G94 G17
G20
G53 G00 Z0.00
M109 P501 (Body Diameter?)
M109 P501 (Chuck Spacing?)
(Variables)
#1= 4.0 (Body Diameter)
#2= 1.525 (Body to Chuck Spacing)
#3= -12.45 (4th Axis Chuck Face Machine Position)
#17 = 6.00 (Probe Overtravel: Q Value)
#23 = 6.0 (Work Offset to Set)
#26= [#1/2] (Z Probe Position)
#24=0 (Reset X Postion)
G103P1
T30 M6
G54
G00 G53 X[#3-[#2 -0.375]]
G90 G00 Y0.00
G43 H30
#24 = [#5041]
G65 P9832
G65 P9810 Z[#26+0.125] F150.
G65 P9810 Z[#26-0.125] F150.
G65 P9811 X#24 Q#17 S#23
G65 P9833
G103
G53 G0 Z0.00
M30
%
Is there something with where the probe starts or the position I have it probing to that changes the outcome of the macro?
Thanks for any input