What's new
What's new

Probing feature-to-feature angle issue Update

teachme

Aluminum
Joined
Apr 13, 2020
We've ruled out some variables that may be causing the failure. We're assuming the issue has to do with probing/reading xyz coordinates.
The program does work without applying a probing/rotation cycle.

If you see and potential issues in the code, if you could please point it out.

The error 304 is happening on this line:
N235 G18 G2 X-3.7632 Z-0.0197 I0.05 K0.

(This is the initial lead in radius, in the facing operation)

(Probe WCS2)
N25 T30 M6
(Stock Haas Probe)
N30 G54
N35 G0 X0. Y0.
N40 G43 Z6.1024 H30
N45 T6
N50 G65 P9832
N55 G65 P9810 Z0.1969 F39.37
N60 G65 P9810 Z-0.3208
N65 G65 P9814 D1.063 Q0.3937 S1.
N70 G54
N75 G65 P9814 D1.063
N80 #100=#185
N85 #101=#186
N90 G65 P9810 Z0.1969
N95 G0 Z6.1024
N100 G65 P9833

(Probe WCS2 2)
N105 G1 X14.3622 Y0. F500.
N110 G65 P9832
N115 G0 Z6.1024
N120 G65 P9810 Z0.1969 F39.37
N125 G65 P9810 Z-0.3208
N130 G65 P9814 D1.063 Q0.3937
N135 #102=#185
N140 #103=#186
N145 G53
N150 #189=ATAN[#103-#101]/[#102-#100]
N155 G65 P9810 Z0.1969
N160 G0 Z6.1024
N165 G65 P9833
N170 M5
N175 G53 G0 Z0.
N180 G68 X#100 Y#101 R#189
 
We've ruled out some variables that may be causing the failure. We're assuming the issue has to do with probing/reading xyz coordinates.
The program does work without applying a probing/rotation cycle.

If you see and potential issues in the code, if you could please point it out.

The error 304 is happening on this line:
N235 G18 G2 X-3.7632 Z-0.0197 I0.05 K0.

(This is the initial lead in radius, in the facing operation)

(Probe WCS2)
N25 T30 M6
(Stock Haas Probe)
N30 G54
N35 G0 X0. Y0.
N40 G43 Z6.1024 H30
N45 T6
N50 G65 P9832
N55 G65 P9810 Z0.1969 F39.37
N60 G65 P9810 Z-0.3208
N65 G65 P9814 D1.063 Q0.3937 S1.
N70 G54
N75 G65 P9814 D1.063
N80 #100=#185
N85 #101=#186
N90 G65 P9810 Z0.1969
N95 G0 Z6.1024
N100 G65 P9833

(Probe WCS2 2)
N105 G1 X14.3622 Y0. F500.
N110 G65 P9832
N115 G0 Z6.1024
N120 G65 P9810 Z0.1969 F39.37
N125 G65 P9810 Z-0.3208
N130 G65 P9814 D1.063 Q0.3937
N135 #102=#185
N140 #103=#186
N145 G53
N150 #189=ATAN[#103-#101]/[#102-#100]
N155 G65 P9810 Z0.1969
N160 G0 Z6.1024
N165 G65 P9833
N170 M5
N175 G53 G0 Z0.
N180 G68 X#100 Y#101 R#189

Probing looks just fine. Probably coordinate rotation is causing the problem. As the machine performs OK without probing/rotation, apply just G68 command for small arbitrary angle (.2 deg for example) and run the arc command. This way you will isolate the rotation impact from probing impact.
 
Probing looks just fine. Probably coordinate rotation is causing the problem. As the machine performs OK without probing/rotation, apply just G68 command for small arbitrary angle (.2 deg for example) and run the arc command. This way you will isolate the rotation impact from probing impact.

Thanks PROBE!
We tried just running the G68 command, less than 0.5 degrees, but have the same error.
I believe it has to do with rotating the ZX radius plane
 
You may be right, in the post I set the radius to use R instead of IJK, which worked.
However this isn't a permanent solution.
Is there a way to get around this limitation on a Haas?
 
We've ruled out some variables that may be causing the failure. We're assuming the issue has to do with probing/reading xyz coordinates.
The program does work without applying a probing/rotation cycle.

If you see and potential issues in the code, if you could please point it out.

The error 304 is happening on this line:
N235 G18 G2 X-3.7632 Z-0.0197 I0.05 K0.

(This is the initial lead in radius, in the facing operation)

(Probe WCS2)
N25 T30 M6
(Stock Haas Probe)
N30 G54
N35 G0 X0. Y0.
N40 G43 Z6.1024 H30
N45 T6
N50 G65 P9832
N55 G65 P9810 Z0.1969 F39.37
N60 G65 P9810 Z-0.3208
N65 G65 P9814 D1.063 Q0.3937 S1.
N70 G54
N75 G65 P9814 D1.063
N80 #100=#185
N85 #101=#186
N90 G65 P9810 Z0.1969
N95 G0 Z6.1024
N100 G65 P9833

(Probe WCS2 2)
N105 G1 X14.3622 Y0. F500.
N110 G65 P9832
N115 G0 Z6.1024
N120 G65 P9810 Z0.1969 F39.37
N125 G65 P9810 Z-0.3208
N130 G65 P9814 D1.063 Q0.3937
N135 #102=#185
N140 #103=#186
N145 G53
N150 #189=ATAN[#103-#101]/[#102-#100]
N155 G65 P9810 Z0.1969
N160 G0 Z6.1024
N165 G65 P9833
N170 M5
N175 G53 G0 Z0.
N180 G68 X#100 Y#101 R#189


Instead of rotating the coordinates, I would try helical interpolation. Not enough information (X starting point of the arc)is given. Nevertheless, once you calculated the angle, calculate the difference between Y at X starting point of arc and Y at X end point of the arc. Store as #104. Then perform:
G18 G2 X-3.7632 Z-0.0197 Y#104 I0.05 K0.

1.
 








 
Back
Top