Rabu, 17 Agustus 2016

CNC Fanuc G76 Threading Cycle



CNC Fanuc G76 Threading Cycle

Threading is an integral part of almost every component which is machined, threads may be internal (ID threading) or external (OD threading). Here is full explanation of G76 Threading Canned Cycle for the Fanuc cnc control.
The CNC G-code for the threading canned cycle is G76.
You might like other cnc threading cycle G92, G32, G33,
Below 2 block Fanuc G76 threading cycle ( Two Line Format G76 Threading Cycle)  is briefly explained for easy understanding of g76 threading code.
Contents
Fanuc G76 Threading Cycle can be used for
Fanuc G76 Threading Cycle Flexibility
With Fanuc G76 Threading Cycle you can control
and many more.
G76 Threading Cycle Example
Example of the G76 G code G76 Thread Cycle a CNC Programming Example.
Fanuc G76 Threading Cycle Explanation
N5 G76 P010060 Q100 R0.05
N6 G76 X30 Z-20 P1024 Q200 F2
First block of the G76 Threading cycle
G76 : G code for threading cycle.
P : P actually consists of multiple values which control the thread behavior,
Q : Depth of normal cut ( these values are given in hundreds, so the depth of cut will be 0.1 ).
R : Depth of Last or Finish cut
Second block of the G76 Threading cycle
G76 : G code of the threading cycle.
X : The end value in x-axis.
Z : The end value in z-axis.
P : Thread depth ( as radius value ).
Q : Depth of first cut.
F : Thread Pitch
R :
Thread Taper

Tapered Threading with Fanuc G76 Threading Cycle

Taper threading is not a usual practice in cnc machine workshops, but sometimes customer want a component with taper threading, So here is the solution. Taper threading on a cnc lathe machine with Fanuc control is just easy with Fanuc G76 threading cycle. Fanuc CNC control threading cycle G76 gives us lot of flexibility.CNC Programming tapered threading with Fanuc threading cycle G76 is not that difficult, just one parameter have to add.
Contents
Normal Threading with Fanuc G76 Threading Cycle CNC Program
N5 G76 P010060 Q100 R0.05
N6 G76 X30 Z-20 P1024 Q200 F2
One G76 parameter which have to be added for tapered threading is R in G76 second block.
Tapered Threading with Fanuc G76 Threading Cycle CNC Program
Tapered Threading with Fanuc G76 Threading Cycle
N5 G00 X50 Z5
N6 G76 P010060 Q100 R0.05
N7 G76 X43 Z-45 P1024 Q200 R-14.5 F2
The R parameter in second block of G76 is the tapered value. Note that R is given as Radius value.
How to calculate R parameter for Tapered Threading on Fanuc with G76 Threading Cycle.
R = (Start Diameter – End Diameter) / 2

Controlling Threading Infeed Angle with Fanuc G76 Threading Cycle

Briefly described how to control thread infeed angle while machining threading on a cnc machine with fanuc cnc control.
You better watch the video ( Thread Infeed Tips from Sandvik Coromant a Video ) which briefly describes the difference of thread infeed angles and benefits and weaknesses of different thread infeed angles.
Fanuc G76 threading cycle gives us full flexibility to thread the way we like.
Contents
Fanuc G76 Threading Cycle
N5 G76 P010060 Q100 R0.05
N6 G76 X30 Z-20 P1024 Q200 F2
Controlling Thread Infeed Angle with Fanuc Threading Cycle G76
G76 : Threading Cycle Parameter P P actually consists of multiple values which control the thread behavior,
  • 01 : Number of spring cuts, you can change it at your will.
  • 00 : Thread run out at 45 degree
  • 60 : Thread Infeed Angle / Flank angle
All the parameters of Fanuc threading cycle G76 are fully explained here. The values with P are actually 03 pairs of values, the last pair is to control the thread infeed angle of each pass for threading, You can see the bold line above with value 60.
G76 Threading Cycle with 60 Degrees Infeed Angle for 60 Degree Threads (Compound Infeed/ Flank Infeed)
If you put 60 for the infeed angle, this will put most of the load on the front edge of the threading insert.
G76 Threading Cycle with 55 Degrees Infeed Angle for 60 Degree Threads
If you put 55 for the infeed angle for the standard 60 degree threads, this will put most of the load on the front edge or leading edge of the threading insert and will also put a small load on the back edge of the threading insert.
G76 Threading Cycle with 0 Degrees Infeed Angle ( Radial Infeed)
If you put 0 for the infeed angle, this will put the load on the full profile of the threading insert.
Square thread always need a straight radial infeed (plunge infeed ).
G76 Threading Cycle Recommended Infeed Angles
The following indeef angles should be used as infeed angles with G76 fanuc threading cycle. 80, 60, 55, 30, 29, 00

