protoloft / klipper_z_calibration

Klipper plugin for self-calibrating z-offset
GNU General Public License v3.0
1.06k stars 152 forks source link

Can't get CALIBRATE_Z to work #112

Closed fryc88 closed 1 year ago

fryc88 commented 1 year ago

Hi, After struggling with initial setup, I guess (with help of some people on discord) I've got it set, but when it comes to CALIBRATE_Z, nozzle moves above of z endstop, lowers down and when nozzle triggered endstop, I've got an error in Klipper saying Probe triggered prior to movement, however behaviour of my both z endstop and Klicky seems to be fine during the usage of printer. image Any ideas what to do with it?

config-20230703-211348.zip logs-20230703-211457.zip

TitusLabs commented 1 year ago

Ok, then please tune your z endstop position. You don't need to fine tune it as the z calibration will take care of it, but roughly it should fit.

fryc88 commented 1 year ago

What do you mean by tuning it? I've set my z offset against the print surface, so height of z endstop is about right now, or I'm missing something?

TitusLabs commented 1 year ago

Oh, sorry, forget about it. I had somehow read a different error. It seems that the endstop is already triggered when it tries to probe on it. Is your wiring ok? Is your nozzle too low while moving to the endstop (set safe_z_height to a higher value)?

fryc88 commented 1 year ago

Endstop is triggered when nozzle touches it, not before. Wiring is ok since it's been printing already before and haven't had any other issues.

fryc88 commented 1 year ago

video That's how it looks like.

fryc88 commented 1 year ago

Ok, other person on Voron discord suggested me to change this parameter homing_retract_dist: 3 I originally had it set to 0. After that it started to calibrate offset. Now need to find out how to tune it, as calculated value 'almost' crashed nozzle into my bed :)

TitusLabs commented 1 year ago

Yes, that's what it looks like. It does not retract and then with the second probe it's already triggered.

Ouch! Please test the result carefully (as documented in the wiki) until you found the correct switch offset. There is also a command to determine a value with which you can start: https://github.com/protoloft/klipper_z_calibration/wiki/How-To-Use-It#command-calculate_switch_offset

fryc88 commented 1 year ago

Ok, I knew I didn't make that setting up on my own. Since I have Sensorless homing + z endstop + klicky I knew I saw it somewhere that suggest changing that setting to zero, and it was in official Voron docs regarding sensorless homing :) I know it's regarding X and Y but probably I just misunderstood it and changed it for Z as well. image voron docs

IMO it would be worth mentioning that in your configuration/installation to double check that setting, even tho i've noticed not many are using sensorless homing (for no reason because it was easiest part of adjusting it since I built this voron out of any other features that I installed/configured)

TitusLabs commented 1 year ago

Yes, that is correct for sensorless homing (I don't like it much, because the threshold is always a tradeoff between too much force and not working - and the last one can happen in one of one thousand and can result in a damaged printer). But, be careful. You don't use sensorless homing on Z. On the endstop, you need the retract. By the way, 3mm are long - you can reduce it, if you want..