Setting X/Y Min Max?

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: