Solved Sending New M558 parameters resets G31 offsets
-
As the topic says, sending a full M558 line resets the G31 parameters.
e.g.
config.g linesM558 P1 C"!io3.in" H2 A5 F250:60 T20000 S0.02 G31 P1000 X-27.3 Y3.5 Z3.815
then sending
M558 P1 C"!io3.in" H2 A5 F250:60 T20000 S0.02
results in
g31 Z probe 0: current reading 655, threshold 500, trigger height 0.700, offsets X0.0 Y0.0
Is this expected behaviour?
-
@dc42 thank you
-
Did you verify that G31 returns the expected values before issuing the second M558?
Thanks.
Frederick
-
@fcwilt of course
22/06/2021, 13:47:24 g31 Z probe 0: current reading 655, threshold 500, trigger height 0.700, offsets X0.0 Y0.0 22/06/2021, 13:47:20 M558 P1 C"!io3.in" H5 A5 F250:60 T20000 S0.02 22/06/2021, 13:47:09 g31 Z probe 0: current reading 656, threshold 1000, trigger height 3.815, offsets X-27.3 Y3.5
-
Thanks.
I asked because it is best to take nothing for granted.
What board and what firmware are you using?
Frederick
-
@fcwilt Duet 3 mini, 3.3.0 + SBC running DSF 3.3.0
-
@jay_s_uk said in Sending New M558 parameters resets G31 offsets:
@fcwilt Duet 3 mini, 3.3.0 + SBC running DSF 3.3.0
I don't use an SBC so I don't know if my testing will mean anything but I will just the same - after breakfast.
Frederick
-
@fcwilt also occurs on my STM port based printer in standalone mode, running 3.3
22/06/2021, 14:37:15 g31 Z probe 0: current reading 1000, threshold 500, trigger height 0.700, offsets X0.0 Y0.0 22/06/2021, 14:37:06 M558 P9 H3 F100 T8000 C"^probe" R0.2 A5 B0 22/06/2021, 14:36:56 g31 Z probe 0: current reading 1000, threshold 500, trigger height 0.290, offsets X-41.0 Y10.0
-
@jay_s_uk said in Sending New M558 parameters resets G31 offsets:
As the topic says, sending a full M558 line resets the G31 parameters.
Yes, this is expected. You can use M558 without the P and C parameters if you don't want to change the probe type or the port, and then it should not affect the G31 values.
I will add a note to the documentation.
-
@dc42 thank you