; bed.g ; called to perform automatic delta calibration via G32 ; ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 19 2019 14:01:16 GMT-0700 (Mountain Standard Time) M561 ; clear any bed transform G28 ; home all towers M98 Pdeployprobe.g ; deploy mechanical Z probe ; Probe the bed at 12 peripheral and 3 halfway points, and perform 6-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 Y154.9 H0 Z-99999 G30 P1 X77.45 Y134.15 H0 Z-99999 G30 P2 X134.15 Y77.45 H0 Z-99999 G30 P3 X154.9 Y0 H0 Z-99999 G30 P4 X134.15 Y-77.45 H0 Z-99999 G30 P5 X77.45 Y-134.15 H0 Z-99999 G30 P6 X0 Y-154.9 H0 Z-99999 G30 P7 X-77.45 Y-134.15 H0 Z-99999 G30 P8 X-134.15 Y-77.45 H0 Z-99999 G30 P9 X-154.9 Y0 H0 Z-99999 G30 P10 X-134.15 Y77.45 H0 Z-99999 G30 P11 X-77.45 Y134.15 H0 Z-99999 G30 P12 X0 Y77.4 H0 Z-99999 G30 P13 X67.03 Y-38.7 H0 Z-99999 G30 P14 X-67.03 Y-38.7 H0 Z-99999 G30 P15 X0 Y0 H0 Z-99999 S6 ; 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) ; ******************************************************************** ; Added by Hose after using RRF Configuration tool M558 H8 ; enough Z height to avoid BLTouch issues G29 ; Probe the bed and enable compensation M500 ; Store results to /sys/config-override.g G90 ; absolute positioning G1 X0 Y0 F6000 ; Center the effector ; ******************************************************************** M98 Pretractprobe.g ; retract mechanical Z probe