Machine

G-code, Definition & Meaning

G-code is the numerical control programming language read by CNC controllers to drive motion, spindle, laser power and more.

G-code is the de-facto language of CNC. Lines like G01 X100 Y50 F1500 command linear motion. Each controller dialect (LinuxCNC, Mach3, Fanuc, GRBL) has its own quirks, handled by a post-processor.

Related terms