Bed leveling not working (TMC2130/PINDA sensor)
March 13, 2022 02:40PM
Hi Internet!

I had to change my Bear-PrusaMK3s´s mainboard and decided to go with a "BTT002"-32bit drop-in replacement board for the original Prusa Einsy Rambo board. I prefer Marlin anyway ;-)
Ok, so I took the MK3s- default config from the marlin configs and made it work with the new mainboard. There were some TMC2209-specific entrys which I changed to TMC2130-values like the endstop stall sensitivity, as well as SPI-Endstop settings.

But, my Bed leveling does not work, neither bilinear nor UBL.

When I do a G28, everything works fine, the head moves to the left and touches the frame, the bed moves to the back and touches the frame, then the head moves to the center of the bed and lowers until the LED on my Pinda probe goes off, so clearly everything related to G28 seems to work.
When doing a G29, however, the bed and head heat up (I configured it that way), the head touches the left frame, then the bed again the back, and then all of a sudden the leveling stops. Both with Bilinear and UBL.

I have made a detailled bed level log (M111 S32) and included it. It showas what I have decribed above, so, G28,G29. I also have included my config.h and config_adv.h.

It would be awesome If anybody has an idea whats wrong here.

Connecting...
Printer is now online.
>>> m111 s32
SENDING:M111 S32
echogrinning smileyEBUG:LEVELING
>>> G28  X0.00 Y-2.20 Z0.20
Machine Type: Cartesian
Probe: FIX_MOUNTED_PROBE
Probe Offset X23.00 Y5.00 Z0.30 (Right-Back & Above Nozzle)
Auto Bed Leveling: BILINEAR (disabled)
X current: 500 -> 250
Y current: 600 -> 300
Raise Z (before homing) by 2.00
>>> do_blocking_move_to  X0.00 Y-2.20 Z0.20
>  X0.00 Y-2.20 Z2.00
<<< do_blocking_move_to  X0.00 Y-2.20 Z2.00
>>> homeaxis(X)
Home Fast: -382.50mm
>>> do_homing_move  X0.00 Y-2.20 Z2.00
...(X, -382.50, [50.00])
<<< do_homing_move  X0.00 Y-2.20 Z2.00
>>> set_axis_is_at_home(X)
Axis X home_offset = 0.00 position_shift = 0.00
> home_offset[X] = 0.00
  current_position= X0.00 Y-2.20 Z2.00 :
<<< set_axis_is_at_home(X)
  current_position= X0.00 Y-2.20 Z2.00 : sync_plan_position
  current_position= X0.00 Y-2.20 Z2.00 : > AFTER set_axis_is_at_home
<<< homeaxis(X)
>>> homeaxis(Y)
Home Fast: -324.75mm
>>> do_homing_move  X2.00 Y-2.20 Z2.00
...(Y, -324.75, [50.00])
<<< do_homing_move  X2.00 Y-2.20 Z2.00
>>> set_axis_is_at_home(Y)
Axis Y home_offset = 0.00 position_shift = 0.00
> home_offset[Y] = 0.00
  current_position= X2.00 Y-2.20 Z2.00 :
<<< set_axis_is_at_home(Y)
  current_position= X2.00 Y-2.20 Z2.00 : sync_plan_position
  current_position= X2.00 Y-2.20 Z2.00 : > AFTER set_axis_is_at_home
<<< homeaxis(Y)
>>> home_z_safely  X2.00 Y-0.20 Z2.00
  current_position= X2.00 Y-0.20 Z2.00 : sync_plan_position
  destination= X104.00 Y101.25 Z0.00 : home_z_safely
>>> do_blocking_move_to  X2.00 Y-0.20 Z2.00
>  X104.00 Y101.25 Z2.00
echo:busy: processing
<<< do_blocking_move_to  X104.00 Y101.25 Z2.00
>>> homeaxis(Z)
  current_position= X104.00 Y101.25 Z2.00 : Probe::set_deployed
deploy: 1
Probe::do_z_raise(2.00)
>>> do_blocking_move_to  X104.00 Y101.25 Z2.00
>  X104.00 Y101.25 Z2.00
<<< do_blocking_move_to  X104.00 Y101.25 Z2.00
>>> do_blocking_move_to  X104.00 Y101.25 Z2.00
>  X104.00 Y101.25 Z2.00
<<< do_blocking_move_to  X104.00 Y101.25 Z2.00
Home Fast: -315.00mm
>>> do_homing_move  X104.00 Y101.25 Z2.00
...(Z, -315.00, [5.00])
echo:busy: processing
<<< do_homing_move  X104.00 Y101.25 Z2.00
Move Away: 2.00mm
>>> do_homing_move  X104.00 Y101.25 Z2.00
...(Z, 2.00, 20.00)
<<< do_homing_move  X104.00 Y101.25 Z2.00
Re-bump: -4.00mm
>>> do_homing_move  X104.00 Y101.25 Z2.00
...(Z, -4.00, 10.00)
<<< do_homing_move  X104.00 Y101.25 Z2.00
>>> set_axis_is_at_home(Z)
*** Z HOMED WITH PROBE (Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) ***
> probe.offset.z = 0.30
Axis Z home_offset = 0.00 position_shift = 0.00
> home_offset[Z] = 0.00
  current_position= X104.00 Y101.25 Z-0.10 :
