Z probe repeatability command?
-
What would be the command to make my probe work 10 times say and report back the deviation? Because we don't use M48 right?
-
create a macro M48.g in sys and you have M48.
see
https://forum.duet3d.com/topic/6962/m48-measure-z-probe-repeatability-and-print-to-serial-output -
So I create a macro with the foloowing commands in it and just type M48 to run it? If Im using a IR sensor do I need the M401 commands?
M291 P"Probe will be tested 10 times and return mean and standard deviation. Ok or Cancel?" R"WARNING" S3 ; User must click OK or cancel.
G28
M401
G30 P0 X151 Y161 Z-9999
G30 P1 X151 Y161 Z-9999
G30 P2 X151 Y161 Z-9999
G30 P3 X151 Y161 Z-9999
G30 P4 X151 Y161 Z-9999
G30 P5 X151 Y161 Z-9999
G30 P6 X151 Y161 Z-9999
G30 P7 X151 Y161 Z-9999
G30 P8 X151 Y161 Z-9999
G30 P9 X151 Y161 Z-9999 S-1
M402 -
in /sys yes.
no you dont need M401 it with, but it should not hurt. -
I believe you will need a G0 or G1 to move to the XY prior to the first G30. Take this with a slight grain of salt... I'm runnin V3 Beta...
-
I would think the X151 Y161 already does that
-
Must have been in an earlier beta, because it is working now. No G0 G1 needed.