@chrishamm said in [Bug] Using G30 S0 inside homez.g fails:
@Ralms I highly doubt there is something wrong with G30
. Do you have a deployprobe.g
and/or retractprobe.g
? We also need to know what kind of probe you have configured.
Well, I stand corrected, with you asking about deployprobe.g I remembered that I had some old draft gcode there and was the source of the error.
Removing the gcode from that file, allowed G30 to execute.
Still, doesn't explain why G30 will execute when called from the Console, ignoring an error at deployprobe.g
.
Which is concerning, as it leaves the possibility of having the printer probe the bed without the probe being ready.
Regarding your question, about the probe, I forgot to share it but, essentially its a Klicky probe, running as type 8 due to being wired on the 1TL.
M558 P8 C"^121.io2.in" H5 F200:100 K0 T2000
@jay_s_uk Just to finish on your insistence in how I was running G30.
Running any of the mentioned configurations for G30 works and probes the bed successfully, that being G30
, G30 S0
and G30 S0 Xnnn Ynnn Z-9999
.
However, specifying S0
parameter will execute anyway, probe the bed and set Z, however throws error Error: Number of calibration factors (0) not equal to number of leadscrews (4)
.
The same thing can be said for the parameters X, Y and Z, they are all just ignored, but return no error.
So yes, you were right that S, X, Y and Z parameters should not be used with G30
in this scenario but they were not the source of the issue, as I showed that even running without them would fail anyway.