; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v2 on Sun May 26 2019 17:03:30 GMT-0500 (Central Daylight Time) M561 ; clear any bed transform ;M913 X35 Y35 Z35 ; Reduce motor currents for homing G91 ; relative positioning G1 S2 Z10 F6000 ; lift Z relative to current position G90 ; absolute positioning G1 S1 X-240 Y-240 F4000 ; move quickly to X and Y axis endstops and stop there (first pass) G92 X0 Y0 ; set position to X=0 and Y=0 G1 S2 X5 Y5 F4000 ; go back a few mm G1 S1 X-240 Y-240 F360 ; move slowly to X and Y axis endstops once more (second pass) G92 X0 Y0 ; set position to X=0 and Y=0 G1 X15 Y20 F2000 ; ADJUST the XY values to put the nozzle on the edge of the bed G92 X0 Y0 ; set position to X=0 and Y=0 ;G1 X159 Y142 F6000 ; move probe to bed center ... if not zeroed this might be correct G1 X145 Y120 F2000 ; move XY, ADJUST the XY values to get Z probe over target M558 F600 A1 ; Dive fast once G30 ; home Z, using values from G31 in config.g M558 F120 A10 ; Slow second dive with more accuracy G30 ; home Z, using values from G31 in config.g G1 Z10 F200 ; Move Z up to Z=10 G1 X0 Y0 F6000 ; Move to X=0 Y=0 ;G1 Z0 F200 ; Move to Z=0 ;M913 X100 Y100 Z100 ; Return motor currents to normal ;M375 P"Mesh_Mirror_Heated.csv" ; load heightmap (you can use G29 S1 instead) ;G29 S1 ; Load heightmap and enable mesh grid compensation