3D printer G-code · Marlin

M503: Report settings (Marlin)

Report settings — Lists the active settings as G-code lines: M92 steps, M203 speeds, M201 accelerations, M204, M205, M851 offset, M301 PID and more. Copy the output as a backup.

By cnccode · Updated
On this page
  1. What does M503 do?
  2. Example
  3. Tips from practice
  4. Related commands
  5. More settings commands
  6. Frequently asked questions
PropertyValue
CommandM503
FunctionReport settings
FirmwareMarlin
GroupSettings
SyntaxM503

What does M503 do?

Lists the active settings as G-code lines: M92 steps, M203 speeds, M201 accelerations, M204, M205, M851 offset, M301 PID and more. Copy the output as a backup.

Example

G-code
M503

Tips from practice

  • The output can be sent back line by line to restore the settings.

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 settings commands

CommandFunctionFirmware
M500Save settings to EEPROMMarlin
M501Load settings from EEPROMMarlin
M502Factory reset (firmware defaults)Marlin
M201Max acceleration per axisMarlin
M203Max feed rate per axisMarlin
M204Set accelerationMarlin and Klipper
M205Jerk and junction deviationMarlin
M906Stepper motor current (TMC)Marlin
SAVE_CONFIGSave calibration to printer.cfgKlipper
SET_VELOCITY_LIMITSpeed, acceleration and corner limitsKlipper
FIRMWARE_RESTARTRestart (RESTART / FIRMWARE_RESTART)Klipper

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 M503 do on a 3D printer?
M503 is report settings. Lists the active settings as G-code lines: M92 steps, M203 speeds, M201 accelerations, M204, M205, M851 offset, M301 PID and more. Copy the output as a backup.
Does M503 work in Klipper and Marlin?
M503 is a Marlin command. Klipper uses its own commands and printer.cfg settings for this task.
Was this page helpful?