Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Fanuc G81 Drilling cycle

Status
Not open for further replies.

woodwood

Automotive
Feb 29, 2012
14
0
0
GB
Hi all,

Just a couple of quick questions about drilling cycles.
Firstly, is it ok to change datum offset during the cycle? See below, using G57, G58 & G59:

G90 G57 G0 X-8.573 Y4.95 S3262
G43 Z50. H127 M8
G99 G82 R1. Z-1.55 F15. P500
G58 X-4.95 Y-8.574
G59 X8.574 Y-4.95
G0 Z50.

Secondly, am I right in thinking that I can drill different holes to different depths? See below with each hole having a different Z depth:


G43 H200 Z150. M8
M82
(-HOLE-1-)
G81 R5.0 Z-11.4 G99 F50
(-HOLE-2-)
X-4.950 Y-8.574 Z-6.4
(-HOLE-3-)
X8.574 Y-4.95 Z-6.5 G98
G0 Z150. G80


Thanks.
 
Replies continue below

Recommended for you

You have to look in your controller guide to see if your specific controller treats those canned cycles as modal or non-modal. Some things you cannot change mid-cycle.



It is better to have enough ideas for some of them to be wrong, than to be always right by having no ideas at all.
 
Canned drilling cycles are generally modal, meaning that you cannot change depths and datum points within the cycle. However, it is a simple matter to cancel out the cycle, re-establish datum, re-initiate a new drill cycle, call out new depths, and continue on. It only adds a few blocks of code if programming manually. If using CAM, it's a moot point.
I'm not familiar with the M10, but you could dry run your code to see if it would work, although I have my doubts.



It is better to have enough ideas for some of them to be wrong, than to be always right by having no ideas at all.
 
Status
Not open for further replies.
Back
Top