<<< set_axis_is_at_home(Z)
  current_position= X104.00 Y101.25 Z-0.10 : sync_plan_position
  current_position= X104.00 Y101.25 Z-0.10 : > AFTER set_axis_is_at_home
  current_position= X104.00 Y101.25 Z-0.10 : Probe::set_deployed
deploy: 0
>>> do_blocking_move_to  X104.00 Y101.25 Z-0.10
>  X104.00 Y101.25 Z-0.10
<<< do_blocking_move_to  X104.00 Y101.25 Z-0.10
<<< homeaxis(Z)
<<< home_z_safely  X104.00 Y101.25 Z1.90
  current_position= X104.00 Y101.25 Z1.90 : sync_plan_position
  current_position= X104.00 Y101.25 Z1.90 : Leveling OFF
  current_position= X104.00 Y101.25 Z0.00 : ...Now ON
  current_position= X104.00 Y101.25 Z0.00 : sync_plan_position
Restore driver current...
<<< G28  X104.00 Y101.25 Z0.00
>>> G29  X104.00 Y101.25 Z0.00
Machine Type: Cartesian
Probe: FIX_MOUNTED_PROBE
Probe Offset X23.00 Y5.00 Z0.30 (Right-Back & Above Nozzle)
Auto Bed Leveling: BILINEAR (enabled)
Z Fade: 10.00
ABL Adjustment Z 0.000 ( 0.000)
Preheating hotend (160) and bed (50)
Wait for bed heating...
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
  current_position= X104.00 Y101.25 Z0.00 : Leveling ON
  current_position= X104.00 Y101.25 Z0.00 : ...Now OFF
  current_position= X104.00 Y101.25 Z0.00 : sync_plan_position
  current_position= X104.00 Y101.25 Z0.00 : Probe::set_deployed
deploy: 1
Probe::do_z_raise(2.00)
>>> do_blocking_move_to  X104.00 Y101.25 Z0.00
>  X104.00 Y101.25 Z2.00
<<< do_blocking_move_to  X104.00 Y101.25 Z0.00
>>> do_blocking_move_to  X104.00 Y101.25 Z0.00
>  X104.00 Y101.25 Z0.00
<<< do_blocking_move_to  X104.00 Y101.25 Z0.00
>>> Probe::probe_at_point  X104.00 Y101.25 Z0.00
...(23.00, 10.00, raise, 0, probe_relative)
  current_position= X104.00 Y101.25 Z0.00 :
>>> do_blocking_move_to  X104.00 Y101.25 Z0.00
>  X0.00 Y5.00 Z0.00
<<< do_blocking_move_to  X0.00 Y5.00 Z0.00
  current_position= X0.00 Y5.00 Z0.00 : Probe::set_deployed
deploy: 1
>>> Probe::run_z_probe  X0.00 Y5.00 Z0.00
>>> Probe::probe_down_to_z  X0.00 Y5.00 Z0.00
>>> do_blocking_move_to  X0.00 Y5.00 Z0.00
>  X0.00 Y5.00 Z-2.30
<<< do_blocking_move_to  X0.00 Y5.00 Z0.00
  current_position= X0.00 Y5.00 Z0.00 : sync_plan_position
<<< Probe::probe_down_to_z  X0.00 Y5.00 Z0.00
SLOW Probe fail! - No trigger.
<<< Probe::run_z_probe  X0.00 Y5.00 Z0.00
  current_position= X0.00 Y5.00 Z0.00 : Probe::set_deployed
deploy: 0
>>> do_blocking_move_to  X0.00 Y5.00 Z0.00
>  X0.00 Y5.00 Z0.00
<<< do_blocking_move_to  X0.00 Y5.00 Z0.00
Errortongue sticking out smileyrobing Failed
[ERROR] Errortongue sticking out smileyrobing Failed

<<< Probe::probe_at_point  X0.00 Y5.00 Z0.00
  current_position= X0.00 Y5.00 Z0.00 : Leveling OFF
  current_position= X0.00 Y5.00 Z0.00 : ...Now ON
  current_position= X0.00 Y5.00 Z0.00 : sync_plan_position
  current_position= X0.00 Y5.00 Z0.00 : Probe::set_deployed
deploy: 0
  current_position= X0.00 Y5.00 Z0.00 : > probing complete
  current_position= X0.00 Y5.00 Z0.00 : sync_plan_position
<<< G29  X0.00 Y5.00 Z0.00

Attachments:
open | download - Configuration.h (110 KB)
open | download - Configuration_adv.h (172.7 KB)
Re: Bed leveling not working (TMC2130/PINDA sensor)
March 28, 2022 10:36PM
I don't think that the leveling commands are the problem. Both UBL and BILINEAR worked properly on my printer. For BILINEAR I used the commands in your log.

I think the problem may be that Z_PROBE_LOW_POINT may be set too conservative (one of the settings in configuration.h). Your log says Error Probing Failed which means it failed to get a signal from the probe before reaching the Z_PROBE_LOW_POINT position.
Sorry, only registered users may post in this forum.

Click here to login