CNC Machine Stuck on M30, Won't Rewind: The Five Causes
M30 means end and rewind, so a machine stuck there has a file-format or mode problem: missing EOB, missing percent marker, DNC streaming, or a setting.
Posts tagged File Format from the G-Code Sprint team.
M30 means end and rewind, so a machine stuck there has a file-format or mode problem: missing EOB, missing percent marker, DNC streaming, or a setting.
The semicolon on a Fanuc screen is the EOB display character, not a comment. Missing-EOB errors are line-ending problems, made in PC editors and transfers.
G-code comments come in two styles: parentheses mid-line and semicolon-to-end-of-line, with dialect rules, no nesting, and a few traps worth knowing.
No single character limit covers Fanuc G-code lines: block length is bounded per control, and the lines that actually break things are long CAM comments.
The percent sign is a tape-era file marker: it told the reader where the program began and ended. Controls still honor it, and its absence still bites.