- G0 / G1 : Linear Move
- G2 / G3 : Controlled Arc Move
- G4 : Dwell
- G20 : Inch Units
- G21 : Millimeter Units
- G28 : Auto Home
- G30 : Single Z-Probe
- G38.2 / G38.3 : Probe target
- G53 : Move in Machine Coordinates
- G54 / G55 / G56 / G57 / G58 / G59 / G59.1 / G59.2 / G59.3 : Workspace Coordinate System
- G90 : Absolute Positioning
- G91 : Relative Positioning
- G92 : Set Position
- G1029 : Bed Leveling (Automatic)
- M3 : Spindle CW / Laser On
- M4 : Spindle CCW / Laser On
- M5 : Spindle / Laser Off
- M17 : Enable Steppers
- M18 / M84 : Disable steppers
- M25 : Pause HMI print
- M31 : Print time
- M43 : Debug Pins
- M76 : Pause Print Job
- M81 : Power Off
- M82 : E Absolute
- M83 : E Relative
- M85 : Inactivity Shutdown
- M92 : Set Axis Steps-per-unit
- M104 : Set Hotend Temperature
- M106 : Set Fan Speed
- M107 : Fan Off
- M109 : Wait for Hotend Temperature
- M111 : Debug Level
- M112 : Emergency Stop
- M114 : Get Current Position
- M115 : Firmware Info
- M117 : Set LCD Message
- M118 : Serial print
- M119 : Endstop States
- M120 : Enable Endstops
- M121 : Disable Endstops
- M140 : Set Bed Temperature
- M155 : Temperature Auto-Report
- M190 : Wait for Bed Temperature
- M200 : Set Filament Diameter
- M201 : Set Print Max Acceleration
- M203 : Set Max Feedrate
- M204 : Set Starting Acceleration
- M205 : Set Advanced Settings
- M206 : Set Home Offsets
- M211 : Software Endstops
- M220 : Set Feedrate Percentage
- M301 : Set Hotend PID
- M302 : Cold Extrude
- M400 : Finish Moves
- M401 : Deploy Probe
- M402 : Stow Probe
- M410 : Quickstop
- M412 : Filament Runout
- M413 : Power-loss Recovery
- M420 : Bed Leveling State
- M421 : Set Mesh Value
- M425 : Backlash compensation
- M428 : Home Offsets Here
- M500 : Save Settings
- M501 : Restore Settings
- M502 : Factory Reset
- M503 : Report Settings
- M504 : Validate EEPROM contents
- M540 : Endstops Abort SD
- M600 : Filament Change
- M851 : Z Probe Offset
- M900 : Linear Advance Factor
- M928 : Start SD Logging
- M1005 : Firmware Information
- M1006 : Tool header information
- M1007 : homed state, coordinate system used, and origin offset
- M1010 : Enclosure control
- M1011 : Air purifier control
- M1012 : Check if the emergency stop module is online
- M1029 : Remap 8-pin port function
- M1999 : Reboot the machine
- M2000 : SM2 system information inquiry
- M2001 : Peripheral power control
M31 - Print time
Description
This command reports the time elapsed since the start of the current print job to the host. When printing from SD card, the print job timer starts as soon as SD printing starts.
If PRINTJOB_TIMER_AUTOSTART
is enabled then the first M109
or M190
command received from the host will also start the print job timer.
For manual control from the host, use M75
, M76
, and M77
to start, pause, and stop the print job timer.
Parameters
M31