Skip to main content

Common Debugging Commands

tip
  • This tutorial is primarily based on the Fuiidd web interface.
  • This tutorial assumes the printer is already properly connected and is intended for debugging purposes.
  • This tutorial provides commonly used commands, but may not be exhaustive due to various reasons.
Important Notes
  • Please note, drivers that are not configured or have issues cannot be checked.
  • Ensure all drivers are powered, the mainboard is powered, driver jumpers and configurations are correct!!

Check Driver Status

  • This command verifies the status of TMC drivers in SPI/UART mode.
    DUMP_TMC STEPPER=stepper_x
    DUMP_TMC STEPPER=stepper_x1
    DUMP_TMC STEPPER=stepper_y
    DUMP_TMC STEPPER=stepper_y1
    DUMP_TMC STEPPER=stepper_z
    DUMP_TMC STEPPER=stepper_z1
    DUMP_TMC STEPPER=stepper_z2
    DUMP_TMC STEPPER=stepper_z3
    DUMP_TMC STEPPER=extruder

Force Move Driver

  • Add the following command to printer.cfg

    [force_move]
    enable_force_move: true
  • Command to force movement back and forth by 1mm.

  • Must be executed in the console.

    STEPPER_BUZZ STEPPER=stepper_x
    STEPPER_BUZZ STEPPER=stepper_x1
    STEPPER_BUZZ STEPPER=stepper_y
    STEPPER_BUZZ STEPPER=stepper_y1
    STEPPER_BUZZ STEPPER=stepper_z
    STEPPER_BUZZ STEPPER=stepper_z1
    STEPPER_BUZZ STEPPER=stepper_z2
    STEPPER_BUZZ STEPPER=stepper_z3
    STEPPER_BUZZ STEPPER=extruder
  • Enabling this option allows forced movement via motion control.

  • Please note, only one motor can be moved at a time.

  • For multiple axes, such as dual Z axes, homing is required before control.

    Loading...

Force Set Toolhead Position

  • Enter the following command in the console to forcibly set the toolhead position. After setting, movement can be directly controlled.
    SET_KINEMATIC_POSITION x=100 y=100 z=100

Stepper Motor Step Value Calibration

  • First, ensure the extruder driver is working correctly. Also, confirm that full_steps_per_rotation and gear_ratio are correct; otherwise, extruder step calibration will fail.

  • The new rotation_distance value should be rounded to three decimal places.

  • Calibration formula: rotation_distance = old rotation_distance * actual extrusion length / requested extrusion length.

    full_steps_per_rotation: 200        # Steps per revolution (200 for 1.8 degrees, 400 for 0.9 degrees)
    gear_ratio: 50:10 # Gear reduction ratio (Galileo gear ratio is 7.5:1, comment out this line; BMG is 50:17, output shaft first, input shaft last)
    rotation_distance: 22.522 # Drive pulley circumference in mm

PID

tip
  • The TARGET= parameter in the command sets the temperature. Use your usual printing temperature.
  • If you have multiple heating devices, you can use this command for PID tuning.
  • Extruder

    PID_CALIBRATE HEATER=extruder TARGET=245
  • Heated Bed

    PID_CALIBRATE HEATER=heater_bed TARGET=100
  • PTC

    PID_CALIBRATE HEATER=PTC TARGET=70
tip
  • If heating takes too long, refer to this method: Click to jump
  • If temperature is unstable, use this method to resolve errors caused by instability: Click to jump

Standard Endstop

  • Endstop check command.
  • Ensure the endstop is a 2-wire type. If it's 3-wire, confirm the wiring sequence is correct to avoid damaging the mainboard!!!
  • Ensure the endstop is in the normal open state and not touching anything.
  • Enter the following command in the console. If normal, it will return the information below.
    QUERY_ENDSTOPS
    Loading...
  • Ensure all endstops are in the open state, then manually press the endstop and enter QUERY_ENDSTOPS again.
    Loading...
  • If the endstop state changes, the wiring is correct.

No Endstop (Sensorless Homing)

  • Note: The sensorless homing state must be open; otherwise, there is a configuration or wiring issue.
  • Enter the following command in the console. If normal, it will return the information below.
    QUERY_ENDSTOPS
    Loading...

BL-TOUCH

  • pin_down: Probe deploys.
  • pin_up: Probe retracts.
  • touch_mode: Verify sensor.
BLTOUCH_DEBUG COMMAND=pin_down
BLTOUCH_DEBUG COMMAND=pin_up
BLTOUCH_DEBUG COMMAND=touch_mode

Probe & TAP

  • Normally, it should be "not triggered".
  • It is recommended to add ^ when configuring the pin.
QUERY_PROBE
Loading...

Repeatability Accuracy

  • Ten times
    probe_accuracy
  • One hundred times
    probe_accuracy samples=100

Special Types

Servo

tip
  • Servos are divided into 180-degree and 360-degree types. Please distinguish accordingly.
  • Reference configuration

    [servo my_servo]
    pin:PE6
  • Reference commands

    SET_SERVO SERVO=my_servo ANGLE=360
    SET_SERVO SERVO=my_servo ANGLE=180
    SET_SERVO SERVO=my_servo ANGLE=0
Loading...