Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Wrong home position after applying home offset #27444

Closed
1 task done
Palpalych13 opened this issue Sep 27, 2024 · 3 comments
Closed
1 task done

[BUG] Wrong home position after applying home offset #27444

Palpalych13 opened this issue Sep 27, 2024 · 3 comments

Comments

@Palpalych13
Copy link

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

I had own configuration of Marlin with Voxelab Aquila C2 + BTT mini mainboard.
I configure my printer to sensorless homing and want to apply some home offsets, but I gave some troubles after that.

My investigation shown that problem, After applying that settings, the printer do home parking incorrect. After the attempt of X-parking, my printer stops further positioning of the Y axis, and home coordinates not right to start printing.

The problem I has solved by update a string in the function home_z_safely() in the 147 line of G28.cpp module.
At past was be addressing to default function with 0 mm/s feedrate, which finished with abnormal result after X-homing when applying home offsets.

Wrong string was: do_blocking_move_to_xy(destination);
The new one: do_blocking_move_to_xy(destination, 10);

image

Bug Timeline

Probably the old

Expected behavior

No response

Actual behavior

No response

Steps to Reproduce

No response

Version of Marlin Firmware

2.1.2.4

Printer model

Any (but I has Voxelab Aquila C2 + BTT mini mainboard)

Electronics

No response

LCD/Controller

No response

Other add-ons

No response

Bed Leveling

MBL Manual Bed Leveling

Your Slicer

None

Host Software

None

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

No response

@thinkyhead
Copy link
Member

thinkyhead commented Oct 9, 2024

The feedrate for this move is determined by XY_PROBE_FEEDRATE_MM_S, which will come from the best source it can determine, like so:

#if HAS_ABL_NOT_UBL
  extern feedRate_t xy_probe_feedrate_mm_s;
  #define XY_PROBE_FEEDRATE_MM_S xy_probe_feedrate_mm_s
#elif defined(XY_PROBE_FEEDRATE)
  #define XY_PROBE_FEEDRATE_MM_S MMM_TO_MMS(XY_PROBE_FEEDRATE)
#else
  #define XY_PROBE_FEEDRATE_MM_S PLANNER_XY_FEEDRATE()
#endif
. . .
#define PLANNER_XY_FEEDRATE() _MIN(planner.settings.max_feedrate_mm_s[X_AXIS], planner.settings.max_feedrate_mm_s[Y_AXIS])

Check your settings and adjust your homing and probing feedrates and see if you can fix the issue without imposing a 10 mm/s feedrate on all configurations.

@Palpalych13
Copy link
Author

The XY_PROBE_FEEDRATE_MM_S not used in Configuration.h.
Is the NOZZLE_PARK_XY_FEEDRATE but it can be undefined.
I decided to fix this problem like this:
image

@Palpalych13
Copy link
Author

Not actually now. Revised this issue. The system reset was caused by moving the nozzle set in XY_PROBE_FEEDRATE too fast (133 mm/s in my case). At the same time, I used an increased number of microsteps for steppers XY.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants