Z axis only moves 10mm up and then freezes

Basic Information:

Printer Model: Tronxy XY 2 Pro
MCU / Printerboard: Manta M8P V2
Host / SBC Version: v0.12.0-189-ge0cbd7b5
OS: BTT-CB1 2.3.4 Bullseye
klippy.log
klippy.log (1.2 MB)

I’ve checked all my pins over and over. X,Y work great even with sensor less homing. Yet my Z axis goes up about 10mm and then freezes every time. I can’t for the life of me see what I’m missing and it’s my second day trying to wire this new board. So I bow to the experts and beg for aid.

I’ve swapped drivers, I’ve tested it on a different motor with the same result. I’ve checked motor wiring it’s good. When I uncomment the uart then the motor keeps spinning.

Thanks!

I don’t think you have your endstop configured correctly and you’re confusing your endstop pin with the TMC2209’s diag pin.

When I look through your klippy.log, I see that you are using (most of the time) PF2 as your endstop and diag pins:

[stepper_z]
step_pin = PB8
dir_pin = !PB7
enable_pin = !PE0
microsteps = 16
rotation_distance = 8
endstop_pin = ^PF2
position_max = 270
position_min = -5.0
homing_speed = 8
second_homing_speed = 3
homing_retract_dist = 0

[tmc2209 stepper_z]
uart_pin = PB9
diag_pin = PF2
run_current = 1.3
stealthchop_threshold = 999999

You need to delete the diag_pin = PF2 line in your [tmc2209 stepper_z] statement. AND, I suspect that you will need to check the diag jumper for Motor 3 (your Z axis stepper).

You haven’t explained how you’re doing your Z axis endstop so I can’t comment any further. But, removing the diag_pin statement and checking the jumper is a good first step.

1 Like

I feel validated as I suspected it had something to do with that pin so I wasn’t out to lunch there and I had checked the jumpers over and over.

That being said I wouldn’t have gotten it working without your help! So thank you so much mykepredko.

I did pull all the pins once before and even changed the jumpers for different ones. After deleting the diag_pin = PF2 line and pulling all the steppers out changing the jumpers again and reseating everting. It actually worked!!!

You’re my hero tonight!

P.S. My Z endstop is my BL touch. It gave me some trouble but I got it working lol.

