G-code: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
Line 7: Line 7:
*G91 - set relative positioning
*G91 - set relative positioning
*M106 - 0-255 for fan speed
*M106 - 0-255 for fan speed
*Homing - G28 ; home all axes (X, Y, and Z); G28 X Y ; home X and Y axes; G28 Z ; home Z axis only


=Filament=
=Filament=

Revision as of 19:18, 6 June 2018

Widely Used

  • G1 E10 - spit 10 mm of filament
  • M503 - prints parameters
  • M92 - sets feed rate, such as extruder - M92 E408
  • G92 - resets coordinates to given values [1]
  • G90 - set absolute positioning
  • G91 - set relative positioning
  • M106 - 0-255 for fan speed
  • Homing - G28 ; home all axes (X, Y, and Z); G28 X Y ; home X and Y axes; G28 Z ; home Z axis only

Filament

  • M404 N2.85 D1.0 - 2.85 mm filament and nozzle Diameter of 1.0 mm

EEPROM

  • M501 Read all parameters from EEPROM.
  • M503 Print the current settings – note: NOT the settings stored in EEPROM.
  • M501 Read all parameters from EEPROM.
  • M502 Reset current settings to defaults, as set in Configurations.h
  • M851 Z probe offset from Extruder

Notes

  • When moving printer in the Cura command line - use G92 without parameters to set all axes to zero
  • G1 will always work when coordinates are reset to zero, otherwise if you are alraedy at say E25, G1 E25 will not move the extruder.

Links

The source - http://reprap.org/wiki/G-code