@prior123 said in Z axis not homing:
; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Tue Mar 16 2021 15:54:40 GMT+0000 (Greenwich Mean Time)
M561 ; clear any bed transform
G29 ; probe the bed and enable compensation
Strictly speaking you are not using bed.g as it was intended.
G32 is the command for bed leveling, be it manual or automatic. G32 invokes bed.g.
G29 is the command for mesh bed compensation. G29 invokes mesh.g
The DWC has menu items for G32 and G29. If you follow the convention above then the actions performed using the DWC will match what the DWC menu items say.
What you have will certainly work, it is just "out of sync" with the conventions and the DWC menu items.
To follow the convention you would simply create the file mesh.g and move into it the commands you currently have in bed.g.
What would i put for the M557 if it wasnt using an S value? i only put an S value because it feels easier to understand if i know the distance
For example If, instead of Snn, I put P20 the firmware generates a 20 x 20 grid. If I put P20:10 it generates a 20 x 10 grid.
To me the number of points is of greater interest than the exacting spacing of the points.
Frederick