Copied from list compiled at G29 - BED LEVELING
https://marlinfw.org/meta/gcode/ Probe the bed and enable leveling compensation
Just for reference only for those that want to know G30 - SINGLE Z-PROBE
what each code stands for (means) – correct as on Probe bed at current XY location
27/09/2020.
G31 - DOCK SLED
Dock the Z probe sled.
G-CODE INDEX
G32 - UNDOCK SLED
G0, G1 - LINEAR MOVE Undock the Z probe sled.
Add a straight line movement to the planner
G33 - DELTA AUTO CALIBRATION
G2, G3 - ARC OR CIRCLE MOVE Calibrate various Delta parameters
Add an arc or circle movement to the planner
G34 - Z STEPPERS AUTO-ALIGNMENT
G4 - DWELL Align multiple Z steppers using a bed probe
Pause the planner
G35 - TRAMMING ASSISTANT
G5 - BÉZIER CUBIC SPLINE Run a procedure to tram the bed
Cubic B-spline with XYZE destination and IJPQ offsets
G38.2, G38.3 - PROBE TARGET
G10 - RETRACT Probe towards a workpiece and stop on contact.
Retract the filament
G42 - MOVE TO MESH COORDINATE
G11 - RECOVER Move to a specific point in the leveling mesh
Recover the filament with firmware-based retract.
G53 - MOVE IN MACHINE COORDINATES
G12 - CLEAN THE NOZZLE Apply native workspace to the current move.
Perform the nozzle cleaning procedure.
G54, G55, G56, G57, G58, G59, G59.1, G59.2,
G17, G18, G19 - CNC WORKSPACE PLANES G59.3 - WORKSPACE COORDINATE SYSTEM
Select CNC workspace plane Select a workspace coordinate system
G20 - INCH UNITS G60 - SAVE CURRENT POSITION
Set Units to Inches. Save current position to specified slot
G21 - MILLIMETER UNITS G61 - RETURN TO SAVED POSITION
Set Units to Millimeters. Return to saved position of specified slot
G26 - MESH VALIDATION PATTERN G76 - PROBE TEMPERATURE CALIBRATION
Test the mesh and adjust. Calibrate probe temperature compensation
G27 - PARK TOOLHEAD G80 - CANCEL CURRENT MOTION MODE
Park the current toolhead Cancel the current motion mode
G28 - AUTO HOME G90 - ABSOLUTE POSITIONING
Auto home one or more axes. Set the interpreter to absolute positions
G29 - BED LEVELING (3-POINT) G91 - RELATIVE POSITIONING
Probe the bed and enable leveling compensation. Set the interpreter to relative positions
G29 - BED LEVELING (BILINEAR) G92 - SET POSITION
Probe the bed and enable leveling compensation. Set the current position of one or more axes.
G29 - BED LEVELING (LINEAR) G425 - BACKLASH CALIBRATION
Probe the bed and enable leveling compensation. Use a conductive object to calibrate XYZ backlash
G29 - BED LEVELING (MANUAL) M0, M1 - UNCONDITIONAL STOP
Measure Z heights in a grid, enable leveling compensation Stop and wait for user.
G29 - BED LEVELING (UNIFIED) M3 - SPINDLE CW / LASER ON
Probe the bed and enable leveling compensation. Set the spindle CW speed or laser power
M4 - SPINDLE CCW / LASER ON M42 - SET PIN STATE
Set the spindle CCW speed or laser power Set an analog or digital pin to a specified state.
M5 - SPINDLE / LASER OFF M43 T - TOGGLE PINS
Turn off spindle or laser Get information about pins.
M7, M8, M9 - COOLANT CONTROLS M43 - DEBUG PINS
Turn mist or flood coolant on and off Get information about pins.
M16 - EXPECTED PRINTER CHECK M48 - PROBE ACCURACY TEST
Prevent G-code usage on the wrong machine Measure Z Probe repeatability.
M17 - ENABLE STEPPERS M73 - SET PRINT PROGRESS
Enable steppers Set current print progress percentage for LCD.
M18, M84 - DISABLE STEPPERS M75 - START PRINT JOB TIMER
Disable steppers (same as M84). Start the print job timer.
M20 - LIST SD CARD M76 - PAUSE PRINT JOB
List the contents of the SD Card. Pause the print job timer.
M21 - INIT SD CARD M77 - STOP PRINT JOB TIMER
Attempt to detect an SD card in the slot. Stop the print job timer.
M22 - RELEASE SD CARD M78 - PRINT JOB STATS
Simulate ejection of the SD card Print statistics about print jobs.
M23 - SELECT SD FILE M80 - POWER ON
Select an SD file to be executed Turn on the power supply
M24 - START OR RESUME SD PRINT M81 - POWER OFF
Start or resume a file selected with [`M23`] Turn off the power supply.
M25 - PAUSE SD PRINT M82 - E ABSOLUTE
Pause printing from the SD card Set E to absolute positioning.
M26 - SET SD POSITION M83 - E RELATIVE
Set the SD read position Set E to relative positioning.
M27 - REPORT SD PRINT STATUS M85 - INACTIVITY SHUTDOWN
Print SD progress to serial Set the inactivity timeout.
M28 - START SD WRITE M92 - SET AXIS STEPS-PER-UNIT
Start writing to a file on the SD card Set the number of steps-per-mm or steps-per-inch.
M29 - STOP SD WRITE M100 - FREE MEMORY
Stop writing the file, end logging. Description Here
M30 - DELETE SD FILE M104 - SET HOTEND TEMPERATURE
Delete a specified file from SD. Set a new target hot end temperature.
M31 - PRINT TIME M105 - REPORT TEMPERATURES
Report the current print time. Send a temperature report to the host.
M32 - SELECT AND START M106 - SET FAN SPEED
Begin an SD print from a file. Turn on the fan and set its speed
M33 - GET LONG PATH M107 - FAN OFF
Convert a short pathname to a long pathname. Turn off a fan
M34 - SDCARD SORTING M108 - BREAK AND CONTINUE
Set SDCard file sorting options. Break out of the current waiting loop
M109 - WAIT FOR HOTEND TEMPERATURE M145 - SET MATERIAL PRESET
Wait for the hot end to reach its target. Set material presets in the LCD menu.
M110 - SET LINE NUMBER M149 - SET TEMPERATURE UNITS
Set the current line number. Set temperature units to Celsius, Fahrenheit, or Kelvin.
M111 - DEBUG LEVEL M150 - SET RGB(W) COLOR
Report and optionally set the debug flags. Set the color of the RGB(W) LED, backlight, or LED strip.
M112 - EMERGENCY STOP M155 - TEMPERATURE AUTO-REPORT
Shut everything down and halt the machine. Auto-report temperatures to host periodically.
M113 - HOST KEEPALIVE M163 - SET MIX FACTOR
Get or set the host keepalive interval. Set a single mix factor for a mixing extruder.
M114 - GET CURRENT POSITION M164 - SAVE MIX
Report the current tool position to the host. Save the current mix as a virtual tool.
M115 - FIRMWARE INFO M165 - SET MIX
Print the firmware info and capabilities. Set all mix factors for the mixing extruder.
M117 - SET LCD MESSAGE M166 - GRADIENT MIX
Set the message line on the LCD. Set a Gradient Mix
M118 - SERIAL PRINT M190 - WAIT FOR BED TEMPERATURE
Send text to serial Wait for the bed to reach target temperature.
M119 - ENDSTOP STATES M191 - WAIT FOR CHAMBER TEMPERATURE
Report endstop and probe states to the host. Wait for the chamber to reach target temperature.
M120 - ENABLE ENDSTOPS M192 - WAIT FOR PROBE TEMPERATURE
Enable endstops and keep them enabled when not Wait for the probe temperature sensor to reach a target
homing.
M200 - SET FILAMENT DIAMETER
M121 - DISABLE ENDSTOPS Set the diameter for volumetric extrusion.
Disable endstops and keep them enabled when not
homing. M201 - SET PRINT MAX ACCELERATION
Set maximum acceleration for print moves one or more
M122 - TMC DEBUGGING axes.
Get TMC Debug Info
M203 - SET MAX FEEDRATE
M125 - PARK HEAD Set maximum feedrate for one or more axes.
Save current position and move to filament change
position. M204 - SET STARTING ACCELERATION
Set the starting acceleration for moves by type.
M126 - BARICUDA 1 OPEN
Open the valve for Baricuda 1. M205 - SET ADVANCED SETTINGS
Set some advanced settings related to movement.
M127 - BARICUDA 1 CLOSE
Close the valve for Baricuda 1. M206 - SET HOME OFFSETS
Description Here
M128 - BARICUDA 2 OPEN
Open the valve for Baricuda 2. M207 - SET FIRMWARE RETRACTION
Set options for firmware-based retraction.
M129 - BARICUDA 2 CLOSE
Close the valve for Baricuda 2. M208 - FIRMWARE RECOVER
Firmware-retraction recover settings.
M140 - SET BED TEMPERATURE
Set a new target bed temperature. M209 - SET AUTO RETRACT
Enable / disable auto-retraction.
M141 - SET CHAMBER TEMPERATURE
Set a new target chamber temperature. M211 - SOFTWARE ENDSTOPS
Set and/or get the software endstops state
M217 - FILAMENT SWAP PARAMETERS M361 - SCARA THETA-B
Set length and speed for filament swapping Move to Theta-B
M218 - SET HOTEND OFFSET M362 - SCARA PSI-A
Set the offset of a hotend (from hotend 0). Move to Psi-A
M220 - SET FEEDRATE PERCENTAGE M363 - SCARA PSI-B
Set the global feedrate percentage. Move to Psi-B
M221 - SET FLOW PERCENTAGE M364 - SCARA PSI-C
Set the flow percentage, which applies to all E moves. Move to Psi-C
M226 - WAIT FOR PIN STATE M380 - ACTIVATE SOLENOID
Wait for a pin to have a given state. Activate
M240 - TRIGGER CAMERA M381 - DEACTIVATE SOLENOIDS
Trigger a camera shutter Deactivate all extruder solenoids
M250 - LCD CONTRAST M400 - FINISH MOVES
Set and/or get the LCD contrast. Wait for all moves to finish
M260 - I2C SEND M401 - DEPLOY PROBE
Send data to the I2C bus. Deploy the bed probe
M261 - I2C REQUEST M402 - STOW PROBE
Request and echo bytes from the I2C bus. Stow the bed probe
M280 - SERVO POSITION M403 - MMU2 FILAMENT TYPE
Set or get a servo position. Set filament type for Multi-Material Unit 2.0
M281 - EDIT SERVO ANGLES M404 - SET FILAMENT DIAMETER
Set servo deploy and/or stow angles Set the nominal diameter for filament width sensor auto-
flow
M290 - BABYSTEP
Babystep one or more axes M405 - FILAMENT WIDTH SENSOR ON
Enable filament width sensor flow control
M300 - PLAY TONE
Play a single tone, buzz, or beep. M406 - FILAMENT WIDTH SENSOR OFF
Disable filament width sensor flow control
M301 - SET HOTEND PID
Set PID values for a hotend. M407 - FILAMENT WIDTH
Report the measured filament width
M302 - COLD EXTRUDE
Set minimum extrusion temperature, allow cold extrusion. M410 - QUICKSTOP
Stop all steppers instantly
M303 - PID AUTOTUNE
Auto-tune the PID system to find stable values. M412 - FILAMENT RUNOUT
Enable / disable filament runout detection
M304 - SET BED PID
Set PID values for the heated bed. M413 - POWER-LOSS RECOVERY
Enable / disable power-loss recovery
M350 - SET MICRO-STEPPING
Set micro-stepping for drivers that support it M420 - BED LEVELING STATE
Get and/or set bed leveling state and parameters
M351 - SET MICROSTEP PINS
Directly set the micro-stepping pins M421 - SET MESH VALUE
Set a single mesh Z height
M355 - CASE LIGHT CONTROL
Turn the case light on or off, set brightness M422 - SET Z MOTOR XY
Set a Z motor position for G34 Auto-Alignment
M360 - SCARA THETA A
Move to Theta A M425 - BACKLASH COMPENSATION
Enable and tune backlash compensation
M428 - HOME OFFSETS HERE M7219 - MAX7219 CONTROL
Set home offsets based on current position Control Max7219 Segmented LEDs
M486 - CANCEL OBJECTS M851 - XYZ PROBE OFFSET
Identify and cancel objects Set the Z probe XYZ offset from nozzle
M500 - SAVE SETTINGS M852 - BED SKEW COMPENSATION
Save settings to EEPROM. Misalignment in the XYZ axes.
M501 - RESTORE SETTINGS M871 - PROBE TEMPERATURE CONFIG
Restore settings from EEPROM. Configure probe temperature compensation
M502 - FACTORY RESET M900 - LINEAR ADVANCE FACTOR
Restore all settings to factory defaults. Get and set Linear Advance K value
M503 - REPORT SETTINGS M906 - TMC MOTOR CURRENT
Report all settings that may be saved to EEPROM. Set the motor current (in milliamps)
M504 - VALIDATE EEPROM CONTENTS M907 - SET MOTOR CURRENT
Validate the contents of the EEPROM. Set motor current via digital trimpot
M524 - ABORT SD PRINT M908 - SET TRIMPOT PINS
Abort an SD print started with [`M24`] Set a digital trimpot directly
M540 - ENDSTOPS ABORT SD M909 - DAC PRINT VALUES
Abort SD printing when an endstop is triggered. Report DAC current values to host
M569 - SET TMC STEPPING MODE M910 - COMMIT DAC TO EEPROM
Toggle stealthChop Commit digipot/DAC value to external EEPROM
M575 - SERIAL BAUD RATE M911 - TMC OT PRE-WARN CONDITION
Change the serial baud rate Driver overtemperature pre-warn condition
M600 - FILAMENT CHANGE M912 - CLEAR TMC OT PRE-WARN
Automatically change filament Clear overtemperature pre-warn condition flag
M603 - CONFIGURE FILAMENT CHANGE M913 - SET HYBRID THRESHOLD SPEED
Configure automatic filament change parameters TMC driver switching to spreadCycle
M605 - DUAL NOZZLE MODE M914 - TMC BUMP SENSITIVITY
Set the behavior mode for dual nozzles Set sensorless homing sensitivity
M665 - SCARA CONFIGURATION M915 - TMC Z AXIS CALIBRATION
Set SCARA geometry values Align ends of the Z axis and test torque
M665 - DELTA CONFIGURATION M928 - START SD LOGGING
Set delta geometry values Log serial input to an SD file
M666 - SET DUAL ENDSTOP OFFSETS M997 - FIRMWARE UPDATE
Set dual endstop offsets Perform in-application firmware update
M666 - SET DELTA ENDSTOP ADJUSTMENTS M999 - STOP RESTART
Set Delta endstop adjustments Return the machine to Running state
M701 - LOAD FILAMENT T0, T1, T2, T3, T4, T5, T6 - SELECT TOOL
Load filament Switch to the specified tool
M702 - UNLOAD FILAMENT
Unload filament
M710 - CONTROLLER FAN SETTINGS
Set or report controller fan settings