What's new
What's new

Faunc 2 line G76 threading

rainman

Cast Iron
Joined
Sep 10, 2008
Location
Orlando, FL
Hello,

I'm writing a postprocessor for one of our companies, for a Puma mill/turn, with Fanuc 18i-TB. We have a Kiaturn, with Fanuc Oi-TB. I was assuming the code would be the same, but I'm getting feedback from the operator of this machine that says otherwise. This is an example of code for our machine:

G76P00060Q10R10
G76X.1277Z-.508I0K.0182D.0075F.0313

This is what he's saying it should be:

G76P000060Q10R.001
G76X.1257Z-.5I0.P192Q80F.03125

It's not the slight differences in value of the parameters I'm worried about, but the fact that they're different addresses. I'm not used to seeing R.001 on the first line; thought it needed to be R10.
I'm used to seeing D on 2nd line for depth of cut, K for thread height. I'm seeing P & Q on this line.
He's reporting getting an alarm when running the first example.

What gives? I thought that a later model Fanuc would have the same G76 coding.
 
The Q10 R10 in the first line is the same as Q.0010 R.0010 if in the 4 place decimal mode.

G76%20Cheat%20Sheet%20001_zpsw4h7t7mx.jpg



------------------------

I am Ox and I approve this h'yah post!
 
Hello,

I'm writing a postprocessor for one of our companies, for a Puma mill/turn, with Fanuc 18i-TB. We have a Kiaturn, with Fanuc Oi-TB. I was assuming the code would be the same, but I'm getting feedback from the operator of this machine that says otherwise. This is an example of code for our machine:

G76P00060Q10R10
G76X.1277Z-.508I0K.0182D.0075F.0313

This is what he's saying it should be:

G76P000060Q10R.001
G76X.1257Z-.5I0.P192Q80F.03125

It's not the slight differences in value of the parameters I'm worried about, but the fact that they're different addresses. I'm not used to seeing R.001 on the first line; thought it needed to be R10.
I'm used to seeing D on 2nd line for depth of cut, K for thread height. I'm seeing P & Q on this line.
He's reporting getting an alarm when running the first example.

What gives? I thought that a later model Fanuc would have the same G76 coding.

Hello rainman,
The second example in your previous Post is the correct format for the two block format, known as Standard FS16 format.

The second block of your first example is typical of one block format, known as FS15 Format. The first block of your first example is irrelevant and I'm surprised that the control being fed that example doesn't raise an alarm.

The R address allows the use of a period, or without. When the period is omitted, the number represents the number of least programmable increments. For example, the default setting for Imperial Mode for least programmable increment is 0.0001. Accordingly, R10 would equal R0.001. It wont be the omission of the period in the first example that is causing the control to alarm that prefers the second example code, its the second block that included the D and K addresses that it doesn't like.

Check parameter bit 0001.1 of both controls and compare. The control that is happy with
G76P000060Q10R.001
G76X.1257Z-.5I0.P192Q80F.03125
will be set to Zero, the other control that prefers G76X.1277Z-.508I0K.0182D.0075F.0313 will be set to "1" I suspect.

Not withstanding that I would expect the control that accepts the G76X.1277Z-.508I0K.0182D.0075F.0313 to alarm at the inclusion of the G76P000060Q10R10 block, the included angle of the insert specified by the 60 in P00060 I doubt will have any effect as this angle is specified using an A address in the block containing the D and K address in FS15 Format.

Regards,

Bill
 
Thanks for all the replies. It's really hard to write a post for a machine that's 2000 miles away, so I can use all the help I can get.
 








 
Back
Top