-
-
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
ABL issue with probe offset #3770
Comments
Let's suppose that the offset from your probe to the bed after a
|
Thank you for posting so quickly. I would like to clarify that I did not want to use G92 to set the offset but merely to allow me to move down to see how much the offset should be, so I can set it in the Config file. I understand M851 has priority over z probe offset. The intent was to apply the settings in the configuration.h, so G28 will just work without having to do M851Z-0,40 (in my case), M500 at the beginning and then G28+G0Z0 on every print? =>>Do you know how this offset can be saved in the configuration.h file? To do that, only the z probe offset should be set, would't you say?:
=>>Your suggestion did work and I would use it until I find a way to save in the config, Thank you.. |
You're getting it wrong.. Setting the The G-Code I gave you saves the value of |
I posted my comment before finishing by mistake.... I wanted to clarify that I did not want to use G92 to set the offset but to allow me to move down Z axes to see how much the offset should be for the RE: your comment above: Do you know what needs to be done in configuration.h so the G0Z0 does not need to be added to startup after g28? |
Due to the lott of different probes we support the end position of G28 is currently undefined. There is no possibility to adjust that in the Configs. #if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) {
SERIAL_ECHOLNPGM("<<< gcode_G28");
}
#endif
+ destination[X_AXIS] = current_position[X_AXIS];
+ destination[Y_AXIS] = current_position[Y_AXIS];
+ destination[Z_AXIS] = 0;
+ line_to_destination();
+ stepper.synchronize();
+
report_current_position();
} at the end of |
If we want that in general is another question. I don't think so. |
It depends.. if you want to really see the nozzle touching the bed then yes, on the other hand on a day to day print situation Marlin with printing fine with nothing more than a You may follow @Blue-Marlin's suggestion if you want to have the nozzle always touching the bed after a |
I really don't understand why this sudden need to have the nozzle touching the bed after homing, mbl has been changed to do the same thing but I cannot think of a situation where this is desirable. Sent from my iPhone
|
@brainscan I think the original requester said that some host software, Repetier-Host or similar defaulted to |
Shouldn't they have fixed that in the host rather than breaking it for everyone else? I stopped using repetier after problems like that with ABL. Sorry but I want my printer to recognise my end stops when homing as that's what they are for. Sent from my iPhone
|
@brainscan Well, technically G-Code standard RS274, https://en.wikipedia.org/wiki/G-code Original requester https://github.com/MarlinFirmware/MarlinDev/issues/162 |
All is needs to keep RH in sync, is to send a
|
@Blue-Marlin Sounds good, if it works. I don't use RH so I can't test. |
I understand what you're saying, I just always though home should be where the end stops are and a park position should be where you want the nozzle afterwards. Like you said having so many different views on things is confusing. I wish I could fix it myself, maybe when I'm finished at college I'll try and learn some code but it's pretty daunting at the moment especially with things changing so often. Sorry if I'm sounding really negative as I love mbl and really appreciate all the work everyone has done, just struggling to set things back up and can't afford to break anything at the moment. Sent from my iPhone
|
@epatel @Blue-Marlin should I re-open this and mark it as a bug ? |
@jbrazio I see this as a feature request to i.e. have a configurable
[I think both view have merit so why not facilitate both] |
For a lot of g-codes we introduced the report recently. Somehow we forgot G29(MBL). G28 ending at [0,0,0] seem not to be a good idea to me. I already hear them screaming - My nozzle is scratching the bed when i move in x/y. |
@epatel or @Blue-Marlin do you mind to submit a PR to address this ? Thanks. -edit-
|
@Blue-Marlin I will try your code later tonight. Thank you! Sorry this has caused so much turbulence. A configurable G28 sounds like a compromise (you ether take offset into account or not) G28 not homing to Z 0 means that you would have to have a printer plugged into to a computer to be able to check if the distance between a Bed and a Nozzle is correct. Also do you think Issue 1 is also a Bug? |
@lavato actually none of your initial issues are really "bugs", the bug we found on this ticket was a condition where we don't keep the host in sync. |
Can you just help me understand below 3 points?:
|
For 1: see #3647 |
@lavato Let me try to explain why I believe this is the correct behavior: The most obvious reason: if
|
@Blue-Marlin Thank you @jbrazio On another note, I think found another problem: However when setting Z_PROBE_OFFSET_FROM_EXTRUDER to a new value and uploading the Firmware, the old value saved in EPROM remains. This can also be checked ether via LCD or by issuing M501, Can you confirm this is an issue? |
Exactly, in fact I will quote myself:
|
But I flushed the MEGA after setting M851. I would expect that the previously set value using M851 would be overwritten by flashing the firmware with the value set by Z_PROBE_OFFSET_FROM_EXTRUDER. Would't you say? |
Flashing does not erase the EEPROM.
|
Of course - Thank you !!! |
@Blue-Marlin Thank you |
Sometimes it will. If the stored EEPROM has a different layout (EEPROM version number) than the version being flashed, the EEPROM will be reset to defaults on the first boot. |
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. |
Am I missing something here?
I have an issues where I cannot configure and then set the Z offset correctly, when auto bed leveling is enabled.
Issue 1:
After issuing G28, M114 reports:
RECV: X:65.00 Y:95.00 Z:0.00 E:0.00 Count X: 4622 Y:6755 Z:0
=>As expected
Then I issue G92Z10 & M114, I get:
RECV: X:65.00 Y:95.00 Z:10.00 E:0.00 Count X: 4622 Y:6755 Z:3984
=>As expected
However Z cannot be moved down after the above (if I move it up then Z is correctly set to 11):
SENT: G91
SENT: G1 Z-0.1 F201
SENT:RECV: ok
G90
SENT: M114
RECV: ok
RECV: ok
RECV: X:65.00 Y:95.00 Z:10.00 E:0.00 Count X: 4622 Y:6755 Z:3984
RECV: ok
Issue 2:
After G28, Z refuses to obey the "Z_PROBE_OFFSET_FROM_EXTRUDER" , essentially I cannot lover the hotend no matter what value I put
I am using:
RC6, Ramps 1.4, MEGA, Full discounted LCD & proximity sensor
The text was updated successfully, but these errors were encountered: