# CNC Turning Canned Cycles

Learn how CNC turning canned cycles work on a lathe, what G71 and G70 do, how the control reads the cycle blocks, and how to check a cycle before cutting metal.

A CNC turning canned cycle is a single G-code command that makes the lathe repeat a sequence of moves, so a whole stock removal pass or a finishing pass is programmed in a few blocks. On a lathe the two you meet first are G71 for rough turning and G70 for finishing. The cycle does the repeated cutting; you supply the shape and the cut depths. 

- A turning canned cycle packs a repeated toolpath into one command instead of many hand-written moves.
- G71 removes material in steps along the profile, and G70 takes the light finishing cut on that same profile.
- The control needs a defined profile, a start point clear of the stock, and depth and feed values that suit the material.
- Dry run and single block the cycle before the first cut, because a wrong profile block damages the part or the machine.
- Keep the profile blocks simple and consistent so the control can read the shape without errors.
 

## What a turning canned cycle does 

A turning canned cycle is a fixed sequence of moves stored in the control and started by one G-code command. The cycle repeats that sequence automatically, so the programmer describes the result rather than every pass. This is the core idea behind turning canned cycles on a lathe. 

A hand-written toolpath needs one block for each pass across the workpiece. A canned cycle replaces those blocks with a command, a few values and a profile description. The control then works out the intermediate passes from the shape you give it. 

Canned cycles belong to the G-code family of commands, and each number means a specific job. G71 handles rough turning and G70 handles finishing on a turning cycle. The control reads the cycle blocks in a set order, so the order of your code matters as much as the values. 

## How G71 rough turning works 

G71 is the rough turning cycle, and it removes the bulk of the material in steps down to a finishing allowance. The command tells the control the depth of each cut and the thickness to leave for finishing. The tool then follows the profile you define, pass after pass. 

The cycle needs a start point outside the stock and a profile that describes the finished shape. The control cuts toward the profile in increments, stepping in by the depth you set. Each pass follows the contour of the profile until the allowance remains. 

The depth of cut and the feed rate come from your process decision for the material and tool. A depth that is too heavy for the insert or the setup loads the tool and the part. Program the values your tooling and machine can take, and check them against the material before the first run. 

## How G70 finishing works 

G70 is the finishing cycle, and it takes one continuous pass along the profile left by the roughing cycle. The command reuses the shape you defined, so you do not program the contour twice. The result is a clean surface at the final size. 

The finishing pass removes the allowance that G71 left behind, so the two cycles work as a pair. Feed and speed for G70 differ from roughing because the cut is light and the surface matters. Set them for the finish you need on that material. 

A finishing cycle on a profile that was roughed with the wrong allowance will not fix the error. Check the allowance and the profile before the finish pass runs. If the roughing cycle left too much or too little, correct the roughing values first. 

## Reading the cycle blocks in order 

A turning canned cycle is written as a group of blocks that the control reads in sequence, and the order defines what the cycle does. The command block comes first with the depth, allowance and feed values. The profile blocks follow, and a closing block ends the definition. 

The profile blocks describe the shape the tool must leave, using the same G-code moves as a normal toolpath. The control reads those blocks as data for the cycle, not as moves to run at that moment. A profile block with the wrong move type confuses the cycle and stops it. 

Keep the profile simple and consistent between blocks, and start each pass from a point clear of the stock. The start point must let the tool reach the first cut without dragging through the part. Review the block order on the screen before you run the cycle. 

## Values you set for a turning cycle 

The values in a turning canned cycle define the cut, and each one has a job in the result. Depth of cut controls how much material each pass removes. The finishing allowance controls how much the G70 pass takes off. 

Feed and spindle speed must match the material, the insert and the rigidity of the setup. A cycle repeats the same cut many times, so a poor value is repeated with it. Choose values from your tooling data and the machine's capacity, not from a guess. 

The profile itself carries the final dimensions, so a wrong coordinate in a profile block repeats on every pass. Check each profile point against the drawing before you run. A cycle amplifies a small programming error into a scrapped part. 

## Checking a cycle before the first cut 

A turning canned cycle runs many moves from a few blocks, so a dry run and a single block check come before any cutting. Watch the tool path on the display and compare it with the drawing. The graphic view shows whether the cycle follows the shape you intended. 

Run the cycle above the part with the tool clear, or use the machine's dry run mode where it has one. Step through the first passes in single block and confirm the depth and the direction of each cut. Stop and correct the code if the path differs from the profile. 

A cycle error can drive the tool into the chuck or the part, so a person trained on the machine should check the setup. Confirm the work offset, the tool offset and the start point before the cycle runs. Never run an unproven cycle at full speed on the first cut. 

## Mistakes that stop a turning cycle 

A turning canned cycle fails for a small set of reasons, and each one shows up in the code or the setup. A profile that does not close, a wrong move type or a missing command block will alarm the control. The alarm text names the block, so read it before you change anything. 

A start point inside the stock or a profile that steps backward along the axis can stop the cycle. The control expects the profile to progress in one direction, so a reversal breaks the read. Fix the profile direction and run the check again. 

A wrong tool offset or work offset shifts the whole cycle, and the error repeats on every pass. Check the offsets against the setup sheet before the cycle starts. When the cycle behaves oddly, suspect the offset before the code. 

## Where turning cycles fit in the program 

Turning canned cycles sit inside the normal program flow, between the tool call and the end of the operation. Select the tool, set the spindle and the feed mode, then call the cycle. The cycle runs the roughing and finishing passes before the next tool change. 

A cycle does not replace the setup decisions around it, such as the workholding, the tool choice and the coolant. Those choices set the conditions the cycle works in. A sound cycle on a poor setup still produces a poor part. 

Learning to read a cycle on a lathe builds the skill of reading any G-code cycle later. The same structure appears in other cycles, with a command block, values and a definition. Once you can read one, you can read the next. 

## CNC Turning Canned Cycle Questions 

### What is a CNC turning canned cycle? 

A CNC turning canned cycle is a single command that makes the lathe repeat a fixed sequence of moves. You give the control a shape and cut values, and the cycle runs the passes. G71 for roughing and G70 for finishing are the two turning cycles you meet first. 

### What is the difference between G71 and G70? 

G71 is the rough turning cycle, and it removes material in steps down to a finishing allowance. G70 is the finishing cycle, and it takes one pass along the profile the roughing cycle left. The two work as a pair on the same profile. 

### Can I use a turning canned cycle on any lathe? 

A turning canned cycle needs a control that supports it, and the cycle numbers and block order follow the control maker's documentation. Check the manual for the machine before you program G71 or G70. The same G number can behave differently on another control. 

### Why did my turning cycle alarm out? 

A turning cycle alarm comes from a profile the control cannot read, such as a wrong move type or a shape that steps backward. A missing command block or a start point inside the stock can also stop it. Read the alarm text, which names the block, then fix the profile. 

### Should I check the cycle before cutting metal? 

Check the cycle before the first cut, because one command can run many moves and a wrong path can damage the part or the machine. Use the graphic display, a dry run and single block to confirm the path. An operator trained on the machine should approve the setup. 

### Does G70 work without a roughing cycle? 

G70 runs as a finishing pass along a defined profile, and it can run without a roughing cycle if the stock is already near size. The pass removes only the allowance you leave, so the stock must match the profile. Confirm the allowance and the profile before the pass runs.
