Coder Social home page Coder Social logo

Comments (10)

bmkahl avatar bmkahl commented on June 3, 2024 1

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

from klipper_z_calibration.

bmkahl avatar bmkahl commented on June 3, 2024

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

from klipper_z_calibration.

laserbeak avatar laserbeak commented on June 3, 2024

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.

from klipper_z_calibration.

laserbeak avatar laserbeak commented on June 3, 2024

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?

from klipper_z_calibration.

bmkahl avatar bmkahl commented on June 3, 2024

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

from klipper_z_calibration.

laserbeak avatar laserbeak commented on June 3, 2024

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.

from klipper_z_calibration.

eduncan911 avatar eduncan911 commented on June 3, 2024

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.

from klipper_z_calibration.

TitusLabs avatar TitusLabs commented on June 3, 2024

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...

from klipper_z_calibration.

eduncan911 avatar eduncan911 commented on June 3, 2024

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.

from klipper_z_calibration.

TitusLabs avatar TitusLabs commented on June 3, 2024

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

from klipper_z_calibration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.