Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Drill Cycle Rapid not going to safe height

markY6RWE
Enthusiast

Drill Cycle Rapid not going to safe height

markY6RWE
Enthusiast
Enthusiast

Using a wincnc Post for a Shop Sabre

The drill cycle is not returning to a safe rapid Z height

I don't understand the drill cycle code that is being generated

The simulation is fine but the rapid to the second hole Z is at -.55

Generated G code is below.

 

 

markY6RWE_0-1662873868834.png

[1001]
[Machine]
[ vendor: Autodesk]
[ model: 404]
[ description: ShopSabre]
[T6 D=0.0625 CR=0. TAPER=118deg - ZMIN=-0.9 - drill]
G90
G20
G53
[Drill2]
T6
S5000
M3
M37 H6
G0 X0.75 Y0.75
G43 Z0.6
Z0.2
G81 X0.75 Y0.75 Z-0.9 R-0.55 F40
X2.25
G80
Z0.6
M5
G53
G28

0 Likes
Reply
Accepted solutions (1)
239 Views
6 Replies
Replies (6)

markY6RWE
Enthusiast
Enthusiast

Here is the file.

0 Likes

markY6RWE
Enthusiast
Enthusiast

Here is the file

0 Likes

markY6RWE
Enthusiast
Enthusiast

Here is the problem, The XY position is being executed before the safe height has been reached. This video shows the problem. The larger holes that would be routed out is not in the video just the drilling. So the holes are lower than the top of the stock. How can I have the drill cycle go up to rapid safe height before X or Y are executed? Link https://youtube.com/shorts/nVvhmkgqBYE

 

If I manually change the code in each line for the R value to 0.2 instead of the negative number it fixes it. The reason the numbers are different for R is the holes start at various heights below the surface of the part. There must be a setting somewhere to fix this.

 

0 Likes

markY6RWE
Enthusiast
Enthusiast

markY6RWE_0-1662929905501.png

This is the test file I ran with the various drill hole heights starting points.

0 Likes

Arun.rs
Autodesk
Autodesk

HI @markY6RWE 

 

I could not find your project in this thread, anyway I can replicate the nc output with my project and it is intended.

 

'R' in drilling cycle is retract plane - default is the last Z point before G81/83... is activated. So in your case the drill is inside a bore so the last Z or 'R' plane will be a negative value. If the machine is causing any collision with this behavior then you can adjust the 'Top Height' as below.

Drill.png

 

or you can add G98 code before drilling cycle - G98 G81 X60. Y-30. Z-35. R5.475 F333.3 . G98 Drill will return to the Initial level, but I am not sure the G98 code will accept to Shop Sabre. So try the NC code with care.

 

Regards

 

 

 



Arun.RS
Technical Consultant - Post Processor
0 Likes

markY6RWE
Enthusiast
Enthusiast
Accepted solution

Thank you for the reply, here is another way of skinning the cat I think, i will try it on the machine tonight.

 

By setting the Top height to the Model bottom Edit- should be STOCK BOTTOM Plus the actual stock thickness you get the same retract height on all holes. You also get one G81 line of code if the other variables are the same.

 

markY6RWE_0-1663003090881.png

 

The Hole Top plus offset gives various heights of retract depending on how deep the hole actually starts on the part as the R variable is different for each hole. 

 

markY6RWE_1-1663003643955.png

 

 

1 Like