-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
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 Raise after probing addition #1507
Comments
Yes, that is annoying. We'll look at that! |
This probably is something Marlin should address, but in the mean time
you can get around it by adding something like G0 Z20 to your G-code
prologue after G29.
|
Have the same problem. My extruder crashed into the clamps too. +1 |
The feature has been added, but it seems to be misbehaving, retracting the servo immediately without waiting for the Z move to finish. We're still looking into it. |
@SkyFlyer2 please test https://github.com/maverikou/Marlin/commit/a08e8f03a925b548491b48bfa4d18a6961838c67 I don't have access to a printer right now. |
Ok, |
I still need to learn how to cherry pick a commit from a different repo so I merged it all manually. |
Thanks to maverikou - MarlinFirmware#1507
Cool. I'll clean it up and PR. |
PR #1666 needs testing. |
It seem to be working. I'll check tomorrow. Why change the order check points? This is incorrect settings or the code was changed? Too much movement will not add exactly. Check, please. Also, try to start printing to ensure that printer is not start print in air. |
I checked the changes. The probe lift now works, as a whole is normal. But, If I start printing, the Marlin starts print in air. Why?? Also, we have a lot of new problems:
What was changed? In previous versions of the firmware did not have such problems. |
@SkyFlyer2 The short answer is, a lot has changed in a short time, so the current Development branch HEAD has some extant bugs. We haven't tagged any releases lately, but if we can determine the most recent point before these bugs began to appear, we could tag that date's last commit as an Alpha or beta version, and encourage people to use that while we solve these issues. |
@SkyFlyer2 |
* commit 'e0a42d3f9afeea6f3e78782c8c744926fef6de77': Corrected Z_PROBE_ALLEN_KEY behaviour. Clean up Z_RAISE_AFTER_PROBING to work the same in all code paths except Z_PROBE_SLED. Blind fix for MarlinFirmware#1507 Resolved onflicts: Marlin/Marlin_main.cpp
* feature-request: (22 commits) Report changes from previous PR from old code base including : I've updated the minimum values from the LCD. It has been a while that i want to at least fix this. I have an inductive probe and often i need to set my zOffset to something lower than 0.5. With the current implementation, the default LCD value is set to 0.5 for some reason. On my case i need to be able to set it down to 0.0 as my inductive probe can be lower than 0.5. Before with the LCD we couldn't change this value below 0.5. We had to flash the firmware every time which was painful. Now we are able to change this value down to 0.0 if needed. I've also changed the minimum value for Z min acceleration. In the default configuration it's set to 25 but on the LCD the minimum was 100 which is not coherent. I've changes the minimum to 10. On this axis, depending on the mechanics/motor drivers we might require very low acceleration, so i guess 10 is somehow realistic. fix bad insertion config again Fix bad insert in configuration Fix mangled probe_pt calls Corrected Z_PROBE_ALLEN_KEY behaviour. Clean up Z_RAISE_AFTER_PROBING to work the same in all code paths except Z_PROBE_SLED. Blind fix for MarlinFirmware#1507 Removed malplaced comment. Fix compile error with `*_DUAL_STEPPER_DRIVERS` Refactor SCARA calibration. Save some lines of code and possibly ROM. Don't add home offsets in G29 Fix temperature min/max test Added G29 command Fix shrinked menucode Added comment for the EEPROM storage Shortened mesh_plan_buffer_line() EEPROM saving of z_values. Tried to make it a little intelligent. Remove of mesh_plan_buffer_line parameter reference (e) Disable option. Enable for use/test. Added comment about MESH_NUM axis points. ...
* Marlin_phoenix: (22 commits) Report changes from previous PR from old code base including : I've updated the minimum values from the LCD. It has been a while that i want to at least fix this. I have an inductive probe and often i need to set my zOffset to something lower than 0.5. With the current implementation, the default LCD value is set to 0.5 for some reason. On my case i need to be able to set it down to 0.0 as my inductive probe can be lower than 0.5. Before with the LCD we couldn't change this value below 0.5. We had to flash the firmware every time which was painful. Now we are able to change this value down to 0.0 if needed. I've also changed the minimum value for Z min acceleration. In the default configuration it's set to 25 but on the LCD the minimum was 100 which is not coherent. I've changes the minimum to 10. On this axis, depending on the mechanics/motor drivers we might require very low acceleration, so i guess 10 is somehow realistic. fix bad insertion config again Fix bad insert in configuration Fix mangled probe_pt calls Corrected Z_PROBE_ALLEN_KEY behaviour. Clean up Z_RAISE_AFTER_PROBING to work the same in all code paths except Z_PROBE_SLED. Blind fix for MarlinFirmware#1507 Removed malplaced comment. Fix compile error with `*_DUAL_STEPPER_DRIVERS` Refactor SCARA calibration. Save some lines of code and possibly ROM. Don't add home offsets in G29 Fix temperature min/max test Added G29 command Fix shrinked menucode Added comment for the EEPROM storage Shortened mesh_plan_buffer_line() EEPROM saving of z_values. Tried to make it a little intelligent. Remove of mesh_plan_buffer_line parameter reference (e) Disable option. Enable for use/test. Added comment about MESH_NUM axis points. ... Resolved conflicts: Marlin/Configuration.h
* Marlin_phoenix: (22 commits) Report changes from previous PR from old code base including : I've updated the minimum values from the LCD. It has been a while that i want to at least fix this. I have an inductive probe and often i need to set my zOffset to something lower than 0.5. With the current implementation, the default LCD value is set to 0.5 for some reason. On my case i need to be able to set it down to 0.0 as my inductive probe can be lower than 0.5. Before with the LCD we couldn't change this value below 0.5. We had to flash the firmware every time which was painful. Now we are able to change this value down to 0.0 if needed. I've also changed the minimum value for Z min acceleration. In the default configuration it's set to 25 but on the LCD the minimum was 100 which is not coherent. I've changes the minimum to 10. On this axis, depending on the mechanics/motor drivers we might require very low acceleration, so i guess 10 is somehow realistic. fix bad insertion config again Fix bad insert in configuration Fix mangled probe_pt calls Corrected Z_PROBE_ALLEN_KEY behaviour. Clean up Z_RAISE_AFTER_PROBING to work the same in all code paths except Z_PROBE_SLED. Blind fix for MarlinFirmware#1507 Removed malplaced comment. Fix compile error with `*_DUAL_STEPPER_DRIVERS` Refactor SCARA calibration. Save some lines of code and possibly ROM. Don't add home offsets in G29 Fix temperature min/max test Added G29 command Fix shrinked menucode Added comment for the EEPROM storage Shortened mesh_plan_buffer_line() EEPROM saving of z_values. Tried to make it a little intelligent. Remove of mesh_plan_buffer_line parameter reference (e) Disable option. Enable for use/test. Added comment about MESH_NUM axis points. ... Resolved conflicts: Marlin/Configuration.h
a lot has changed, a lot of bugs added. When bed autoleveling is disabled, the servo makes retract before lift the probe. For now, is not possible using this version Marlin. |
@SkyFlyer2 Thank you for being part of the team testing the latest cutting edge code. It's good to have as much feedback as possible while trying to get these features worked out. With luck and your continued help, we should have them in full working order pretty quickly. |
Can you check that Marlin start printing in air after bed autoleveling? |
@SkyFlyer2 Starting a print right now, will report back. Edit: |
Hmm, strange. The previous Marlin with autolevel prints on test bed, with the same settings on last Marlin it start print in air. Did you enable autoleveling with grid points? My probe z-offset is -16.31mm. Slicer settings: How I can attach the file here? Here is slicer startup G-code: G28 ; home all axes |
@SkyFlyer2 G-Code: |
@avluis Well, actually the change I'm proposing would only affect non-allen-key-based probes. If your probe is working with all the possible probe methods, then this code probably doesn't need to be changed. I don't have a probe at all, or I would test it myself. |
@thinkyhead I don't think you need to engage/retract servo based probes in the allen key code path as servo based probes are triggered directly in the probing routine. |
@maverikou How is the allen key engaged/disengaged – by a special movement or a switch? |
#1755 should now have z raise working before, between, and after probing. Please test and see where it may need adjustment. Also raise before homing was fixed earlier tonight. |
@thinkyhead the Allen key is spring loaded with the Allen key L side up resting on a ramp mechanism. The L is moved against a belt which rotates the Allen key and the spring pushes it down the ramp deploying the Allen key as the probe with the L pushing on the micro switch. To stow the probe there is a screw mounted in an extrusion slot at a specific location. The bottom of the Allen key is pressed against the screw forcing it back up to the top of the ramp which causes the Allen key to rotate back on to the rest at the top of the ramp. Deployment energy is stored in the spring during this process.
|
Trying to test fixes. If I after the command |
@SkyFlyer2 After taking a poll, it was decided to reverse the meaning of I'm not sure how well it's supported to move the extruder between I'm still trying to solidify all the code that raises the Z axis, engages and disengages the probe, etc., and trying to make sure that at the end of the process, once there is a bed leveling plane, the firmware can derive the (corrected) position of the XYZ axes and continue on, having the current position and performing automatic compensation for all movement. So, for example, on a very tilted bed, after doign a leveling probe, moving Z alone will cause X and/or Y to also move to compensate. In the probing routine I hope to get it solidly working like so…
|
please pay attention that the movement along the Z axis is not taken into account after executing the command G28. Before, in early commits, any such movement was taken into account I can not imagine why movement along the Z axis cause to move the axis X and Y. Unfortunately, auto-leveling bed at the moment so inaccurate that I refused it - after manual alignment, the head is moving almost parallel to the bed. If you make auto-leveling procedure, the head in the end will not move parallel to the surface of the bed. |
#1764 is the latest update to bed leveling code. Keep those helpful diagnostics coming! @SkyFlyer2 The planner itself does the bed leveling compensation, so moving Z alone in the "abstract space" will in fact cause X or Y to change, but this would only noticeable with a very askew bed, tilted a full degree or more. |
Trying to understand) |
The model is tilted to match the slope of the bed, so any move along a For an explanation of how it is supposed to work and the correct maths, see On 1 April 2015 at 10:52, SkyFlyer2 notifications@github.com wrote:
|
@boelle I think the "On Hold During Bugfix" label should be removed, because this feature already exists, but should be part of the current bug-fix round. |
but if its there should it not be marked as a bug then? |
@boelle The feature was added some time after this issue was posted. This was originally a feature request, so the label has stuck, but now it's turned into one of many threads on auto bed leveling. |
Maybe it makes sense to rename For the probing values, perhaps it makes better sense to specify the Z position instead of the Z raise. Then |
so this should be turned in to a bug if i understand correct? |
Ill verify this, this week and let you know.
|
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. |
Currently there are these these 3 options for probing:
There needs to be an option to raise Z after probing is done. I have the problem of my extruder hitting my bed clamps after probing is done when the print starts. By design my extruder leaves the bed area so that the Z-probe switch can contact the edges of the bed. Problem is the print starts at the height of the last contact causing my extruder to hit my clamps on the way to the center of the bed.
The text was updated successfully, but these errors were encountered: