Endstop still triggered after retract

Basic Information:

Printer Model: Anycubic Kobra 2 MAX
MCU / Printerboard: BTT Manta E3EZ
klippy.log (469.7 KB)
klippy.log

Describe your issue:

Everything boots fine but when I try to home X or Y I get the error “Endstop stepper_x still triggered after retract”. The steppers don’t move at all, just a slight buzz. Wiring issue?

  1. The enable pins have to be inverted.

then

  1. For the endstops use verify-endstops

Best is, you go through this complete document: Configuration checks - Klipper documentation

  1. My enable pins are already inverted in printer.cfg
  2. I have verified the endstops are properly working, exactly the same as the Configuration Checks in Klipper documentation. I can see in the current state in the Endstops window and by issuing a QUERY_ENDSTOPS command. When the switch is not activated it shows ‘open’, when I activate the switch it shows ‘triggered’.
[stepper_x]
step_pin = PA14
dir_pin = !PA10
enable_pin = PA13
microsteps = 16
rotation_distance = 40
endstop_pin = ^!PC4
position_endstop = 0
position_max = 235
homing_speed = 50

[stepper_y]
step_pin = PC8
dir_pin = !PA15
enable_pin = PC14
microsteps = 16
rotation_distance = 40
endstop_pin = ^!PB0
position_endstop = 0
position_max = 235
homing_speed = 50

[stepper_z]
step_pin = PD2
dir_pin = PD4
enable_pin = PD3
microsteps = 16
rotation_distance = 8
endstop_pin = ^!PC6
position_endstop = 0
position_max = 270

[extruder]
step_pin = PD5
dir_pin = !PD6
enable_pin = PB3
microsteps = 16
rotation_distance = 33.500
nozzle_diameter = 0.400
filament_diameter = 1.750
heater_pin = PB11
sensor_type = EPCOS 100K B57560G104F
sensor_pin = PA4
control = pid
pid_kp = 21.527
pid_ki = 1.063
pid_kd = 108.982
min_temp = 0
max_temp = 250

Sorry, where?

Is this not inverted, exactly at the Configuration Checks document says they should be?

endstop_pin = ^!PC4
endstop_pin = ^!PB0

I’m talking about the enable_pins!

Lines 4, 15, 26 & 36 in my previous post.

Ah! Sorry, sometimes these old eyes don’t read correctly the first time. :slight_smile:
Thank you, will try that.
EDIT: it worked!
Thank you so much for helping!