Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Z calibration offset

    Scheduled Pinned Locked Moved
    My Duet controlled machine
    3
    23
    960
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fcwiltundefined
      fcwilt @Thunder
      last edited by

      @Thunder said in Z calibration offset:

      @fcwilt

      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

      Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

      1 Reply Last reply Reply Quote 0
      • Thunderundefined
        Thunder
        last edited by

        Do you mean in the home all section? Sorry I am a little slow when programing 🙂

        fcwiltundefined 1 Reply Last reply Reply Quote 0
        • fcwiltundefined
          fcwilt @Thunder
          last edited by

          @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

          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA