Z offset calibration breaks X-Y limits
-
Seeing as I have been tweaking my config file since upgrading to 3.2.2 ( from 3.1.1 ), I thought I'd address another issue I have.
I have this z offset macro,
T0
M291 P"Press ""OK"" if you would you like to calibrate the Z-offset for this Tool Cartridge." R"Calibrate Z-Offset" S3
M291 P"Homing, please wait..." R"Calibrate Z-Offset" S1
;M98 P/sys/homeall.g
M208 Z-2 S1 ; allow movement below Z0
G1 X165 Y165 Z8 F4000 ; move to center of bed
M558 P0
G30 S-2
M500 ; save results
M501 ; load new data
M208 Z0 S1 ; restore minima
G1 Z10 ; drop build plate
G1 X0 Y0 F4000
M558 P1 C"!zprobe.in" H5 F500 T10000 ; restore probe type
M291 P"Z-offset calibration complete! " R"Calibrate Z-Offset" S1 T3After running this, I seem to lose my X Y minima,
From my config.g -
M208 X-2 Y-4 Z0 S1 ; set axis minima
M208 X330 Y330 Z380 S0After running the Z offset macro and returning to X0 Y0 , the nozzle is off the bed and the position is report as X4 and Y1
Re homing does not fix this, the nozzle still stays off the table and the XY readout displays X4 Y1. I can almost make a connection with the X4 but not Y1.
Everything is fine until running the Z offset macro.
Any thoughts?
Thanks
Joel -
post your config.g and config-override.g as well as homeall (and any macros it calls)
-
-
I played with this more, it seems to be the tool declaration that causes the issue. If I comment out the T0 line, the zero routine fails because there is no tool selected.
So I put a T0 line in my homeall script, so now I get the same issue when I homeall.
It seems something is going wrong with the tool declaration T0.
-
What do you have in your tool change files? tpre tpost tfree etc
-
I don't have any I know of, my printer is just a single head
-
If you only have one tool defined, why does it have an offset in config.g?
; Tools
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X6 Y5 Z0 ; set tool 0 axis offsets -
I just confirmed that those file are empty
-
I will look at that, I did not put that there. May be a leftover from a config build script
-
I guess I'm confused by the purpose of your macro as well. What are you trying to do with it?
-
The macro sets the Z height offset which I do before every printing run.
Removing that line you pointed out fixed the issue.
-
@Joel said in Z offset calibration breaks X-Y limits:
The macro sets the Z height offset which I do before every printing run.
Why do you need to do that? What is causing that value to change?
I only check my probe every month or so.
Thanks.
Frederick
-
Just habit, different bed temperature, different nozzle temperature.
Get the nozzle Z height perfect every time. Take less that 30 seconds. -
@Joel said in Z offset calibration breaks X-Y limits:
Just habit, different bed temperature, different nozzle temperature.
Do you have any reason to believe that those changes are affecting your probe's trigger height?
Thanks.
Frederick
-
The routine does not use the probe to measure. In the routine, I move the Z axis to get the nozzle to table clearance I want and set that to be the new Z0 position. I do find this changes based on bed temperature used. I find the probe OK but since doing this Z offset before every print, I have very few print failures cause by poor first layer.
Before a print I like to,
Bring bed to temperature
Do bed level
Do mesh level
Bring nozzle to temperature
Do Z offsetThen print
These steps have given me very good and repeatable results. Do I have to do this, maybe not, but it takes no time and the results are consistent.