Skip to content

Custom C gcodes

Miguel Risco-Castillo edited this page Aug 23, 2022 · 37 revisions

This firmware implements some special custom g-codes to allow you to configure parameters not available in normal standard Marlin g-codes. You need to use a host/terminal with support for non-standard G-codes or create a .gcode file and "print" it.

Pronterface currently doesn't support non-standard G-codes.

  • C11 En Rn Gn Bn : colorize UI elements (C11 E0 to update the screen)
  • C29 Ln Rn Fn Bn Nn Tn : set probing mesh inset (Left, Right, Front, Back) in mm. N amount of grid points of the mesh leveling and T the probing temperature
  • C100 Xn Yn Zn : setup minimum physical limits
  • C101 Xn Yn Zn : setup maximum physical limits
  • C102 Xn Yn : setup bed size
  • C104 U1 Tn : unlock the maximum hotend temperature (limited by thermistor calibration table)
  • C108 : cancel screens waiting for user simple confirmation
  • C125 Xn Yn Zn : setup the park position
  • C412 Mn : set run-out sensor active state (M0:LOW, M1:HIGH, M2:MOTION)
  • C510 Un : lock/unlock the screen (C510 U1 to unlock)
  • C562 En : invert the Extruder (E1 to invert)
  • C851 Sn : Set probe Z feed speed (F) in cm/s

After changing any parameter, send an M500 to save to EEPROM and make it permanent.