Q&A · G-code & programming
What is the difference between M02 and M30?
Frequently asked · G-code & programming · Dec 1, 2026
1 answer
Both end the program. M30 also rewinds to the start and, on most machines, increments the part counter. M30 is the standard choice on modern controls.
Your answer
Join the community to answer. It is free and takes 20 seconds.