Z calibration offset
-
@Thunder said in Z calibration offset:
Yes like the last one, this code is in slicer start program.
Great.
How about when creating the height map?
The G30 for creating and loading need to use the exact same X and Y position.
Frederick
-
Do you mean in the home all section? Sorry I am a little slow when programing
-
@Thunder said in Z calibration offset:
Do you mean in the home all section? Sorry I am a little slow when programing
I don't know where you create the height map.
I have a pair of files that I created called mech_comp_map_create.g and mesh_comp_map_load.g.
The first is invoked from a DWC macro as I create the height map manually.
The second is invoked from another file that I created called print_begin.g which is invoked by the slicer at the start of a print.
The essential commands in mech_comp_map_create.g are below
G90 G1 Xaaa Ybbb ; move the z probe to the center of the bed G30 ; set the Z=0 datum G29 ; probe the bed and create the height map
The essential commands in mech_comp_map_load.g are below
G90 G1 Xaaa Ybbb ; move the z probe to the center of the bed G30 ; set the Z=0 datum G29 S1 ; load the height map
The important thing to notice is that G30 must be used before creating (G29) or loading (G29 S1) the height map.
Frederick