# Ender 6 Manta M8P axis moving wrong directions

**URL:** <https://klipper.discourse.group/t/ender-6-manta-m8p-axis-moving-wrong-directions/8530>\
**Category:** General Discussion\
**Created:** [May 21, 2023, 2:38pm UTC](https://klipper.discourse.group/t/ender-6-manta-m8p-axis-moving-wrong-directions/8530 "2023-05-21T14:38:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lew247](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@lew247](https://klipper.discourse.group/u/lew247)\
**Post date:** [May 21, 2023, 2:38pm UTC](https://klipper.discourse.group/t/ender-6-manta-m8p-axis-moving-wrong-directions/8530/1 "2023-05-21T14:38:20Z")

</div>

### Basic Information:

Printer Model: Ender 6  
 MCU / Printerboard:Manta M8P  
 `klippy.log`

### Describe your issue:

M8P V1.1 mainboard and Biqu H2 extruder  
I have given up on a weeks worth of trying to get it working and started again

I downloaded latest CB1 image from s://github.com/bigtreetech/CB1/releases dated March 6th  
flashed on a new SD card  
Changed Wifi SSID and Password to mine  
Booted Manta Mm8P  
Logged in with SSH  
compiled the firmware and flashed it as per the instructions  
Had tp put the board in DFU mode to flash as it would not install from SD card  
but it worked and using ls /dev/serial/by-id/ gives me my device ID

I then loaded the webpage using the IP address of the Manta M8P  
Updated all modules using the Update Manager  
Loaded my Ender 6 printer..cfg that has a Biqu H2 extruder on Motor 5  
made sure the printer.cfg uses all 3 endstops and the pins are correct

I have made 4 new stepper cables by referencing the pinout in the Manta M8P pins and physically checking each stepper with a multimeter to make certain I was wiring it correct  
I have checked the Jumpers for stepper power, TMC2209, Fan Voltage, Diag has no jumpers

Endstops are:  
X is on the right hand side of the machine looking at it  
Y is at the back right looking at it

The only other difference is I’ve got 15mm less travel in both axis due to linear rails being fitted.

When I try and home any axis  
X moves the carriage forward towards the front of the machine  
Y moves the carriage to the right of the machine

Nothing I do changes this, I have even tried swapping the X and Y stepper cables but that just made it worse

I have tried everything possible to fix this and using the Configuration checks in the Klipper documentation doesn’t help  
M112 works  
All of the printer axes can manually move freely  
Verified endstops  
STEPPER\_BUZZ STEPPER=stepper\_x moves the carriage moves back and left at the same time  
STEPPER\_BUZZ STEPPER=stepper\_y moves the carriage moves back and right at the same time  
I have checked the belts using the service tutorial video

Can anyone look at my config and tell me if they can see what’s wrong?  
[klippy.log](https://klipper.discourse.group/uploads/short-url/cl2YzJN6RweREAL1rWotVw77UAS.log) (125.5 KB)

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [May 21, 2023, 2:54pm UTC](https://klipper.discourse.group/t/ender-6-manta-m8p-axis-moving-wrong-directions/8530/2 "2023-05-21T14:54:14Z")

</div>

Hello @lew247 !

> [@lew247](#):
>
> STEPPER\_BUZZ STEPPER=stepper\_x moves the carriage moves back and left at the same time  
> STEPPER\_BUZZ STEPPER=stepper\_y moves the carriage moves back and right at the same time

It is a CoreXY pinter. Both steppers have to move to move the printhead in one direction:

> **[CoreXY Kinematics - 3D Distributed](https://3ddistributed.com/corexy-3d-printer/corexy-kinematics/)**
>
> The corexy kinematics mechanical arrangement includes a unique motor movement where the X or Y motor move together or opposite of each other to move the

Have you tried to invert the direction of the X and Y steppers?

---

<div class="post-metadata">

**Author:** ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)\
**Post date:** [May 21, 2023, 5:27pm UTC](https://klipper.discourse.group/t/ender-6-manta-m8p-axis-moving-wrong-directions/8530/3 "2023-05-21T17:27:00Z")

</div>

The attached link will show you how to make the printer move in the correct direction on a corexy. You might need to swap the X and Y (really should be called A and B), and you might need to invert the direction on one or both motors.

> **[Initial Startup](https://docs.vorondesign.com/build/startup/#motor-configuration-guides)**
>
> Voron Official and Community Documentation

---

<div class="post-metadata">

**Author:** ![lew247](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@lew247](https://klipper.discourse.group/u/lew247)\
**Post date:** [May 21, 2023, 7:17pm UTC](https://klipper.discourse.group/t/ender-6-manta-m8p-axis-moving-wrong-directions/8530/4 "2023-05-21T19:17:58Z")

</div>

I’ve actually done all that and tried swapping the X and Y as per my post details

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [May 21, 2023, 7:29pm UTC](https://klipper.discourse.group/t/ender-6-manta-m8p-axis-moving-wrong-directions/8530/5 "2023-05-21T19:29:43Z")

</div>

I assume also the motor direction.

---

<div class="post-metadata">

**Author:** ![lew247](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@lew247](https://klipper.discourse.group/u/lew247)\
**Post date:** [May 21, 2023, 7:49pm UTC](https://klipper.discourse.group/t/ender-6-manta-m8p-axis-moving-wrong-directions/8530/6 "2023-05-21T19:49:05Z")

</div>

Yes as well as swapping the cables I have tried reversing both motors one at a time and it still does the same thing

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [May 21, 2023, 8:40pm UTC](https://klipper.discourse.group/t/ender-6-manta-m8p-axis-moving-wrong-directions/8530/7 "2023-05-21T20:40:11Z")

</div>

I’ve been through this a couple of times on my CoreXY printers and it’s frustrating.

What I now do is first identify my variables with labels, make up a table of the various wiring permutations, work through the table entries and record what I see for each condition. On my Manta, I use the Motor1, Motor2 Stepper Drivers for X & Y, Cable A for the Stepper on the Left Side and Cable B for the Stepper on the Right Side, Direction1 and Direction2 pins for the DIR values in my printer.cfg so it looks something like:

```auto
Cable A Cable B Direction1 Direction2
Motor1 Motor2 PB4 PF11
Motor1 Motor2 PB4 !PF11
Motor1 Motor2 !PB4 !PF11
Motor1 Motor2 !PB4 PF11
Motor2 Motor1 !PB4 PF11
Motor2 Motor1 !PB4 !PF11
Motor2 Motor1 PB4 !PF11
Motor2 Motor1 PB4 PF11

```

Note that I use a Grey Code approach so that I’m only changing one variable at a time.

Let us know if this helps.

---

<div class="post-metadata">

**Author:** ![lew247](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@lew247](https://klipper.discourse.group/u/lew247)\
**Post date:** [May 22, 2023, 8:36am UTC](https://klipper.discourse.group/t/ender-6-manta-m8p-axis-moving-wrong-directions/8530/8 "2023-05-22T08:36:26Z")

</div>

Thank you so much, that finally worked  
I had to have  
Motor2 Motor1 !PB4 !PF11 and now it works in the right directions

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [December 18, 2024, 7:58pm UTC](https://klipper.discourse.group/t/ender-6-manta-m8p-axis-moving-wrong-directions/8530/9 "2024-12-18T19:58:18Z")

</div>


