M0
| Unconditional stop, Finishes buffered moves and shuts down. Machine will need to be reset
| M0
|
M1
| Conditional stop. Finished buffered moves and shuts down. Machine may be woken up by sending additional GCode
| M1
|
M17
| Enables stepper motors (Extruders)
| M17
|
M82
| Set extruder to absolute mode. (Similar to G90)
| M82
|
M83
| Set extruder to relative mode. (Similar to G91)
| M83
|
M84
| Stop idle hold (disable stepper motors during periods of inactivity). This command should only be used after a job is complete
| M84
|
M92
| Set axis steps per unit for axes X Y Z or E (extruder drive motor)
| M92 X128.03 Y127.97
|
M104
| Set extruder temperature to value S for toolhead T
| M104 S200 T0
|
M105
| Get extruder temperature. This will write extruder temps to serial console/host program
| M105
|
M106
| Turn print cooling fan on to speed S (PWM value from 0-255)
| M106 S255
|
M107
| Turn print cooling fan off
| M107
|
M108
| Cancel heating. This will cancel a heat-and wait cycle such as M109
| M108
|
M109
| Set extruder temperature to S and wait for temperature to stabilize before continuing
| M109 S215
|
M112
| Emergency stop. Terminates moves, shuts down machine
| M112
|
M114
| Get current position. Writes current position to serial console or host
| M114
|
M115
| Get current firmware version
| M115
|
M117
| Displays message on bottom line of LCD screen
| M117 Hello World
|
M119
| Get endstop status. Used to check if axis home switches are triggering properly
| M119
|
M120
| Enable endstop detection
| M120
|
M121
| Disable endstop detection
| M121
|
M140
| Set bed temperature to S
| M140 S70
|
M190
| Set bed temperature to S and wait for temperature to stabilize before continuing
| M190 S70
|
M201
| Set maximum acceleration values for axes XYZ and E. Vales are in mm/s^2
| M201 X2300 Y2300 Z100 E2000
|
M206
| Set home offset. This is controlled from the LCD screen as Babystepping, If a value is set, machine will home with G28, then apply offset given
| M206 Z-0.2
|
M218
| Set tool offset in XY for extruder number. Tool 0 always has an offset of 0.0. Tool 1 is set in relation to Tool 0
| M218 T1 X0.24 Y25.43
|
M221
| Set extruder override percentage (Extrusion multiplier, flow rate) in S as a percentage of original flow
| M221 S95
|
M226
| Wait for state of pin P to change to S
| M226 P44 S
|
M300
| Plays beep for P milliseconds
| M300 P1000
|
M301
| Sets PID parameters for extruder heaters
| M301 P73.24 I3.3 D95.32
|
M302
| Set allowable extrusion temperature to S. If extruder is below this value extrusion commands will be ignored. Set to M302 S0 to enable extruder moves without heating (may cause stripped filament)
| M302 S170
|
M303
| Run PID tuning cycle on heater E at temperature S. For bed use M303 E-1
| M303 E0 S200
|
M304
| Set PID parameters for bed
| M304 P300.23 I1.64 D1240.5
|
M500
| Save settings to EEPROM memory
| M500
|
M501
| Replace current settings with last saved state from EEPROM
| M501
|
M502
| Wipe user-changed settings to factory default. Use with caution
| M502
|
M503
| Print settings to serial console or host
| M503
|