G76 Thread Cycle a CNC Programming Example

G-code G76 is a cnc cycle which is used for thread cutting on cnc machines.
Threading cycle G76 is explained here G76 Thread Cycle.
Taper thread cutting with G76 thread cycle is explained here G76 Tapered Threading
For Multi-start thread cutting with G76 see G76 Multi-Start Threading
For G76 threading cycle one line see G76 One-Line Format.
G76 threading cycle can be used for internal threading on cnc lathe machines.
This G76 threading example actually cuts external threads on two different diameters.

G76 Thread Cycle Example

G76 Thread Cycle a CNC Programming Example
N10 T3
N20 G97 S800 M03
N30 G00 X30 Z5 T0303
N40 G76 P021060 QI00 R100
N50 G76 X18.2 Z-20 P900 Q200 FI.5
N60 G00 X50 Z-20
N70 G76 P021060 Ql00 R100
N80 G76 X38.2 Z-52 P900 Q200 FI .5
N90 G00 X200 Z200
N100 M30


Fanuc G Codes List

Fanuc G Codes List

G00
Rapid traverse positioning.
  1. CNC G-Code G00 Rapid Traverse
  2. CNC G Code Introduction for CNC Programmers
G01
Linear interpolation.
  1. CNC G Code Introduction for CNC Programmers
  2. CNC Programming for Beginners a Simple CNC Programming Example
  3. Lathe CNC Programming Example
This is a very simple lathe cnc programming example. This lathe cnc programming example is for beginners level cnc programmers or for novice cnc programmers. Just simple cnc contour programming. The G code which are used in this programming example are from Fanuc cnc control.
Lathe CNC Programming Example

CNC Program in Fanuc G Code

N10 G90 S500 M03
N20 G00 X25 Z5
N30 G01 G95 Z0 F1
N40 G01 Z-7.5 F0.2
N50 G01 X60 Z-35
N60 G01 Z-50
N70 G00 X62
N80 G00 X80 Z20
N90 M30
G02
Circular interpolation clockwise.
  1. CNC Programming for Beginners a CNC Programming Example
  2. CNC Lathe Programming Example

CNC Program

N1 T01 D01 M491
N2 G00 X0 Z1
N3 G01 G96 G41 Z0 F2 S140
N4 G01 X2 CHF=0.125 F0.2
N5 G01 Z-1.125
N6 G02 X3.5 Z-1.875 CR=0.75
N7 G01 X3.75 CHF=0.125
N8 G01 Z-3.575
N9 G01 X5 Z-3.875
N10 G01 Z-4.6
N11 G00 X20 Z20 G40
N12 T02 D02 M491
N13 G00 G97 S500 X4 Z-2.825
N14 G01 X3.85 F1
N15 G01 X3.35 F0.15
N16 G01 X3.85 F0.5
N17 G00 X4
N18 G00 X20 Z20
N19 M30


G03
Circular interpolation counterclockwise.
  1. CNC Arc Programming Exercise
CNC arc programming exercise, shows how to cnc program an arc with I and K. CNC G-code G03 is used to program this arc.

CNC Arc Programming Exercise

N10 GOO X0 Z0
N20 G01 X12 F0.3
N30 G01 X40 Z-25
N40 G03 X70 Z-75 I-3.335 K-29.25
N50 G01 Z-95
N60 G00 X200 Z200

G04
Dwell time.
  1. G04 Dwell Time Calculation Made Easy
G10
Programmable Offset Setting or offset value setting.
  1. Fanuc G10 G-Code for CNC Machine Programmable Offset Setting
On a cnc lathe machine we do two types of offset setting. Tool Offset Setting and Workshift Setting. With G10 we can do both functions.

Workshift Value Setting or Machine Zero Offset Setting with Fanuc G10

This version of Fanuc G10 is used to set the workshift value. P00 means that we want to set the workshift value. The x-axis value is normally set to 0, the value for z-axis is the distance from the machine zero point to workpiece zero point (this distance is called workshift value or zero offset).
N10 G10 P00 X0 Z200

Tool Wear with Fanuc G10

This version of the Fanuc G10 code is a bit tricky, the value with P is the tool for which we want to make changes. This G10 code adds the given value to the tool wear offset .
N10 G10 P1 U0.02 W0.02

Tool Offset Setting or Tool Geometry Offsetting with Fanuc G10

This version of G10 sets the Tool Offset Setting. If you want to set the tool offset setting value for tool number 8 then you will add 10000 and the value will be (10000 + 8 = 10008), now put that value with P. For G10 x and z values put the tool value in x and z.
N10 G10 P10001 X95 Z54

G20
Measuring in inches or Programming in inches.
  1. Fanuc G20 Measuring in Inches with CNC Program Example
