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

prints a little too close to the bed. #28

Closed
laserbeak opened this issue Dec 8, 2021 · 10 comments
Closed

prints a little too close to the bed. #28

laserbeak opened this issue Dec 8, 2021 · 10 comments

Comments

@laserbeak
Copy link

Hi,
what do I need to adjust in order for kzc to print a little further from the bed?

@bmkahl
Copy link

bmkahl commented Dec 8, 2021

I am having the same issue. I have calibrated the limit switches, but it keeps adjusting the Z offset too low.

@laserbeak
Copy link
Author

I've made my endstop a little taller to be more level with the bed when the switch is activated, and edited position_endstop in printer.cfg and position_min in z_calibration.cfg, but it didn't do much, if anything at all.

@bmkahl
Copy link

bmkahl commented Dec 9, 2021

I was able to get the right offset by adding SET_GCODE_OFFSET Z_ADJUST=1 into my macro and then adjusting the switch_offset. Note that I do not have a Voron but rather have a custom built machine that has a limit switch on a SG90 servo.

[gcode_macro CALIBRATE_Z]
rename_existing: BASE_CALIBRATE_Z
gcode:
OG28 #only home if needed
SET_SERVO SERVO=my_servo ANGLE=0
BASE_CALIBRATE_Z
SET_SERVO SERVO=my_servo ANGLE=120
SET_GCODE_OFFSET Z_ADJUST=1

@laserbeak
Copy link
Author

I'm glad it works, but doesn't that defeat the purpose of kzc?
how close was it to your bed that you had to use 1?

@bmkahl
Copy link

bmkahl commented Dec 13, 2021

It was about .65mm too low consistently even when the switch offset was set to 0.01.

@laserbeak
Copy link
Author

I started at .5, now I'm at .38. I'm printing things and testing ever now and then. I'll probably be down to .34 before the week's over.

@eduncan911
Copy link

I'm experiencing the same issue with a "load cell" nozzle probe that touches the actual nozzle.

It has a flex of about 0.2mm, that I need to adjust for. I previously was using probe->z_offset set to -0.2 for perfection before adding this script.

Now, I cannot seem to set this offset in any code. The previous z_offset doesn't seem to change regardless. And using z_calibration->switch_offset only seems to change the Z offset being reported...

My problem is whenever I enter "0mm" on Z, it should be a feather touch on the bed without triggering the probe, which would be -0.2mm on the bend.

Instead, the probe is immediately triggered - and I have to manually adjust Z to 0.2 to untrigger it - which should be 0.0 and not 0.2.

@TitusLabs
Copy link
Member

If you need to be more away from the bed and the switch_offset is already nearly 0, then there is a problem in your setup/probing. So, the intention is to probe the body of the switch (you MUST do this !!) If this probing is correct (check it), then the trigger point is above this point (positive value). And it needs to be above the body - otherwise I would need a needle to trigger the switch into it's body. So, if you probe directly on the trigger or the endstop sticks to something else, then the endstop would trigger before reaching the actual trigger point of the switch which leads to the demand of an negative switch_offset...

@eduncan911
Copy link

I've since bashed away at the config and found perfect. I'll try to find time to post the entire config here.

But note, i've since edited this Klipper plugin to remove one of the Z calibration tests - and forced it to 0.2 or something. that way, not only is it much faster, the offset is correct everywhere.

@TitusLabs
Copy link
Member

I added some more explanation on the switch_offset and why someone would demand for a negative value: https://github.com/protoloft/klipper_z_calibration/tree/v0.8.1#how-about-a-negative-switch-offset

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

4 participants