Skip to content

Instantly share code, notes, and snippets.

@mkgin
Last active March 21, 2019 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkgin/f169717ed06ce0d36fb6586246026657 to your computer and use it in GitHub Desktop.
Save mkgin/f169717ed06ce0d36fb6586246026657 to your computer and use it in GitHub Desktop.
Some GCODE to remember. Some PRUSA firmware specific
; src/Marlin_main.cpp has a list in the comments...
PRUSA FAN ; returns fan speeds...
M861 ! ; restore pinda table from Eprom
M861 ? ; query pinda table
M860 S35 ; wait until PINDA is 35C ( dependings on if temp is increasing or decreasing)
; should check if R is supported
G30 ; Single Z Probe
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan
M17 ; Stepper power on
M84 ; Steppers off
G28 W ; Home without mesh bed leveling
G28 ; Home and run mesh bed leveling
M115 ; get capabilities
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment