Printed from Kezuriba (kezuriba.net/en/nc/g94/)
G94
Machining center, LatheModal, group 05Feed per minute (mm/min)
On machining centers
G94 G01 X_ F_ (F is in mm/min)
- Standard on machining centers. Power-on default (Siemens ISO M)
- On lathes (system A) the same number is the face cutting cycle, so be careful when reusing a lathe program
Full guide with examples: Machining center programming basics (practise G54, G43 and G41 in a simulator)
On lathes: Face cutting cycle (single canned cycle, G-code system A)
The same number means something different on lathes (FANUC-type G-code system A). Group 01.
G94 X(U)_ Z(W)_ F_ (R_ for taper)
- The face version of G90. Cuts in the X direction
- System B uses G79 and system C uses G24 (Siemens ISO T). G94 in systems B/C is feed per minute
Diagram (lathe): the 4 motions of G94 (lathe)
Full guide with examples: How to write lathe multiple repetitive cycles (G71, G70, G72, G73, G76)
Differences between controls and machines
The same code can be written or assigned differently depending on the CNC control and the machine builder. Always check your machine’s manual.
| Source | Machine | Item | Detail |
|---|---|---|---|
| Haas | Lathe | Format | Taper (conical surface) is K_ |
Frequently asked questions about G94
- What is G94 (Feed per minute (mm/min)) used for and how is it formatted in a CNC program?
- G94 commands "Feed per minute (mm/min)" on Machining center, Lathe. The standard program format is "G94 G01 X_ F_ (F is in mm/min)". Standard on machining centers. Power-on default (Siemens ISO M)
- Is G94 a modal code or a one-shot (non-modal) code?
- G94 is a modal code (Group 05). Once commanded, it remains active across subsequent blocks until another code from the same modal group overrides it or the control is reset. Always state or cancel modal states explicitly in your safety block and at the end of a tool operation so residual modes do not cause unexpected motion when restarting mid-program.
- Does G94 work differently on machining centers (mills) versus CNC lathes?
- Yes. On a machining center G94 means "Feed per minute (mm/min)", whereas on a CNC lathe (FANUC G-code System A) G94 means "Face cutting cycle (single canned cycle, G-code system A)" (lathe format: "G94 X(U)_ Z(W)_ F_ (R_ for taper)"). Never copy G94 between mill and lathe programs without checking which G-code system (A, B, or C) your lathe uses.
- Are there differences in G94 across FANUC, Mitsubishi, Okuma, Haas, and Siemens controls?
- Yes. Control builders such as FANUC, Mitsubishi Electric (M80/M800), Okuma (OSP), Haas, Mazak, Siemens (SINUMERIK ISO dialect), and Heidenhain can differ in argument letters, decimal-point rules, and optional parameters for G94. Review the control comparison table above and verify the exact syntax in your machine’s programming manual before proving out the program.
Sources
The meaning of this code agrees in two or more sources from different publishers. Explanations are written in our own words.
- Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Milling, 04.2007 Edition (6FC5398-7BP10-0BA0) cache.industry.siemens.com
- Haas Automation, Inc. — Mill Operator's Manual – 17 Mill G-Codes (online version) haascnc.com
- National Institute of Standards and Technology (NIST), USA — The NIST RS274NGC Interpreter – Version 3 (NISTIR 6556, 2000) nvlpubs.nist.gov
- Saitama University, Faculty of Engineering, Department of Mechanical Engineering, practical training — Machining center program 2019 (training NC program O19-0101, with comments) jisshu.mech.saitama-u.ac.jp
- Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Turning, 04.2007 Edition cache.industry.siemens.com
- Haas Automation, Inc. — G-code, M-code, and Setting (per-code explanation pages) haascnc.com
- Haas Automation, Inc. — Lathe Operator's Manual – 16 Lathe G-Codes (online version) haascnc.com