-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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] Kossel delta does not calibrate #26907
Comments
Whenever there are homing or leveling issues, we now ask everyone to follow a standard procedure to gather more information:
Repeat this procedure, if needed, to demonstrate inconsistencies. From these logs we should hopefully get a better idea of what's going on with your machine. |
homing z moves 1.5 * z height, which your config says is 300mm, so a z home attempts to move 450mm and expects to hit an endstop or it errors if they are not triggered. I suspect your steps/mm is just not correct, since its calculated from these, one or more of these is probably incorrect for your machine. Do a simple test, move all carriage up high and home Z |
@thisiskeithb And redoing the bug fix seem to have fixed the g28 problem but produces a new problem of inconsistent g0 z0 f500 when I try to do offset. XwX Log 1 after following UR steps. >w> Log 2 after your steps, removed probe, then reboot printer to do z offset check before bed leveling: Firmware after applying bugfixs and edit the codes for my printer: @ellensp The output result is 49.69mm after measuring three times. >w> |
Both of these logs show that you're still running Marlin Please follow the steps listed in my previous comment exactly, which includes downloading the latest |
@thisiskeithb |
Use VSCode & PlatformIO instead of Arduino IDE and make sure you're using |
@AkagiVoid If it helps. |
@Foxies-CSTL: Can you apply just the changes from initial commit in that PR? a72764e diff:
diff --git a/Marlin/src/module/delta.cpp b/Marlin/src/module/delta.cpp
index cfa134860b86..b624396d5217 100644
--- a/Marlin/src/module/delta.cpp
+++ b/Marlin/src/module/delta.cpp
@@ -242,7 +242,7 @@ void home_delta() {
#endif
// Move all carriages together linearly until an endstop is hit.
- current_position.z = DIFF_TERN(HAS_BED_PROBE, delta_height + 10, probe.offset.z);
+ current_position.z = TERN(HAS_BED_PROBE, DIFF_TERN(USE_PROBE_FOR_Z_HOMING, delta_height + 10, probe.offset.z), delta_height + 10);
line_to_current_position(homing_feedrate(Z_AXIS));
planner.synchronize();
TERN_(HAS_DELTA_SENSORLESS_PROBING, endstops.report_states());
diff --git a/Marlin/src/module/motion.cpp b/Marlin/src/module/motion.cpp
index 272b16c9ac0f..e96c2ca4d5c0 100644
--- a/Marlin/src/module/motion.cpp
+++ b/Marlin/src/module/motion.cpp
@@ -892,7 +892,7 @@ void restore_feedrate_and_scaling() {
#elif ENABLED(DELTA)
soft_endstop.min[axis] = base_min_pos(axis);
- soft_endstop.max[axis] = (axis == Z_AXIS) ? DIFF_TERN(HAS_BED_PROBE, delta_height, probe.offset.z) : base_max_pos(axis);
+ soft_endstop.max[axis] = (axis == Z_AXIS) ? TERN(HAS_BED_PROBE, DIFF_TERN(USE_PROBE_FOR_Z_HOMING, delta_height, probe.offset.z) , delta_height) : base_home_pos(axis);
switch (axis) {
case X_AXIS:
@@ -2468,7 +2468,7 @@ void set_axis_is_at_home(const AxisEnum axis) {
#if ANY(MORGAN_SCARA, AXEL_TPARA)
scara_set_axis_is_at_home(axis);
#elif ENABLED(DELTA)
- current_position[axis] = (axis == Z_AXIS) ? DIFF_TERN(HAS_BED_PROBE, delta_height, probe.offset.z) : base_home_pos(axis);
+ current_position[axis] = (axis == Z_AXIS) ? TERN(HAS_BED_PROBE, DIFF_TERN(USE_PROBE_FOR_Z_HOMING, delta_height, probe.offset.z) , delta_height) : base_home_pos(axis);
#else
current_position[axis] = SUM_TERN(HAS_HOME_OFFSET, base_home_pos(axis), home_offset[axis]);
#endif If that doesn't work, I'll submit a PR to fully revert #26297. |
Test on my Delta QQSP (BugFix 2.1.3 - Bump 2024/04/29): I don't have the same behavior, but the calibration is still not complete. so this doesn't solve the problem. 20240511-CalibbrationDelta2.mp4Sorry about the quality. Log debug file: |
PR to revert #26297 has been submitted: |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
Reporting odd behavior bug for G28 auto home in example code for my kossel Linear Plus non pulley version. >w>
Bug Timeline
Possibly a New bug, 2024-03-26
Expected behavior
Auto home Z axis. >w>
Actual behavior
The rod carriage on all three horizontal bars stops within 5mm from hitting the switch lever, and printer triggers a fail safe for no reason. >w>
Steps to Reproduce
Step1: Download latest Marlin and install. :P
Step2: Download latest Arduino and install. :3
Step3: Download latest Marlin 2.1.2.2 Example Configurations, extract, open extract folder to "config\examples\delta\Anycubic\Kossel Linear Plus" copy the .h files. >w>
Step4: pasted the copied files directly into "Marlin" folder then open the .ino file with Arduino. >w>
Step5: Calibrate settings to match what I know about my Kossel like the 96 Esteps should be 155 for mine since I'm running a pancake motor, Diagonal Rods are 271.5 (Did change this back to default 267.0 and same homing failure), and set z probe offset to 17.0 (used a caliper and roughly eye balled it). <w<
Step6: Check the compiling codes, then upload it to printer if no errors. >w<
Step7: Do auto bed leveling with probe. :3
Step8: Fine tune Z Offset with paper roughly the size of 0.15mm (kept getting auto home leveling failed error). XwX
Version of Marlin Firmware
2.1.2.2
Printer model
Kossel Linear Plus
Electronics
Stock
LCD/Controller
Stock
Other add-ons
N/A
Bed Leveling
None
Your Slicer
Cura
Host Software
None
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
KosselLinearPlus-NonPulley.zip
The text was updated successfully, but these errors were encountered: