Home
G Codes
G0 -> G1
G1 - Coordinated Movement X Y Z E
G4 - Dwell S or P
G28 - Home all Axis
G28+ - Home all Axis with shaking detection
G29 - Detailed Z-Probe, probes the bed at 3 or more points. Will fail if you haven't homed yet.
G30 - Single Z Probe, probes bed at current XY location. - Bed Probe and Delta geometry Autocalibration
G60 - Store in memory actual position
G61 - Move X Y Z to position in memory
G90 - Use Absolute Coordinates
G91 - Use Relative Coordinates
G92 - Set current position to coordinates given
M Codes
M17 - Enable/Power all stepper motors
M31 - Output time since last M109 or SD card start to serial
M42 - Change pin status via gcode Use M42 Px Sy to set pin x to value y, when omitting Px the onboard led will be used.
M81 - Turn off Power, including Power Supply, if possible
M82 - Set E codes absolute (default)
M83 - Set E codes relative while in Absolute Coordinates (G90) mode
M84 - Disable steppers until next move,or use S<seconds> to specify an inactivity timeout, after which the steppers will be disabled. S0 to disable the timeout.
M85 - Set inactivity shutdown timer with parameter S. To disable set zero (default)
M92 - Set axis_steps_per_unit - same syntax as G92
M111 - Debug mode
M112 - Emergency stop
M114 - Output current position to serial port
M115 - Capabilities string
M117 - display message
M119 - Output Endstop status to serial port
M120 - Enable endstops
M121 - Disable endstops
M136 - Change flux delta extension port mode , append <E> change to extruder mode , nothing is GPIO mode , E.g M136E
M137 - Set extension port STP(PWM0) pwm , can be 0~255 , must change to GPIO mode by use M136 before set pwm , E.g. M137P100
M138 - Get extension port INPUT0 value , return [INPUT0:1]
M139 - Control extension port output , HIGH:<B1> , LOW:<B0> , there are B、D GPIOs can be used , E.g. M139B1
M140 - Set bed target temp
M200 D<millimeters>- set filament diameter and set E axis units to cubic millimeters (use S0 to set back to millimeters).
M201 - Set max acceleration in units/s^2 for print moves (M201 X1000 Y1000 Z1000 E0 S1000 E1 S1000 E2 S1000 E3 S1000).
M203 - Set maximum feedrate that your machine can sustain (M203 X200 Y200 Z300 E0 S1000 E1 S1000 E2 S1000 E3 S1000) in mm/sec
M204 - Set Accelerations in mm/sec^2: S printing moves, R Retract moves(only E), T travel moves (M204 P1200 R3000 T2500) im mm/sec^2 also sets minimum segment time in ms (B20000) to prevent buffer underruns and M20 minimum feedrate
M205 - advanced settings: minimum travel speed S=while printing T=travel only, B=minimum segment time X= maximum xy jerk, Z=maximum Z jerk, E=maximum E jerk
M206 - set additional homing offset
M218 - set hotend offset (in mm): T<extruder_number> X<offset_on_X> Y<offset_on_Y>
M220 S<factor in percent>- set speed factor override percentage
M221 S<factor in percent>- set extrude factor override percentage
M226 P<pin number> S- Wait until the specified pin reaches the state required
M400 - Finish all moves
M500 - Store parameters in EEPROM
M501 - Read parameters from EEPROM (if you need reset them after you changed them temporarily).
M502 - Revert to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
M503 - Print the current settings (from memory not from EEPROM). Use S0 to leave off headings.
M666 - Set z probe offset or Endstop and delta geometry adjustment.
M711 - Set backlash offset.
M907 - Set digital trimpot motor current using axis codes.
M999 - Restart after being Stopped
T Codes
T<motor number>[F] – Change motor controling
X Codes
X1 – X1<O/F><0/1/2>: set laser on (0: all , 1:laser1 , 2:laser2)
X2 – X2<O/F><0~255> : set IO2 PWM duty on
X3 + O + num (0 ~ 4) : set REFC on (0: all , 1:REFC1 , 2:REFC2 , 3:REFC3 , 4:REFC4)
X6 : delta Homing Distance Calculation
X7 + R + num (1 ~ 6) + C + num (step) : motor control
X8 + O,F : filament detect
X9 – X9<O/F><0~255> : set Self-defined PWM duty on
X78 – Read sensor pin states(FSR0,FSR1,FSR2,R_IO1,R_IO2,M_IO1,F0_STOP,F1_STOP,HOME_BTN_PIN,U5FAULT)
X111 : read FW version
C Codes
C1 - Enable/Disable lineno and sumcheck
C2<O/F>[Z+Num] - Pause and raising.
C3 – Enter filament using FSR
C4 – Retract filament for a distance