Steeper X moves with stepper z

Raptor 2
BIQU Manta M8P with CB1 and EBB36

I keep having layer shift on the Y axis. I was planning to add an extra stepper to the Y since I increased the bed from 400 to 800.

I set everything up in Klipper and connect a stepper to motor 5 without mounting it, but then the Y didn’t move. Then I switched the cable on motor 4 and motor 5 and Y is working, but the motor I have not mounted only turns when there is movement on the Z axis.
Right now I have motor 5 connected to stepper Y and motor 4 connected to the unmounted stepper that turns when Y is moving.

Here is my settings in Printer.cfg

Motor1

[stepper_x]
step_pin: PE6
dir_pin: PE5
enable_pin: !PC14
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PF4
position_endstop: 0
position_max: 400
homing_speed: 50

Motor2

[stepper_z]
step_pin: PE2
dir_pin: !PE1
enable_pin: !PE4
microsteps: 16
rotation_distance: 4
endstop_pin: probe:z_virtual_endstop
position_max: 675
homing_speed: 50
position_min: -5.0
second_homing_speed: 3
homing_retract_dist: 5

Motor3

[stepper_z1]
step_pin: PB8
dir_pin: !PB7
enable_pin: !PE0
microsteps: 16
rotation_distance: 4

Motor4

[stepper_y]
step_pin: PB4
dir_pin: !PB3
enable_pin: !PB6
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PF3
position_endstop: 0
position_max: 800
homing_speed: 50

Motor5

[stepper_y1]
step_pin: PG13
dir_pin: !PG12
enable_pin: !PG15
microsteps: 16
rotation_distance: 40

#motor1
[tmc5160 stepper_x]
cs_pin: PC13
interpolate: False
run_current: 1.5
hold_current: 1.0
sense_resistor: 0.033
spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8
stealthchop_threshold: 0

#motor2
[tmc5160 stepper_z]
cs_pin: PE3
interpolate: False
run_current: 1.5
hold_current: 1.0
sense_resistor: 0.033
spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8
stealthchop_threshold: 0

#motor3
[tmc5160 stepper_z1]
cs_pin: PB9
interpolate: False
run_current: 1.5
hold_current: 1.0
sense_resistor: 0.033
#driver_SGT: 0
spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8
stealthchop_threshold: 0

#motor4
[tmc5160 stepper_y]
cs_pin: PB5
interpolate: False
run_current: 1.9
hold_current: 1.0
sense_resistor: 0.033
spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8
stealthchop_threshold: 0

#motor5
[tmc5160 stepper_y1]
cs_pin: PG14
interpolate: False
run_current: 1.9
hold_current: 1.0
sense_resistor: 0.033
spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8
stealthchop_threshold: 0

klippy.log (64.7 KB)

I don’t know about the pinout of the manta, but my octopus for example has two connectors for motor2 for double driven Z-axis. Are you sure not to have mixed up your wiring with such a “copied” connector?

1 Like

As you can see i already have two motors for the z axis and they works fine. I need a second for the x.

When you upload the klippy.log, there is no need to copy&paste code snippets from the printer.cfg. If you want to do so, please use preformatted text to do so.

Format

2 Likes

I just want to point out, that the connectors aren’t in strict sequential order (here Motor3 is doubled):


And this sometimes lead to strange results …

How have you connected the steppers to that board? So, what stepper to what connector?

ok, thanks

Motor1 X, Motor2 Z, Motor3 Z1, Motor4 Y and Motor5 Y1

Just as it is in the printer.cfg

In the Manta M8P V2.0 documentation the motors are called 1 to 8 no a and b as you can see on the generic printer.cfg.

Printer.cfg

The board picture has no reference to the motors.

Here are the settings when naming the motors 3A and 3B.

Before I had Motor1 on X, Motor2 on Y and Motor3A on Z and Motor3B on Z1.

Then I added the second X to Motor5 and it moved only when Z moved, I thought it was because it was after Z1.

Then I changed it to the order I have now, Motor1 X, Motor2 Z, Motor3A Z1, Motor3B Y and Motor4 Y1.

When I started the printer to do a Home All theY just moved for a second, but the Steeper I had on the table connected to Motor5 was running.

Then I switched the cables on Motor 4 and Motor 5 and I could Home All, then I noticed that the stepper on the table was moving when Z was moving.

I also tried to move the stepper to motor 6 and it still turned like it was Z.

It is common on main controller boards to put in to “Z” axis stepper motor connectors that are wired in parallel.

This is done for printers that use two steppers for the Z axis and are expected to operate together, like this Ender 3 modification:

You should have asked yourself, if there are NINE stepper motor connectors on the Manta M8P main controller board and each one is separate, why aren’t there NINE stepper motor drivers.

2 Likes

Be careful. As @EddyMI3D and @mykepredko are trying to point out:

  • Your board has 9 stepper connectors but only 8 stepper driver
  • Two connectors are sharing the same driver, most likely 3A and 3B as pointed out above
  • Typically they can be used (I would not do it) to synchronously drive two Z stepper in a dual Z stepper setup
3 Likes

You are saying that the 4th connection is the same as the 3 and they use same driver?
I should wire it like this?
Connecter 1 to X in printer.cfg it is motor1
Connecter 2 to Z in printer.cfg it is motor2
Connecter 3 to Z1 in printer.cfg it is motor3
Don’t use Connecter 4
Connecter 5 to Y in printer.cfg it is motor4
Connecter 6 to Y1 in printer.cfg it is motor 5

To be honest I didn’t count them.

Yup. That’s what I’m saying.

Ok i will try tomorrow let you know.

I’m curious, if my first consideration is the correct one.

I will let you know tomorrow. If you are right then I’m mad a biqu for not pointing it out in the manual.

I had the original motherboard running with marlin and had no problems with shifting layers ( it shift like 10 mm) and I’m printing at the same speed.
The only reason i upgraded to a new motherboard and Klipper was to speed it up. I have now spend over 100 hours and I have a printer that i can’t use.

… hopefully this becomes to be an easy fix now.

You are correct it works after i moved 4 and 5 one one Connecter up and nothing in the 4th Connecter.
Hopefully when i add the second stepper it will stop skipping.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.