# G94 CNC Code Example

See a clear G94 CNC code example, learn how feed per minute works, how it differs from feed per revolution, and how to set the feed rate safely.

A G94 CNC code example shows how to command feed per minute, so the cutting tool moves at a set distance per minute rather than a set amount per spindle revolution. The code G94 sets the feed rate mode, and the F address that follows gives the feed rate in units per minute. This page explains the mode, walks through a short program, and covers when a machinist switches to feed per revolution instead. 

## Reading a short G94 program 

A G94 example begins with the mode call and then an F word that sets the feed rate for the moves that follow. In a program such as G94 F150, the control reads the feed as 150 units per minute, whether millimeters or inches depending on the machine setup. Every cutting move after that line uses the same feed rate until another F word or another feed mode changes it. The G94 line belongs near the start of the program, before the first cutting move. 

## Feed per minute versus per revolution 

Feed rate mode decides what the F number means, and G94 makes that number a distance per minute. Feed per revolution, set with G95, ties the feed to spindle speed so each turn of the tool advances a fixed amount. Feed per minute suits milling, where the cutter turns and the table moves, and it also suits tapping and drilling cycles where the control needs a steady rate. A machinist picks the mode that matches the operation and the way the tool data was prepared. 

## Setting a feed rate that works 

The feed rate in a G94 block must match the tool, the material and the depth of cut, and the machine manual and tool supplier data give starting values. A feed rate that is too high for the cutter can break the tool or damage the workpiece, so a trained machinist sets it and checks the first cut. Feed rate also pairs with spindle speed, and the two are adjusted together for the cut. Verifying the mode before running a program prevents an unexpected rapid or slow move. 

## G94 Code Questions Machinists Ask 

### What does G94 CNC code do? 

G94 CNC code sets the control to feed per minute mode, so the F address defines how far the tool travels each minute. The code stays active for every cutting move until another feed mode such as G95 replaces it. It is a modal code, which means the control keeps it in memory across blocks. The feed rate value itself changes only when a new F word appears. 

### What is a simple G94 example I can follow? 

A simple G94 example is a mode line followed by a feed rate and a cutting move, such as G94 F100 on one line and then G01 X50 Y50 on the next. The control moves the tool to the target point at 100 units per minute. The F value uses the machine unit setting, so check whether the control is set to millimeters or inches. Add the G94 line before the first cutting move so the mode is active. 

### How does G94 feed per minute differ from G95? 

G94 feed per minute and G95 feed per revolution differ in what the F number measures. Under G94 the tool advances a set distance per minute, while under G95 it advances a set distance per spindle turn. G94 keeps the movement rate steady even if spindle speed changes. G95 ties the movement to the spindle, which suits tapping and some turning operations. 

### Can I change the feed rate after calling G94? 

Yes, you can change the feed rate after calling G94 by writing a new F word in a later block. The control keeps G94 active and applies the new rate from that block onward. A machinist often changes feed for a different tool or a lighter cut without repeating the G94 call. Check the mode still suits the operation before the change takes effect.
