Home Z several times and get average
-
Hi,
setup: CoreXY Using dc42 IR probe for Z endstop + leveling
Iยดm having trouble with my IR Probe it does create inconsistent values.
To get it printing anyways i want to home z 5 times and get an average value of the 5 homings. How can I do this?G30 S-1 outputs
14:43:13Stopped at height 0.498 mm
14:43:03Stopped at height 0.505 mm
14:42:54Stopped at height 0.500 mm
14:42:45G30 S-1
Stopped at height 0.502 mm -
See the M558 A and S parameters. A5 S0 should do what you want.
-
@dc42 hey thanks for your answer
my M558 (config.g) looks like this:
M558 P1 H2.5 F120 T9000 I0 R1 A5 S0.1But when doing G28 at the start of the print it doesnt check 5 times.
It just uses my homeall.g
can i define a special M558 in homeall.g? -
@simplesimson said in Home Z several times and get average:
@dc42 hey thanks for your answer
my M558 (config.g) looks like this:
M558 P1 H2.5 F120 T9000 I0 R1 A5 S0.1But when doing G28 at the start of the print it doesnt check 5 times.
It just uses my homeall.g
can i define a special M558 in homeall.g?Does it probe twice? You've set the tolerance to 0.1mm (S parameter), so it will only probe twice if the two readings differ by no more than 0.1mm. I suggested you use S0.