Here’s my working config (still lots to do on it but my axis work lmao. (I know when I’m digging through the forums sometimes I’d kill for one of these to compare with lol)

> [mcu]
> #serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
> serial: /dev/serial/by-id/usb-Klipper_stm32h723xx_30002C000551313433343333-if00
> 
> # [bltouch]
> # sensor_pin: PD13
> # control_pin: PD12
> # z_offset: 0
> # probe_with_touch_mode: true
> 
> 
> # Motor1
> [stepper_x]
> step_pin: PE6
> dir_pin: !PE5
> enable_pin: !PC14
> microsteps: 16
> rotation_distance: 40
> endstop_pin: tmc2209_stepper_x:virtual_endstop
> position_endstop: 0
> position_max: 235
> homing_speed: 50
> homing_retract_dist: 0
> 
> [tmc2209 stepper_x]
> uart_pin: PC13
> diag_pin: PF4
> run_current: 0.0800
> stealthchop_threshold: 999999
> driver_SGTHRS: 127
> 
> # Motor2
> [stepper_y]
> step_pin: PE2
> dir_pin: !PE1
> enable_pin: !PE4
> microsteps: 16
> rotation_distance: 40
> # endstop_pin: ^PF3
> endstop_pin: tmc2209_stepper_y:virtual_endstop
> position_endstop: 0
> position_max: 235
> homing_speed: 50
> homing_retract_dist: 0
> 
> [tmc2209 stepper_y]
> uart_pin: PE3
> diag_pin: PF3
> run_current: 0.9
> stealthchop_threshold: 999999
> driver_SGTHRS: 100
> 
> # Motor3
> [stepper_z]
> step_pin = PB8
> dir_pin = PB7
> enable_pin = !PE0
> microsteps = 16
> rotation_distance = 8
> endstop_pin = probe:z_virtual_endstop
> position_max = 270
> position_min = -5.0
> homing_speed = 8
> second_homing_speed = 3
> homing_retract_dist = 20
> 
> [tmc2209 stepper_z]
> uart_pin = PB9
> # diag_pin = PF2
> run_current = 1.3
> stealthchop_threshold = 999999
> 
> ## Motor4
> # The M8P only has 4 heater outputs which leaves an extra stepper
> # This can be used for a second Z stepper, dual_carriage, extruder co-stepper,
> # or other accesory such as an MMU
> #[stepper_]
> #step_pin: PB4
> #dir_pin: PB3
> #enable_pin: !PB6
> #endstop_pin: ^PF1
> #...
> 
> # Motor5
> [extruder]
> step_pin: PG13
> dir_pin: PG12
> enable_pin: !PG15
> microsteps: 16
> rotation_distance: 33.500
> nozzle_diameter: 0.4
> filament_diameter: 1.75
> heater_pin: PA0 # HE0
> sensor_pin: PB0 # T0
> sensor_type: Generic 3950
> control: pid
> pid_Kp: 22.2
> pid_Ki: 1.08
> pid_Kd: 114
> min_temp: 0
> max_temp: 250
> 
> [tmc2209 extruder]
> uart_pin: PG14
> run_current: 0.950
> stealthchop_threshold: 999999
> 
> ## End-Stop 5
> #[filament_switch_sensor material_0]
> #switch_pin: PF0
> 
> ## Motor6
> #[extruder1]
> #step_pin: PG9
> #dir_pin: PD7
> #enable_pin: !PG11 
> #heater_pin: PA1 # HE1 
> #sensor_pin: PC5 # T1
> #...
> 
> ## End-Stop 6
> #[filament_switch_sensor material_1]
> #switch_pin: PC15
> 
> ## Motor7
> #[extruder2]
> #step_pin: PD4
> #dir_pin: PD3
> #enable_pin: !PD6
> #heater_pin: PA3 # HE2
> #sensor_pin: PC4 # T2
> #...
> 
> ## Motor8
> #[extruder3]
> #step_pin: PC7
> #dir_pin: PC8
> #enable_pin: !PD2
> #heater_pin: PA5 # HE3
> #sensor_pin: PA7 # T3
> #...
> 
> [heater_bed]
> heater_pin: PF5
> sensor_pin: PB1 # TB 
> sensor_type: ATC Semitec 104GT-2
> control: watermark
> min_temp: 0
> max_temp: 130
> 
> #[fan_generic soc-fan]
> #pin: host:gpio79  #CB1
> #pin: host:gpio26  #CM4
> 
> # Fan0
> [fan]
> pin: PF7
> 
> ## Fan1
> #[heater_fan fan1]
> #pin: PF9
> 
> ## Fan2
> #[heater_fan fan2]
> #pin: PF6
> 
> ## Fan3
> #[heater_fan fan3]
> #pin: PF8
> 
> ## Fan4
> #[heater_fan fan4]
> #pin: PA4
> 
> ## Fan5
> #[heater_fan fan5]
> #pin: PA6
> #tachometer_pin: PC2
> 
> ## Fan6
> #[heater_fan fan6]
> #pin: PA2
> #tachometer_pin: PC1
> 
> [printer]
> kinematics: cartesian
> max_velocity: 300
> max_accel: 3000
> max_z_velocity: 5
> max_z_accel: 100
> 
> ########################################
> # TMC2209 configuration
> ########################################
> 
> ## Motor1
> 
> ## Motor2
> 
> ## Motor3
> 
> ## Motor4
> #[tmc2209 stepper_]
> #uart_pin: PB5
> ##diag_pin: PF1
> #run_current: 0.650
> #stealthchop_threshold: 999999
> 
> ## Motor5
> 
> ## Motor6
> #[tmc2209 extruder1]
> #uart_pin: PG10
> #run_current: 0.800
> #stealthchop_threshold: 999999
> 
> ## Motor7
> #[tmc2209 extruder2]
> #uart_pin: PD5
> #run_current: 0.800
> #stealthchop_threshold: 999999
> 
> ## Motor8
> #[tmc2209 extruder3]
> #uart_pin: PC6
> #run_current: 0.800
> #stealthchop_threshold: 999999
> 
> [board_pins]
> aliases:
>     # EXP1 header
>     EXP1_1=PE7, EXP1_2=PG1,
>     EXP1_3=PG0, EXP1_4=PF15,
>     EXP1_5=PF14, EXP1_6=PF13,    # Slot in the socket on this side
>     EXP1_7=PF12, EXP1_8=PF11,
>     EXP1_9=<GND>, EXP1_10=<5V>,
> 
>     # EXP2 header
>     EXP2_1=PE13, EXP2_2=PE12,
>     EXP2_3=PE15, EXP2_4=PE11,
>     EXP2_5=PE10, EXP2_6=PE14,      # Slot in the socket on this side
>     EXP2_7=PE8, EXP2_8=<RST>,
>     EXP2_9=<GND>, EXP2_10=<NC>
> 
> # See the sample-lcd.cfg file for definitions of common LCD displays.
> 
> #[adxl345]
> #cs_pin: PA15
> #spi_bus: spi3a
> 
> ## Proximity switch
> #[probe]
> #pin: PD8
> 
> #[output_pin ps_on_pin]
> #pin: PD14
> 
> #[neopixel my_neopixel_1]
> #pin: PD15
> 
> #[hall_filament_width_sensor]
> #adc1: PC0
> #adc2: PF10
1 Like

Happy to hear I helped you move forward.

Good luck and I look forward to see what you come up with.

1 Like

Thanks! I’m hoping to turn it into a switchwire and maybe if I can justify it I’ll build a core-xy machines of some sorts.

I’m an addict… I have a problem lmao.

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