-
-
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
Z-Axis Homing: Z_Homing_Height not working #19428
Comments
|
Well, the problem is that even when homing it won't raise for clearance. it only appears to do that for the first home after powering on. So, when steppers deactivate, z axis falls, and homing is called on again, the extruder will scratch the surface and not raise 4mm. Which is why I was saying it should just always raise if limit switch is active. |
You are right, |
Please attach your Marlin configuration files, as requested by the issue template. Marlin behavior is extremely configurable, and it is very difficult to debug any issue without knowing how the firmware is configured. |
Sorry for the late response, it was a busy week. But I edited the question to include config files with .h replaced with .txt so github won't complain. |
Okay so with some further experimenting, I have discovered the following: Why is this? what is the difference between a manual disable versus a timeout disable of stepper motors? |
:-( |
as @sjasonsmith said Configurations, please |
@boelle they already attached them to the issue description. |
must have been blind again... at least i did not see it attach 4 hours ago |
For me, after I homed the printer, then disabled the steppers via either M18, M84, LCD or timed out, the printer doesn't raise the Z axis for the next homing. Step by step:
I think this wasn't always the case, and the second homing should act just as the first one. Edit: Latest Bugfix-2.0.x |
thanks guys :-) . Also yes I can second qwewer0's post. Mine follows that same sequence of events as well. |
So I managed to fix my printer up so that it won't fall anymore, but I still think this is abnormal behavior. |
@yysh12 Could you please reopen this issue? There is clearly something off with the homing height, so this is still relevant, even if not for a bug, but for a feature request. |
Oh sure no problem. I reopened it. |
This issue has had no activity in the last 30 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 7 days. |
Still a problem. |
@qwewer0 with current bugfix or some older version? |
Haven't tried it with latest bugfix, |
@ellensp Yes, with the latest bugfix-2.0.x The same thing happens as in #19428 (comment) |
If |
@thinkyhead I don't have |
@yysh12 When I disable the steppers from the LCD, the rehoming does not raises the z axis. Things that differ from my config to the main post, and might have some effect on the problem, (but I have no idea):
|
Oh interesting. Yours won't raise at all. Yeah mine does raise on manual disable just not auto disable. Disabling inactive z didn't seem to help either. |
Oh wait. I didn't read it correct. You have the z homing height disabled. You have to have that enabled for it to raise. |
For me the problem is that for some reason auto timeout of steppers behaves differently than manual disable or steppers, such that z homing height is ignored on auto timeout. |
I think after M84 or stepper timeout the next homing should behave as it behaves when first homed, because after the printer can no longer know where each axis is, then it should act as on the first homing. New information: If I move the Z axis from the LCD or serial then after I disable the steppers, the next (first) homing acts as the problematic homing, so without any z axis rise, as if it still knows the Z axis position, despite the fact that the Z axis could have sunk. |
You can try reverting this change from 73ce80a, which was done to address some other issue… - do_z_clearance(z_homing_height, TEST(axis_known_position, Z_AXIS), DISABLED(UNKNOWN_Z_NO_RAISE));
+ do_z_clearance(z_homing_height, true, DISABLED(UNKNOWN_Z_NO_RAISE)); |
On the latest bugfix-2.0.x (presumably because of #20323)
Which is a big leap in the positive direction, as a z axis drop after stepper deactivation is no longer a problem (unless I'm missing something), because the Z axis rises on the next homing, but still, after the 10th point it is not rises the Z axis by ( @thinkyhead Could you confirm one thing for me or point my to a code? Thank you for #20323, and in general. |
Sorry guys but i dont think this is a bug... try to enable the following in configuration_adv.h:
Mentioning the following pull request / commit: We may should consider to move this setting to configuration.h as we did with following pull request for EDIT1:Without EDIT2: |
Hello, so I actually am away from my printer until March 10th so I will be unable to test anything out until then. That being said, I will definitely try out your recommendations once I get back home. But I should also note that I actually already tried utilizing that option to no avail. The main problem I am trying to understand is why my automatic stepper timeout is behaving differently than my manual stepper timeout. Basically if I manually disable the steppers, Z_homing_height works as expected and provides clearance from the build plate, but if the steppers auto-timeout they refuse to provide the clearance. And both tests were done at the same height. But I will definitely take a closer look at the Z_after_deactivate next time I with my printer and Ill have to let you know then. |
@swissnorp Sorry, didn't saw your edit. First of all, this is the first homing sequence on my printer:
Now on to the testing:
|
@qwewer0
I will open a pull request to move |
As I mentioned it, I think the next homing after a stepper deactivation should behave the same as the first homing, but it doesn't! And I don't think it should need a z axis is lowering to do so. So, I still think that there is a bug as it does not behave as it should. |
Thats exactly how it should behave!
If you want this to happen you must enable |
That is (one of?) the main problem. On a freshly bought printer, |
This issue has had no activity in the last 30 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 7 days. |
… before homing
Im having a similar issue, but i get absolutely no z raise, regardless of what i try, and im stumped.... Was using 2.0.7.2 and that didnt work, so then moved to latest bugfix 2.0 and also no dice |
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. |
First Post:
When my printer is first turned on using 2.0.6.1 and set to begin homing, the Z_HOMING_HEIGHT option ensures that the z-axis raises 4mm to ensure it doesn't scratch bed surface. However, when stepper motors timeout and power down, the z axis falls. Homing after it falls no longer raises z axis, presumably because it assumes z axis doesn't fall when powered off. This then leads to scratch on bed surface. A further refinement would be that the Z-axis always raises 4mm when it detects that the z-limit switch is activated to ensure it doesn't scratch bed. This also ensure that if at max height it doesn't raise beyond max limits as well because switch won't be active. Thus 3 zones of behavior: when z_min limit switch active: raise 4 mm before homing; when z unknown and min limit switch not active: don't raise; when z is known, below z_max, and limit switch not active: raise or don't raise depending on user preference. I should mention that the UNKNOWN_Z_NO_RAISE doesn't prevent bed scratch.
Additional Information
I am using creality ender 3 with the new mainboard 4.2.2 .
Config Files for 2.0.6.1
Configuration.txt
Configuration_adv.txt
Second Post:
Okay so with some further experimenting, I have discovered the following:
If I manually disable the steppers from the LCD menu and then rehome:
The z axis falls after disabling and then it raises 10mm before homing,
but if the stepper times out and the z axis falls, then it won't raise 10mm.
Why is this? what is the difference between a manual disable versus a timeout disable of stepper motors?
Updates
printer is now using 2.0.7/bugfix. Same problem though. Attached are the updated config files in zip form:
Configuration.zip
The text was updated successfully, but these errors were encountered: