3D printer G-code · Marlin

M300: Beep (Marlin)

Beep — Plays a tone on the display buzzer.

By cnccode · Updated
On this page
  1. What does M300 do?
  2. Parameters
  3. Example
  4. Related commands
  5. More status commands
  6. Frequently asked questions
PropertyValue
CommandM300
FunctionBeep
FirmwareMarlin
GroupStatus
SyntaxM300 S<Hz> P<ms>

What does M300 do?

Plays a tone on the display buzzer.

Parameters

ParameterMeaning
SFrequency
PDuration in ms

Example

G-code
M300 S880 P300

Marlin. Many Marlin commands only exist when the feature is enabled in the firmware build. If the printer answers "Unknown command", the feature is missing. Klipper does not understand most of these settings codes; it uses printer.cfg instead.

More status commands

CommandFunctionFirmware
M155Temperature auto reportMarlin
M105Report temperaturesMarlin and Klipper
M117Display messageMarlin and Klipper
M73Set print progressMarlin and Klipper
M114Report positionMarlin and Klipper
M119Endstop statesMarlin

Test it before you print

Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.

Open the simulator

Frequently asked questions

What does M300 do on a 3D printer?
M300 is beep. Plays a tone on the display buzzer.
Does M300 work in Klipper and Marlin?
M300 is a Marlin command. Klipper uses its own commands and printer.cfg settings for this task.
Was this page helpful?