Files
flexi-bot/docs/marlin/_gcode/G034-mgc.md
T
2023-09-05 20:38:49 +02:00

1.6 KiB

tag, title, brief, author, requires, since, group, codes, related, notes, parameters, videos, example
tag title brief author requires since group codes related notes parameters videos example
g034b Mechanical Gantry Calibration Modern replacement for Průša's TMC_Z_CALIBRATION thisiskeithb MECHANICAL_GANTRY_CALIBRATION 2.0.4 calibration
G34
M422
M906
M907
M915
Requires `MECHANICAL_GANTRY_CALIBRATION`.
tag optional description values
S true Current value to use for the raise move. (Default: `GANTRY_CALIBRATION_CURRENT`)
unit type
mA int
tag optional description values
Z true Extra distance past `Z_MAX_POS` to move the Z axis. (Default: `GANTRY_CALIBRATION_EXTRA_HEIGHT`)
unit type
linear float
3jAFQdTk8iw
pre code
Mechanical gantry calibration:
G34

This command is used to align the ends of the X gantry. See the video demonstration above.

  • The carriage moves to GANTRY_CALIBRATION_SAFE_POSITION, also called the "pounce" position.
  • If possible, the Z stepper current is reduced to the value specified by S (or GANTRY_CALIBRATION_CURRENT) to prevent damage to steppers and other parts. The reduced current should be just high enough to move the Z axis when not blocked.
  • The Z axis is jogged past the Z limit, only as far as the specified Z distance (or GANTRY_CALIBRATION_EXTRA_HEIGHT) at the GANTRY_CALIBRATION_FEEDRATE.
  • The Z axis is moved back to the working area (also at GANTRY_CALIBRATION_FEEDRATE).
  • Stepper current is restored back to normal.
  • Finally the machine is re-homed, according to GANTRY_CALIBRATION_COMMANDS_POST.