Programming Peck Drilling on a CNC Lathe Using G-Code
This week, Marc from @GCodeTutor continues this series where he programs a complete part using G-Code on a CNC lathe. This time, he will be talking about peck drilling. We start off by programming the sequence until we reach the G83 peck drill block. Starting with the standard peck drill cycle, Marc describes exactly what each word and G-code does within this line of code. Then he talks about using a variable peck cycle using I, J and K to set the depth of the first peck, the amount it decreases by after each peck and the minimum depth that the peck will perform. By using variable pecking we can tackle parts that are not drilling how we would like, if you are using a hard material to machine it is often the solution we are looking for. As with all G-Code programs that you find online, remember that each machine is slightly different and set up differently, because of this, we should never copy code into our machine and expect it to run safely. All code in these lessons are for educational purposes only.





