; bed.g ; called to perform automatic bed compensation via G32 ; ; generated by RepRapFirmware Configuration Tool v3.1.3 on Mon Jun 22 2020 09:53:00 GMT+0200 (Mitteleuropäische Sommerzeit) M561 ; clear any bed transform ;G29 ; probe the bed and enable compensation G28; Home ;Probe 4 points G30 P0 X30 Y40 Z-99999 G30 P1 X30 Y140 Z-99999 G30 P2 X140 Y140 Z-99999 G30 P3 X140 Y40 Z-99999 S4 ; Probe the bed at X180 Y180, save the XY coordinates and the height error as point 3 and calculate 4-point compensation or calibration ;Save heightmap G29 S3 P"manual_height_map.csv" G29 S1 P"manual_height_map.csv"