Skip to main content

Homing and Direction Calibration Guide

Restore the formal configuration first

This page is intended for full-machine debugging under the complete kinematic configuration and is not applicable to the kinematics: none generated by the quick test tool. First restore the formal configuration and complete the limit check, and confirm the motion direction and safe travel before homing. If you only need to troubleshoot a single driver, use Peripheral and driver testing; do not rely on forced homing to verify hardware.

Motor wiring check​

Before wiring
  • Wiring operations must be performed Must disconnect power
  • The wire order of all motors should remain consistent

Wiring method​

The mainboard motor connectors are usually in AABB format, meaning the two wires of the same phase are connected to the same group:

Connector labelMeaningDescription
APhase AThe two wires of the same phase are connected together
BPhase BThe two wires of the same phase are connected together

Wiring Principles:

  • The two wires of the same phase must be connected to the same group (AA or BB)
  • The wire order of all motors should remain consistent to avoid direction confusion
  • If you are unsure of the wire order, use a multimeter: the two wires that show continuity are the same phase

Verify motor movement​

Use the following command to verify whether each motor runs correctly (the motor will rotate slightly forward and backward):

STEPPER_BUZZ STEPPER=stepper_x # X-axis stepper motor
STEPPER_BUZZ STEPPER=stepper_y # Y-axis stepper motor
STEPPER_BUZZ STEPPER=stepper_z # Z0 stepper motor
STEPPER_BUZZ STEPPER=stepper_z1 # Z1 stepper motor (if present)
STEPPER_BUZZ STEPPER=stepper_z2 # Z2 stepper motor (if present)
STEPPER_BUZZ STEPPER=stepper_z3 # Z3 stepper motor (if present)
Z-axis direction requirement
  • X and Y axis motors have no specific direction requirement
  • The Z-axis motor must rise first and then descend reciprocating motion; if the direction is incorrect, modify dir_pin in the configuration

Modify motor direction​

If the direction is wrong, modify dir_pin in the configuration file by adding or removing the ! symbol:

[stepper_z]
step_pin: <z_step_pin>
dir_pin: !<z_dir_pin> # Add ! to reverse direction, or remove ! to restore the original direction
enable_pin: !<z_enable_pin>

Homing test​

Single-axis homing​

Run the following commands in sequence to test each axis homing independently:

G28 X
G28 Y
G28 Z

Key observation points:

  • Whether the motor rotation direction is correct
  • Whether it stops immediately after triggering the limit
  • Whether the coordinates after homing match the configuration expectations
    • Voron and other CoreXY structures: X/Y axes usually home to Maximum position
    • Traditional Cartesian structure: X/Y axes usually home to Minimum position
Configuration note

The homing coordinate position is determined by the homing_positive_dir parameter:

  • true → home to the positive direction (maximum position)
  • false → home to the negative direction (minimum position)

CoreXY structure direction calibration​

Common issues and solutions for XY motor control in a CoreXY structure:

Fault phenomenonDescriptionSolution
Case 1XY axis controls are swapped, and both the positive and negative XY movement directions are reversedReverse the X motor wiring (swap any two phase wires of the X motor)
Case 2XY axis controls are swapped, but the positive and negative XY movement directions are correctReverse the Y motor wiring (swap any two phase wires of the Y motor)
Case ThreeXY axis controls are swapped, the X positive/negative direction is correct, and the Y positive/negative direction is reversed1. Reverse the X motor wiring
2. Swap the X and Y motor wires as a whole
Case FourXY axis controls are swapped, the X positive/negative direction is reversed, and the Y positive/negative direction is correct1. Reverse the Y motor wiring
2. Swap the X and Y motor wires as a whole
Case FiveXY axis controls are correct, but both the positive and negative XY directions are reversedReverse both the X motor and Y motor wiring
Case SixXY axis controls are correct, the X positive/negative direction is correct, and the Y positive/negative direction is reversedSwap the X and Y motor wires as a whole
Case SevenXY axis controls are correct, the X positive/negative direction is reversed, and the Y positive/negative direction is correct1. Swap the X and Y motor wires as a whole
2. Reverse both the X and Y motor wiring

Forced movement function​

If you need to manually move the motor before homing, you must enable the forced movement function.

Add the following to printer.cfg:

printer.cfg
[force_move]
enable_force_move: true

After enabling, you can perform forced movement operations through the control interface:

Loading...
Notes
  • Uniaxial restriction: Only one motor can be forcibly moved at a time

  • Multi-axis collaboration: If multiple axes need to move synchronously (such as dual Z axes), set the printhead position first:

    SET_KINEMATIC_POSITION x=50 y=50 z=20
  • Security Tips: When using the forced movement function, make sure there are no obstacles in the printhead path


Homing troubleshooting​

Problem symptomPossible causeSolution
Homing triggers repeatedlyLimit signal is unstable or wiring is interfered withCheck whether the pull-up ^ symbol is added in the limit configuration, and check whether the wiring is loose
Motor jitters and does not homeMotor loses steps or drive current is insufficientCheck the drive current setting and whether the motor wiring is correct
Single axis cannot homeMotor wire order is wrong or limit switch is faultyCheck the motor wiring order and use QUERY_ENDSTOPS to confirm the limit switch status
Loading...