Homing and Direction Calibration Guide
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
- 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 label | Meaning | Description |
|---|---|---|
A | Phase A | The two wires of the same phase are connected together |
B | Phase B | The 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)
- 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_pinin 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
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 phenomenon | Description | Solution |
|---|---|---|
| Case 1 | XY axis controls are swapped, and both the positive and negative XY movement directions are reversed | Reverse the X motor wiring (swap any two phase wires of the X motor) |
| Case 2 | XY axis controls are swapped, but the positive and negative XY movement directions are correct | Reverse the Y motor wiring (swap any two phase wires of the Y motor) |
| Case Three | XY axis controls are swapped, the X positive/negative direction is correct, and the Y positive/negative direction is reversed | 1. Reverse the X motor wiring 2. Swap the X and Y motor wires as a whole |
| Case Four | XY axis controls are swapped, the X positive/negative direction is reversed, and the Y positive/negative direction is correct | 1. Reverse the Y motor wiring 2. Swap the X and Y motor wires as a whole |
| Case Five | XY axis controls are correct, but both the positive and negative XY directions are reversed | Reverse both the X motor and Y motor wiring |
| Case Six | XY axis controls are correct, the X positive/negative direction is correct, and the Y positive/negative direction is reversed | Swap the X and Y motor wires as a whole |
| Case Seven | XY axis controls are correct, the X positive/negative direction is reversed, and the Y positive/negative direction is correct | 1. 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:
[force_move]
enable_force_move: true
After enabling, you can perform forced movement operations through the control interface:
-
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 symptom | Possible cause | Solution |
|---|---|---|
| Homing triggers repeatedly | Limit signal is unstable or wiring is interfered with | Check whether the pull-up ^ symbol is added in the limit configuration, and check whether the wiring is loose |
| Motor jitters and does not home | Motor loses steps or drive current is insufficient | Check the drive current setting and whether the motor wiring is correct |
| Single axis cannot home | Motor wire order is wrong or limit switch is faulty | Check the motor wiring order and use QUERY_ENDSTOPS to confirm the limit switch status |