In CNC machining, creating smooth edges and transitions on parts is crucial for both aesthetic and functional purposes. Haas CNC machines offer powerful G-code commands for corner rounding and chamfering, which are essential for achieving these finishes. The G01 C R command sequence is particularly useful for these operations.

# Usage Format

**G01 Linear Interpolation with Corner Rounding and Chamfering:**

```
G01 X... Y... ; (Linear move to the start point of chamfer or corner rounding)
G01 X... Y... C... ; (Chamfering move)
G01 X... Y... R... ; (Corner rounding move)
```

# Explanation

The **G01** command is used for linear interpolation, which means the tool moves in a straight line from one point to another. By appending **C** (for chamfer) or **R** (for corner rounding) to a G01 command, the machine automatically adds a chamfer or a rounded corner between two linear moves.

**C**specifies the chamfer distance from the intersection point where the chamfer begins and ends.**R**specifies the radius of the arc that is tangent to the corner at two points: the beginning and the end of the corner rounding.

# Example

Let’s say we want to add a chamfer and a rounded corner to a part:

**Text Diagram:**

```
+-----------------+
| |
| |
| |
| |
| |
| |
+------R----------+
C
```

**G01 Chamfering and Corner Rounding Example:**

```
% O1234 (Program Number)
(TOOL 1 - END MILL)
G00 G17 G20 G40 G90 G94 (Initial setup commands)
T1 M06 (Tool change to tool 1)
S1000 M03 (Spindle speed 1000 RPM, clockwise)
G00 X0 Y0 (Rapid move to starting point)
G43 H01 Z1.0 M08 (Tool height offset, coolant on)
G01 Z-0.5 F20. (Feed to cutting depth)
G01 X2.0 Y0 C0.1 (Chamfer the corner)
G01 Y2.0 R0.2 (Round the next corner)
G01 X0 (Move back to the first edge)
G00 Z1.0 M09 (Retract, coolant off)
G53 G49 Z0 M05 (Return to home, spindle off)
M30 (End of program)
%
```

In this example, the tool will move to the starting point, then create a 0.1-inch chamfer on the first corner and a 0.2-inch radius on the next corner, finishing the operation with a return to the starting edge.