Simple CNC Lathe Drilling with Fanuc G74 Peck Drilling Cycle

Here is a cnc programming example for simple drilling on a cnc lathe machine. CNC Fanuc control has a very powerful and versatile peck drilling cycle (Fanuc G74) which relieves us from many unwanted chores. Although Fanuc G74 peck drilling cycle for fanuc cnc control can be used in variety of ways but this cnc programming example is just doing a simple peck drilling. One thing for newbies in cnc field is that we can simply drill a component by just giving a feed with G01.

N10 G00 X0 Z10
N20 G01 Z-30 F0.2
N30 G01 Z10 F1

If we can drill with the above method them why use a peck drilling cycle. Actually peck drilling (Fanuc G74) gives us some hidden benefits like

  • Longer drill life
  • Proper chip breaking
  • Proper chip removal
  • Prevents component from heating
  • Smooth drilling
  • Easy to program
So here is the simple cnc program example which shows simple cnc peck drilling (Fanuc G74) on a cnc lathe machine
Simple CNC Lathe Drilling with Fanuc G74 Peck Drilling Cycle

Simple CNC Lathe Drilling with Fanuc G74 Peck Drilling Cycle

N10 T5
N20 G97 S500 M03
N30 G00 X0 Z2
N40 G74 R1
N50 G74 Z-60 Q30000 F0.1
N60 G00 X100 Z100
N70 M30
The above cnc program code shows that the tool no.5 which is a drill, will drill the component with the peck drilling cycle G74.
The R in first block shows the amount ( 1mm) the drill will get back after it drills 30 mm every time.