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

Changing Probe offsets with G code/Macro

Scheduled Pinned Locked Moved
General Discussion
2
4
254
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.
  • undefined
    3DPrintingWorld
    last edited by 28 Oct 2020, 17:06

    Is there a way to change the probe offset by sending a Gcode, or is there another way around it besides editing the config?

    I have multiple bed surfaces and also IDEX copy mode which require this height to be changed. Depending on the bed surface and the tool being used I need to change Z offset value correspondingly.

    I was thinking about using a macro, so I would put in say the Buildtak flex plate and run the Buildtak macro that would load the proper height map and set the correct offset.

    G31 P25 X28.8 Y0 Z2.12

    undefined 1 Reply Last reply 28 Oct 2020, 19:18 Reply Quote 0
    • undefined
      Phaedrux Moderator @3DPrintingWorld
      last edited by 28 Oct 2020, 19:18

      @3DPrintingWorld said in Changing Probe offsets with G code/Macro:

      Is there a way to change the probe offset by sending a Gcode, or is there another way around it besides editing the config?

      Yes. You can send G31 Z at any time to change it either from command line or a macro.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        3DPrintingWorld
        last edited by 28 Oct 2020, 19:40

        Oh, sorry. I just had a epiphany and realized I could just put this line in the macro, duh.... I was just coming back to write this. lol
        Only thing is that its going to default the value in the config, right? Say I do a e-stop or turn it off. I'll just make sure that's a safe number so I don't have any accidents incase I forget to run the macro before I start.

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 28 Oct 2020, 19:43

          That's right. When the printer starts up it will get whatever values are in config.g. It will be up to you to load the appropriate macro needed for the bed surface when it changes.

          Z-Bot CoreXY Build | Thingiverse Profile

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