Hello @LazerKhat
[stepper_y]
step_pin: PB7
dir_pin: PB8
enable_pin: !PC3
microsteps: 16
rotation_distance: 39.72
endstop_pin: ^PA6
position_endstop: 0
position_max: 235
position_min: 24
homing_speed: 50
position_min: 24
describes the minimal position the printhead can reach. Even it is not over the bed any more.
It it is 24mm away from the bed, so you have to set position_min: -24
.
For more info see here:
The X and Y Axis
Klipper needs to know from its printer.cfg settings how far the X and Y axes can safely move without hitting the printer’s frame.
It also needs to know where the origin (X=0 / Y=0) is. This origin is the beginning of the usable printer bed.
In the following, we assume a Cartesian printer that follows the conventions of a Cartesian Coordinate System . This is also the reason why it is a quasi-standard to define the origin as the left-front corner of the bed. This way, all logic…