1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
M291 S3 P"Make sure nozzle is clean" R"Clean Nozzle" M291 P"Heating bed" T2 M190 S70; Heat the bed to its regular heat M291 P"Probing Z=0" M561 ; clear any bed transform G28 G30 M291 P"Applying mesh" T2 G29 S1 G28 M140 S0