Skip to content

The machine

Marlin

Marlin over USB or TCP: numbered lines with checksums and resends, a state worked out with M400 and M114, pause with retract, M410 stop and M112 emergency stop.

USB connection (usually 250,000 baud) or Network (TCP) if the board offers it. Marlin has neither immediate feed hold nor software reset: its bridge works differently.

  • Each line is sent numbered with its checksum (N12 G1 X10*cs), one at a time; a line damaged on the way is sent again when the board asks (Resend:). During a long command, the board says “busy”: the connection stays alive.
  • State: Marlin does not report one; Dusty works it out (running as long as a move is not finished, checked with M400); positions with M114, or automatic reports (M154) if the board announces them.
  • Pause: always with retract, between two lines (the moves the board has already accepted finish first). Stop Job: quick stop M410 (position kept), then spindle and coolant off.
  • STOP: M112. The board halts and waits for its reset button (or a power cycle); Dusty then finds it again by itself. Home the machine again.
  • Homing with G28 (Z first), active work zero with G92, spindle M3/M5 (SPINDLE_FEATURE option), probing G38.2 if the board has it compiled in, settings read with M503.
  • Marlin does not read “modal” moves (an X10 Y5 line without G; the GCODE_MOTION_MODES option is off by default): Dusty puts the current move back in front (G1 X10 Y5); a spindle speed alone (S8000) is only applied when the spindle is already running.

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.