Fanuc G87 Side Drilling Canned Cycle: Efficient CNC Lathe Operation
Fanuc G87 Side Drilling Canned Cycle
G87 Side drilling cycle is used to drill on the component diameter/side using driven tools.
Fanuc G87 Side Drilling Canned Cycle works on FANUC Oi and compatible cnc controls.

Programming
G87 X F Q P R
Parameters
| Parameter | Description |
|---|---|
| X | Final drilling depth (absolute dimensions in mm) |
| H | Distance between two holes in degrees. |
| K | Number of holes. |
| Q | Depth of cut (microns). |
| P | Dwell time (s) at the bottom of the hole. |
| F | Feed rate (mm/min). |
Example
N5 G28 U0. T505 M5 M45 G28 H0 G97 S1500 M3 G0 G80 G98 X50 Z-20 G87 X30 H90 K4 Q2000 M17 F100 G80 M5 M44 G0 X150. Z150. M9 M1
M17 brake on, this is optional (the brake will automatically unclamp before indexing within the cycle).
CNC Machine
- Master CNC Fanuc G72 Facing Cycle: Complete Guide & Programming Tips
- Efficient Peck Drilling on a Fanuc CNC Lathe Using G74 Cycle
- CNC Milling Example: Mastering the G81 Drilling Canned Cycle
- Mastering the G20 Turning Cycle on Fanuc 21TB CNC Lathes
- Optimizing Fanuc G81 Drilling Cycle for Efficient Spot Drilling
- Mastering the Fanuc G82 Drilling Cycle: Precision Counterboring for Accurate Depths
- Fanuc G87 Side Drilling Cycle – Drill Three 120°‑Spaced Holes with Precision
- Fanuc G87 Radial Drilling Cycle: Step-by-Step Programming Guide
- Fanuc G87 Radial Drilling Cycle Guide for CNC Lathes – 21i/18i/16i Series
- Fanuc G87 Side Drilling Cycle – How to Drill 3 Equally Spaced 120° Holes