CNC Milling | G83 Cycle | Peck Drilling

G83 Cycle Introduction

G83 command (G83 cycle) is used for drilling holes that are deep in CNC Machining Centers (CNC Milling machines) that cannot be drilled at one time or that may result in tool breakage, chip jamming. With this cycle, the tool goes to the coordinate specified in the program, quickly approaches the height of Z specified by R, descends with the feed rate specified by F as much as the depth given by Q .. and then goes back to the distance R again, then drills the hole as much as the amount indicated by Q, and this the process continues until the depth specified by Z .. is reached. If another coordinate is given afterwards, it moves there and the cycle continues to work as described above until the G80 command is issued.

The G83 command (G83 cycle) should be used to prevent jamming of the chip during drilling deep holes and to drain the chip out of the part. As you can imagine, trying to drill holes in one hole using G81 command in deep holes will have consequences such as the chip getting stuck in the drill and the tool breaking.

G83 Cycle Format

G83 X… Y… Z… R… P… Q… F… K(L)…


G83 : Peck Drilling cycle
X : Hole position in X axis
Y : Hole position in Y axis
Z : Z axis end position = Z depth = Hole depth
R : Z axis start position = R level = Clearance
P : Dwell time at bottom of hole
Q : Depth to increase on each peck
F : Feedrate
K or L : Number of repeats

Things to Know

  • X and Y coordinates where the hole will be drilled are not usually given in the same line. Instead, the machine is sent to the first hole coordinate in the program, and then drilling with the G83 cycle is started.
  • In general, the cycle is not repeated with K.
  • What is written in the first two items describes the methods generally used by the users in the market. The command format has been written technically appropriate, the command I want you to know can be written and applied as described here, although the first two items are frequently encountered in the market due to the ease of control of the program and the ease of writing.
  • The G83 cycle is usually used with the G98 command. You can find details about the G98 and G99 command on our website.
  • After using the G83 cycle, the cycle must be canceled with the G80 command. If it is not canceled with G80, your machine will drill holes with the conditions specified in the G83 line in every different coordinate included in the program.
  • If the command is used with G98, it will use the Z height that it uses to “drill the first hole” when moving between the coordinates to be drilled.
  • If the command is used with G99, it will use the R height “when moving between the coordinates to be drilled”.
  • If the program is stopped during G83 cycle and some manual movements are made, it must be moved to the point where the program is stopped manually before starting the program again.
  • The G83 command is not work under MDI mode. Although it is technically related to machine type, control unit type and parameters, not running cycles under MDI mode is more suitable for work safety and correct machining of the workpiece.
  • M98 and M99 commands are not used in lines where G83 command is written.

G83 Cycle Examples

G83 CNC Program Example – 1

G83 Cycle Program Example

O1234 ;
T1 M6 ;
M03 S1000 ;
G90 G54 G00 X25 Y25 ;
G43 H1 Z50 M08 ;
G98 G83 Z-30 R5 Q8 F100 ;
Y55 ;
X115 ;
Y25 ;
G80 ;
G28 G91 G00 Z0 ;
M30 ;

G83 CNC Program Example – 2

G83 Cycle Program Example – 2

N15 O0083;
N20 G94 F400 S2000;
N25 T01 M6; ( Guide Drill )
N30 G54 M03;
N35 G43 G0 Z10. H1 M8;
N40 G00 X–35 Y30;
N45 G01 Z–1;
N50 G01 X105;
N55 Y80;
N60 X–35;
N65 G28;
N70 M05 M09;
N75 T02 M6;
N80 G94 F500 S2500;
N85 G43 G0 Z10. H2 M3;
N90 G99 G90 G81 X10.Y30.Z–5.Q10.R3.K1 F500;
N95 X30 Y50;
N100 X50 Y70;
N105 X70 Y50;
N110 X90 Y30;
N115 G80;
N118 M05 M09;
N120 G28;
N125 T03 M6;
N130 G94 F600 S2500;
N135 G43 G0 Z10. H3 M3;
N140 G99 G90 G83 X10. Y30. Z–35. Q10. R3. K1 F500;
N145 X30 Y50;
N150 X50 Y70;
N155 X70 Y50;
N160 X90 Y30;
N162 G80;
N165 M05 M09;
N170 G28;
N175 M05 M09;
N180 M30;