; bed.g ; called to perform automatic delta calibration via G32 ; G28 ; Home All M98 Presetprobe.g ; Z probe ; generated by RepRapFirmware Configuration Tool v2 on Wed Jan 23 2019 16:41:23 GMT+0100 (Central European Standard Time) M561 ; clear any bed transform M98 Pdeployprobe.g ; deploy mechanical Z probe ; Probe the bed at 10 peripheral and 0 halfway points, and perform 3-factor auto compensation ; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g. G30 P0 X0 Y84.9 H0 Z-99999 G30 P1 X49.9 Y68.69 H0 Z-99999 G30 P2 X80.74 Y26.24 H0 Z-99999 G30 P3 X80.74 Y-26.24 H0 Z-99999 G30 P4 X49.9 Y-68.69 H0 Z-99999 G30 P5 X0 Y-84.9 H0 Z-99999 G30 P6 X-49.9 Y-68.69 H0 Z-99999 G30 P7 X-80.74 Y-26.24 H0 Z-99999 G30 P8 X-80.74 Y26.24 H0 Z-99999 G30 P9 X-49.9 Y68.69 H0 Z-99999 G30 P10 X0 Y0 H0 Z-99999 S3 ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors ; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed) M98 Pretractprobe.g ; retract mechanical Z probe