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

    Permantly save Z-Probe Offset after Z-Calibration via G30 S-3

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    3
    5
    323
    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.
    • wieman01undefined
      wieman01
      last edited by

      Hello,

      After completing the z-calibration procedure I typically open "config.g" and manually adjust the z-offset by using G31.

      config.g:

      ; BL Touch
      M950 S0 C"duex.pwm5"												
      M558 P9 C"^zprobe.in" H5 F150 T6000									
      G31 P25 X0 Y-36 Z1.95									
      

      z-calibration (part 1):

      G28
      M561
      G1 F3000 X240 Y160 Z20	
      M564 S0
      

      z-calibration (part 2):

      G92 Z0
      G1 Z5
      G30 S-3
      M500 
      

      I was hoping M500 would save the setting in "config-override.g", but it does not.

      Is there any way I can make this a permanent setting (i.e. even after restarting the machine) once I have run the script?

      Thank you.

      wieman01

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @wieman01
        last edited by

        @wieman01 you want M500 P31

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        wieman01undefined o_lampeundefined 2 Replies Last reply Reply Quote 2
        • wieman01undefined
          wieman01 @jay_s_uk
          last edited by

          @jay_s_uk

          Oh, gosh, can it be that simple?! Thank you, my friend, that worked like a charm. All good now, the G31 parameter is safely stored in "config-override.g".

          wieman01

          1 Reply Last reply Reply Quote 1
          • Phaedruxundefined Phaedrux marked this topic as a question
          • Phaedruxundefined Phaedrux has marked this topic as solved
          • o_lampeundefined
            o_lampe @jay_s_uk
            last edited by

            @jay_s_uk said in Permantly save Z-Probe Offset after Z-Calibration via G30 S-3:

            @wieman01 you want M500 P31

            How would that work with several tools? Do I add the toolnumber?
            THX
            Olaf

            1 Reply Last reply Reply Quote 0
            • jay_s_ukundefined
              jay_s_uk
              last edited by

              @o_lampe you want M500 P10 to save the tool offsets.
              at least with my toolchanger that i used to run (and its the same with the E3D toolchanger) all the tools were relative to the z probe. So the z probe had no offsets and each tool was offset from that using G10

              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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