What's new
What's new

What is wrong with this peck cycle?? (Fanuc 0i - Doosan Lathe)

Ez_DuzIt123

Plastic
Joined
Feb 24, 2019
I have a simple part I am drilling holes in and for some reason it only wants to peck the very first hole in the canned cycle. The rest of the holes all get drilled without any pecking. The only way for me to peck all of the holes was to add a Q value on every line of the canned cycle. Is this right or am I missing something here? Here is the code:

Code:
N3 (TECH MILL HOLE MACHINING)
G0 G17 G40 G80 G97 G98
G54
G0 G28 U0 V0
T1111 (.377 DRILL)
M35
G97 S2000 M3 P12
M8
M90
C0.
Z.1
X-.43218 Y-.44871
G18
G83 Z-.98965 R0 Q3000 F35.
X.43218
X.97109 Y-.11082
X.77875 Y.31052
X0 Y.49803
X-.77875 Y.31052
X-.97109 Y-.11082
G80
 
I have a simple part I am drilling holes in and for some reason it only wants to peck the very first hole in the canned cycle. The rest of the holes all get drilled without any pecking. The only way for me to peck all of the holes was to add a Q value on every line of the canned cycle. Is this right or am I missing something here? Here is the code:

Code:
N3 (TECH MILL HOLE MACHINING)
G0 G17 G40 G80 G97 G98
G54
G0 G28 U0 V0
T1111 (.377 DRILL)
M35
G97 S2000 M3 P12
M8
M90
C0.
Z.1
X-.43218 Y-.44871
G18
G83 Z-.98965 R0 Q3000 F35.
X.43218
X.97109 Y-.11082
X.77875 Y.31052
X0 Y.49803
X-.77875 Y.31052
X-.97109 Y-.11082
G80

I would use M89 Clamp,also, put a "Q3000 M89" on each line.
Putting the "Q" on each line is correct.

I used to be Training Coordinator and Applications Engineer for Doosan. If you'd like the training manuals for the classroom, PM me.
 
I don't know if this would make any difference, but this is what we do:

G83 G98 Z-.98965 R0 Q3000 F35.

Pecks all holes without adding Q on each line.

18mc 0m, 0-mate-m
 
Those are mill control models. He's on a lathe. Makes a difference. Just sayin... :-)


You expect me to be awake at 10 in the morning? Missed the lathe reference. Looked up drilling in my 0T manual and there it is, plain as day, Q on every line. In my defense though, manual also lists G98/G99, with examples.
 
You expect me to be awake at 10 in the morning? Missed the lathe reference. Looked up drilling in my 0T manual and there it is, plain as day, Q on every line. In my defense though, manual also lists G98/G99, with examples.

G98 is IPM mode, G99 is IPR mode on LATHE.
I would avoid doing that.
 
G98 is IPM mode, G99 is IPR mode on LATHE.
I would avoid doing that.


But,,but... but.. my manual, GFZ-61394E/08, shows G98 (RETURN TO INITIAL LEVEL) G99 (RETURN TO POINT R LEVEL) with illustrations.

Okay, system A: G98/G99 IPM/IPR system B & C: G94/G95 IPM/IPR System A doesn't seem to have the ability to handle return to initial/return to R.

Does that make both of us right??
 
But,,but... but.. my manual, GFZ-61394E/08, shows G98 (RETURN TO INITIAL LEVEL) G99 (RETURN TO POINT R LEVEL) with illustrations.

Okay, system A: G98/G99 IPM/IPR system B & C: G94/G95 IPM/IPR System A doesn't seem to have the ability to handle return to initial/return to R.

Does that make both of us right??

In system A, the retraction is up to the R-point or the initial level, depending on a parameter.
 
More information (copied from my book)...

Final retraction after hole machining
There is some difference in the way these cycles are commanded/behave in different G-code systems. The description here refers to system A. System-B and system-C cycles are similar to canned cycles on milling machines, with provision for selection between R-point retraction and initial-level retraction with G99 and G98, respectively. In system A, the final retraction is up to the initial level, if parameter 5161#1 is set to 0 (its default value). When this parameter is set to 1, the final retraction is up to the R-point.
 
But,,but... but.. my manual, GFZ-61394E/08, shows G98 (RETURN TO INITIAL LEVEL) G99 (RETURN TO POINT R LEVEL) with illustrations.

Okay, system A: G98/G99 IPM/IPR system B & C: G94/G95 IPM/IPR System A doesn't seem to have the ability to handle return to initial/return to R.

Does that make both of us right??

Your Doosan is set to use G code System A - so in your case, unless you've changed things, G98 is IPM and G99 is IPR.
The inital and R level commands are NOT present on G code system A on lathes. Your manual would be correct for a MILL.
 
Your Doosan is set to use G code System A - so in your case, unless you've changed things, G98 is IPM and G99 is IPR.
The inital and R level commands are NOT present on G code system A on lathes. Your manual would be correct for a MILL.

I think you are referring to the OP's lathe, not mine. My lathe, not a Doosan, is set to system B.
 








 
Back
Top