G21
Measuring in Millimeter or Programming in Millimeter.
  1. Fanuc G21 Measuring in Millimeter with CNC Lathe Programming Example
G33, G32
Thread cutting.
  1. CNC Fanuc G33 G32 Threading G Code
G70
Finishing cycle.
  1. CNC Programming Example with Fanuc G71 Rough Turning Cycle and G70
  2. Fanuc G70 G71 Rough and Finish Turning Cycle Program Example

CNC Programming Example

Fanuc G70 G71 Rough and Finish Turning Cycle Program Example
N10 T1 G97 S800 M03
N20 G00 X45 Z2 G42
N30 G71 U2 R1
N40 G71 P50 Q120 U0.25 W0.1 F0.25
N50 G00 X19.8
N60 G01 X23.8 Z-2 F0.2
N70 G01 Z-25
N80 G01 X28.07
N90 G01 X34 Z-33
N100 G01 Z-48
N110 G01 X42
N120 G01 Z-58
N130 G00 X100 Z100
N140 G92 S1200
N150 T3 G96 S150 M03
N160 G00 X45 Z3
N170 G70 P50 Q120
N180 G00 X100 Z100
N190 M30

G71
Stock removal in turning or Rough turning cycle or Turning canned cycle
  1. CNC Fanuc G71 Turning Cycle or Stock Removal Canned Cycle
  2. CNC Programming Example with Fanuc G71 Rough Turning Cycle and G70
  3. Fanuc G70 G71 Rough and Finish Turning Cycle Program Example
Here is another cnc programming example, this cnc programming example shows the use of G71 Canned Cycle and G70 for Fanuc CNC Control.
Although I already have posted about the G71 Turning Canned Cycle(Rough Turning Cycle), but that blog post just illustrates the use of G71 and G71 parameters.
This cnc programming example shows a complete contour cutting with G71 and finish cut on contour with G70.
G70 finishing cycle for fanuc cnc control can also be used with G72 Facing cycle for fanuc control. Usage of G70 Finishing cycle with G72 Facing cycle is same as shows here in the following example.
CNC Programming Example with Fanuc G71 Rough Turning Cycle and G70
N10 G00 G90 X142 Z171
N20 G71 U4 R1
N30 G71 P40 Q110 U4 W2 F0.3
N40 G00 X40
N50 G01 Z140 F0.2
N60 G01 X60 Z110
N70 G01 Z90
N80 G01 X100 Z80
N90 G01 Z60
N110 G01 X140 Z40
N120 G70 P40 Q110
N130 G00 X200 Z220
N140 M30


G72
Stock removal in facing or Facing Cycle or Canned cycle facing.
  1. CNC Fanuc G72 Canned Cycle Facing
G73
Pattern repeating.
  1. CNC Fanuc G73 Pattern Repeating Cycle
  2. CNC Fanuc G73 Pattern Repeating Cycle CNC Program Example
G74
Peck drilling in Z axis.
  1. Simple CNC Lathe Drilling with Fanuc G74 Peck Drilling Cycle
G75
Grooving in X axis.
  1. CNC Fanuc G75 Grooving Cycle
  2. Fanuc G75 Grooving Cycle CNC Program Example
  3. G75 Canned Cycle Grooving CNC Programming Example
G76
Thread cutting cycle or G76 threading cycle or Fanuc G76 threading cycle.
  1. Fanuc G76 Threading Cycle
  2. Tapered Threading with Fanuc G76
  3. Multi-Start Threading with Fanuc G76
  4. Controlling Thread Infeed with Fanuc G76
  5. G76 Threading Cycle One Line Format for Fanuc 10/11/15T
G-code G76 is a cnc cycle which is used for thread cutting on cnc machines.
Threading cycle G76 is explained here G76 Thread Cycle.
Taper thread cutting with G76 thread cycle is explained here G76 Tapered Threading
For Multi-start thread cutting with G76 see G76 Multi-Start Threading
For G76 threading cycle one line see G76 One-Line Format.
G76 threading cycle can be used for internal threading on cnc lathe machines.
This G76 threading example actually cuts external threads on two different diameters.





G76 Thread Cycle Example

G76 Thread Cycle a CNC Programming Example
N10 T3
N20 G97 S800 M03
N30 G00 X30 Z5 T0303
N40 G76 P021060 QI00 R100
N50 G76 X18.2 Z-20 P900 Q200 FI.5
N60 G00 X50 Z-20
N70 G76 P021060 Ql00 R100
N80 G76 X38.2 Z-52 P900 Q200 FI .5
N90 G00 X200 Z200
N100 M30

G92
CNC Fanuc G92 Threading Cycle.
  1. CNC Fanuc G92 Threading Cycle
  2. Taper Threading with G92 Threading Cycle
  3. CNC Programming Example G92 Taper Threading Cycle