072 - CNC from scratch #2 - G-code

Опубликовано: 14 Апрель 2026
на канале: Garage Makezone
46,933
1k

The second episode of the CNC Basics course. We'll discuss G-code, which seems to scare potential CNC users away. We'll try to prove that G-code isn't scary at all.

A small correction to the code discussed in the video: the last command after or instead of G4 should be M02 on line 985, which finally terminates the machine.

The S values, for example, on line 5, will only be executed by devices supporting speed control; the others will activate the milling tool at maximum speed.

Link to the full GRBL G-CODE table:

https://my.carbide3d.com/faq/grbl-g-c...

It's also worth checking out the document prepared by Arkadiusz Lewicki and Jarosław Guziński, titled "G-code Definitions for CNC Milling Machines." "CNC Machine Control"
https://eia.pg.edu.pl/documents/18404...

This document explains many aspects of operating a CNC machine using examples.

CNC 3018 Machine: https://bit.ly/2Kpjgp5
Additional Milling Cutter Mounts: https://bit.ly/31pvALG

Facebook group "I Like to DIY": https://bit.ly/2YTtnGS

#CNC #CNC 3018 #G-code #gmz