What's new
What's new

PROBE BOSS TO SLOT TROUBLESHOOTING

smartcolombyan

Plastic
Joined
Dec 24, 2020
I have this part with a pentagon flange with slots on the corners in a HAAS VF3YT. I was hoping to use the G68 probe feature to feature to probe the center and the slot to calculate the deviation angle for repeatability when placing a new part. All I"m doing is adding a tapped hole clocked to the centerline on the frontmost center slot at a specific radius from center.

pentagon flange.PNG pentagon flange 2.jpg

(PROBE BOSS + PROBE SLOT)
Here is the code I was trying to use:
%
O01543
T30 M06
G90 G40 G00 G54 X0. Y0.
G43 H30 Z3.
G65 P9832 (PROBE ON)
G65 P9810 Z3. F100. (PROTECTED MOVE)
(PROBE BOSS)
(W54.=G54)
(A11.=PROBE BOSS)
(D=DIA OF BOSS)
(E= INCREMENT Z MOVE Z- ??)
G65 P9995 W54. A11. D10.5 E-3.196
G65 P9832 (PROBE ON)
G65 P9810 Z3. (PROTECTED MOVE)

G54 X0. Y0.
G65 P9810 Y-6.5 (PROTECTED MOVE)
G65 P9810 Z-0.625 (PROTECTED MOVE)
(#180= 0. <STORE X=0?)
(#181= 0. <STORE Y=0?)
G65 P9812 X0.85 (X= SLOT WIDTH)
#185= -6.5 (LOAD DISTANCE BETWEEN BORE AND SLOT?)
G65 P9834 X0. Y-6.5 (CALCULATE ANGLE)

G65 P9810 Z4. (PROTECTED MOVE)
G65 P9833 (PROBE OFF)
G28 G91 Z0.
M01


From running the code, it probes the boss and slot correctly but on the "G65 P9834 X0. Y-6.5 (CALCULATE ANGLE)" I get an error: "1091 Data #180-#189 Missing". I don't think I have to add initial values in the parameters as these are populated during probing, I believe, but I experimented with adding initial values and no luck.

I'm still stuck on why it won't work, in the meantime I can manually alight the parts with the rear horizontal flange, which is a pain, but would be nice to get this code to work because I think we're close.

- Thanks in advance.
 
After you probe the 1st feature, you need to put "G65 P9834" with no arguments to store the data for it so it has something to compare to:

1693400980426.png
 
I have this part with a pentagon flange with slots on the corners in a HAAS VF3YT. I was hoping to use the G68 probe feature to feature to probe the center and the slot to calculate the deviation angle for repeatability when placing a new part. All I"m doing is adding a tapped hole clocked to the centerline on the frontmost center slot at a specific radius from center.

View attachment 406987 View attachment 406988

(PROBE BOSS + PROBE SLOT)
Here is the code I was trying to use:
%
O01543
T30 M06
G90 G40 G00 G54 X0. Y0.
G43 H30 Z3.
G65 P9832 (PROBE ON)
G65 P9810 Z3. F100. (PROTECTED MOVE)
(PROBE BOSS)
(W54.=G54)
(A11.=PROBE BOSS)
(D=DIA OF BOSS)
(E= INCREMENT Z MOVE Z- ??)
G65 P9995 W54. A11. D10.5 E-3.196
G65 P9832 (PROBE ON)
G65 P9810 Z3. (PROTECTED MOVE)

G54 X0. Y0.
G65 P9810 Y-6.5 (PROTECTED MOVE)
G65 P9810 Z-0.625 (PROTECTED MOVE)
(#180= 0. <STORE X=0?)
(#181= 0. <STORE Y=0?)
G65 P9812 X0.85 (X= SLOT WIDTH)
#185= -6.5 (LOAD DISTANCE BETWEEN BORE AND SLOT?)
G65 P9834 X0. Y-6.5 (CALCULATE ANGLE)
G65 P9810 Z4. (PROTECTED MOVE)
G65 P9833 (PROBE OFF)
G28 G91 Z0.
M01


From running the code, it probes the boss and slot correctly but on the "G65 P9834 X0. Y-6.5 (CALCULATE ANGLE)" I get an error: "1091 Data #180-#189 Missing". I don't think I have to add initial values in the parameters as these are populated during probing, I believe, but I experimented with adding initial values and no luck.

I'm still stuck on why it won't work, in the meantime I can manually alight the parts with the rear horizontal flange, which is a pain, but would be nice to get this code to work because I think we're close.

- Thanks in advance.
Like this? :

%
O01543
T30 M06
G90 G40 G00 G54 X0. Y0.
G43 H30 Z3.
G65 P9832 (PROBE ON)
G65 P9810 Z3. F100. (PROTECTED MOVE)
(PROBE BOSS)
(W54.=G54)
(A11.=PROBE BOSS)
(D=DIA OF BOSS)
(E= INCREMENT Z MOVE Z- ??)
G65 P9995 W54. A11. D10.5 E-3.196
G65 P9832 (PROBE ON)
G65 P9810 Z3. (PROTECTED MOVE)

G65 P9834 (STORE DATA)

G54 X0. Y0.
G65 P9810 Y-6.5 (PROTECTED MOVE)
G65 P9810 Z-0.625 (PROTECTED MOVE)
(#180= 0. <STORE X=0?)
(#181= 0. <STORE Y=0?)
G65 P9812 X0.85 (X= SLOT WIDTH)
#185= -6.5 (LOAD DISTANCE BETWEEN BORE AND SLOT?)
G65 P9834 X0. Y-6.5 (CALCULATE ANGLE)
G65 P9810 Z4. (PROTECTED MOVE)
G65 P9833 (PROBE OFF)
G28 G91 Z0.
M01
 
No right after you measure the boss. I'm not familiar with Haas cycles, I assume 9995 is the same as a 9814 for measuring a round feature.
 
I've recently done exactly this. I'm a Blum user and I couldn't be bothered to try and understand the manual pages to do more esoteric stuff. Computing an angle between two points is really quite straight forward... In my case the centre was quite constrained so I only needed to measure the second point.. After that it's two vectors and you are there!

See here

I'm not at a computer at the moment but I'm happy to share my macro

Also if you are a Fusion user, check my GitHub. I've added a feature to the Brother post to add a way to manually turn on coordinate rotation. You just use your custom macro to compute the angle, leave it in the normal register and then Fusion will turn on rotation as normal. It would be trivial to grab that change and apply to your Haas post.

Send me a DM if you want more detail
 








 
Back
Top