3D printer G-code · Marlin

M203: Max feed rate per axis (Marlin)

Max feed rate per axis — Sets the top speed of each axis in mm/s. A G1 F value above it is cut down to this speed.

By cnccode · Updated
On this page
  1. What does M203 do?
  2. Parameters
  3. Example
  4. Tips from practice
  5. Related commands
  6. More settings commands
  7. Frequently asked questions
PropertyValue
CommandM203
FunctionMax feed rate per axis
FirmwareMarlin
GroupSettings
SyntaxM203 [X] [Y] [Z] [E]

What does M203 do?

Sets the top speed of each axis in mm/s. A G1 F value above it is cut down to this speed.

Parameters

ParameterMeaning
X Y Z EMax speed in mm/s

Example

G-code
M203 X300 Y300 Z10 E60

Tips from practice

  • Note: mm/s here, mm/min in G1 F.

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
M503Report settingsMarlin
M201Max acceleration 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 M203 do on a 3D printer?
M203 is max feed rate per axis. Sets the top speed of each axis in mm/s. A G1 F value above it is cut down to this speed.
Does M203 work in Klipper and Marlin?
M203 is a Marlin command. Klipper uses its own commands and printer.cfg settings for this task.
Was this page helpful?