G-Code Sprint Back to site
G-Code Sprint g-code basics

Notes, guides &
deep dives.

Essays, playbooks and research from the G-Code Sprint team. One email per week if you want it in your inbox.

Recent

Code reference

G15 and G16 Polar Coordinates on a CNC Mill

G16 makes X a radius and Y an angle, so a bolt circle becomes one line per hole. How the polar centre is set, a worked example, and when to avoid it.

Lawrence Arya··10 min
Code reference

M30 vs M02: Program End and Rewind Explained

M30 ends the program and rewinds to the top; M02 just ends it on older controls. What each one resets, why the tape history matters, and which to use.

Lawrence Arya··10 min
Guides

Safety Line in G-Code: What Each Code Does

G17 G21 G40 G49 G80 G90 G94 at the top of a program resets the modes a previous job left behind. What each code in the safe start block does and why.

Lawrence Arya··10 min
Code reference

G52 Local Coordinate System Explained

G52 shifts program zero on top of G54 for one section of a program. How it stacks, how to cancel it, and why it beats G92 for repeated features.

Lawrence Arya··10 min
Guides

Transfer G-Code to a CNC: USB, DNC, and Ethernet

USB sticks, network shares, RS-232, drip-feed, and hobby senders: how programs reach the control, what breaks in each route, and the verification ritual.

Lawrence Arya··10 min

View the full archive · 523 posts →

By category

Writers

Subscribe · one email a week

Hand-edited. Unsubscribe in one click. No tracking pixels.