Homing not working

Machine TowTrees Bluer Plus

MKS ROBIN NANO V1.2
MKS Robin TFT43 V1.0
3D touch
Driver TMC2209
Motors Z,E1 17HS4401S - 1.8°
Motors X,Y 17HS4401S - 0.9°

Firmware Configuration

image
printer.cfg.txt

# This file contains common pin mappings for the Two Trees Bluer
# Plus printer.

# To use this config, the firmware should be compiled for the STM32F103.
# When running "make menuconfig" you have to:
# - enable "extra low-level configuration setup",
# - select the 28KiB bootloader,
# - select serial (on USART3 PB11/PB10) communication

# Note that the "make flash" command does not work with the Sapphire
# Pro. After running "make", run the following command:
#   ./scripts/update_mks_robin.py out/klipper.bin out/Robin_nano43.bin
# Copy the file out/Robin_nano43.bin to an SD card and then restart the printer with that SD card.

# See docs/Config_Reference.md for a description of parameters.

[stepper_x]
step_pin: PE3
dir_pin: PE2
enable_pin: !PE4
microsteps: 16
rotation_distance: 32
endstop_pin: !PA15
position_endstop: 0
position_max: 400
#homing_speed: 50
homing_speed: 5

[stepper_y]
step_pin: PE0
dir_pin: !PB9
enable_pin: !PE1
microsteps: 16
rotation_distance: 32
endstop_pin: !PA12
position_endstop: 0
position_max: 400
#homing_speed: 50
homing_speed: 5

[stepper_z]
step_pin: PB5
dir_pin: PB4
enable_pin: PB8
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 400

#[safe_z_home]
#home_xy_position: 100,100 
#speed: 50
#z_hop: 20                 # Move up 10mm
#z_hop_speed: 5

[extruder]
step_pin: PD6
dir_pin: !PD3
enable_pin: !PB3
microsteps: 16
rotation_distance: 6.720
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PC3
sensor_type: EPCOS 100K B57560G104F # Stock
sensor_pin: PC1
min_temp: 0
max_temp: 250
control: pid
pid_Kp: 17.48
pid_Ki: 1.32
pid_Kd: 57.81

[heater_bed]
heater_pin: PA0
sensor_type: EPCOS 100K B57560G104F # Stock
sensor_pin: PC0
min_temp: 0
max_temp: 100
control = pid
pid_kp = 57.178
pid_ki = 0.786
pid_kd = 1039.925


[servo bltouch]
pin: PA8
maximum_servo_angle: 180
minimum_pulse_width: 0.0006
maximum_pulse_width: 0.0024

# Define a probe using the BLTouch
[probe]
pin: ^PC11
x_offset: 0
Y_offset: 22
z_offset: 2.41
activate_gcode:
	SET_SERVO SERVO=bltouch ANGLE=120
	G4 P200
deactivate_gcode:
	SET_SERVO SERVO=bltouch ANGLE=10
	G4 P100

#[bltouch]
#sensor_pin: ^PA11
#control_pin: PA8
#x_offset: -30
#y_offset: -5
## Increase Z_Offset to lower nozzle closer to bed. PLA 2.6
#z_offset: 3.65
#pin_move_time: 0.3
#speed: 8
##pin_up_touch_mode_reports_triggered: False
##pin_up_reports_not_triggered: true


[fan]
pin: PB1

[mcu]
serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.4:1.0-port0
#serial: /dev/ttyUSB0
baud: 250000
restart_method: command

[printer]
kinematics: corexy
max_velocity: 250
max_accel: 4500
max_z_velocity: 25
max_z_accel: 100

Context

I start klipper configuration from scratch. After reading the doc, looking configurations examples, i follow the config checks. STEPPER_BUZZ move the right axe. QUERY_ENDSTOPS show triggered the good sensor axe. Because of the 3DTouch, at the moment I don’t take care of the Z axis.

Problem

After that, i try to make G28 homing. But i observe tow “strangers thinks” :wink: On each case Z axe never move. For the tests I have put axes on slow motion by setting homing_speed: 5.

When X endstop first

After G28 axes X and Y move in right direction. When X endstop sensor are triggered, X and Y go back direction for some steps and go right direction again, the X motor make bad noise because forcing … i issue M112 to stop it.

When Y endstop first

klippy.log
After G28 axes X and Y move in right direction. When Y endstop sensor are triggered, X and Y don’t go back direction and go right direction again, the Y motor make bad noise because forcing … i issue M112 to stop it.

I have checked several messes up the configuration, and I don’t think I have any error in the configuration… I don’t know what else I can do.

Thank you.

I found it to be a stupid error in configuring the printer type. After some research I understood that my printer is of the “Cartesian” type.

...
[printer]
kinematics: cartesian
...

Thank you

1 Like