Print

EZABL Duet M48 Test Gcode

Duet doesn’t have a built in M48 gcode command. You can make your own by making a file in the SYS (aka system) folder named M48.g. Paste the below text into that file and save it. Then send M48 to your printer. It will take 10 probe readings and give you the deviation that the probe is reporting.

This code was from the Duet Forum and tested on a Duet printer in our shop. When you send a M48 it will ask you to confirm the start of the test and it will home the printer (G28) before testing. Make sure your printer bed is CLEAR before starting the test.

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

You can also download our M48.g file and upload it to your Duet web interface.

Previous EZABL Duet Board Setup Information
Next EZABL Firmware Setup for “Vanilla” Marlin
Table of Contents