Skip to content

G-code

Post-processor options

Adjust the flavor's G-code for your controller: tool change command, automatic tool changer, dwell units, comment style, escape character and verbose output.

The machine settings, Post-processor section (in Dusty Studio: Machine panel, G-code Options…), adjust the flavor’s G-code for this controller. Without a setting, the G-code is exactly the flavor’s.

OptionEffect
Tool changesNothing: no command (save one file per tool); M0 pause and message: the program stops so that you change the tool; M6: the controller changes the tool.
Automatic tool changerWith M6: T M6 alone, with neither pause nor message. On a flavor that stops at tool changes (GRBL), M6 is written only with a tool changer: otherwise the controller would ignore M6 and not wait.
Dwell unitsG4 P in seconds, G4 P in milliseconds or G4 S in seconds (by default: the flavor’s).
Comment characters( … ) or ; … for Dusty’s comments (by default: the flavor’s); blocks keep their own.
Block escape characterThe character that protects the reserved characters of G-code blocks (\{, \x18…), the backslash by default: choose another one (^, &, @, #, %, !) if your blocks write backslashes, for example file paths.
Suppress commentsNo comment in the program, including those of the blocks (the message of an M0 pause disappears, the pause stays).
Verbose outputThe motion mode (G0, G1…) and the feed repeated on every line, for controllers that do not keep them from one line to the next.

These options go into the machine profile: a profile without them keeps its flavor’s G-code.

This manual is also built into Dusty: press F1, or open the Help menu, to read the topic for what you are doing. A mistake, a missing answer? Tell us

Try it in Dusty, for free.

Free CNC milling software: design, toolpaths and machine control. Mac, iPad, iPhone, Windows and Linux.