Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Automatic Tool Z-Offset Correction

    Gcode meta commands
    3
    5
    355
    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.
    • Philipp.R
      Philipp.R last edited by

      Hi,

      i want to use a "Tool Height Probe" (mechanical switch like in the picture below) to detect the actual Nozzle height for different tools at one 3D-Printer at a certain Temperature.
      I thought one possibillity to achive this is to override the Z-Offset in the config.g file at the selectet Tool.
      I would like to use G-Code Meta Commands: https://duet3d.dozuki.com/Wiki/GCode_Meta_Commands
      But im not sure if it is possible, because variable declaration and assignment is not implementet yet.

      Also i would like to know if ther is another posibility to change the Tool Z-Offset without going into the config.g file and the need to restar the firmware.

      I use:
      Toolchanger (4 Tools)
      BL-Touch (Mesh bed compensation)
      Duet2 Ethernet Board
      Firmware 3.1.1Toolheightsensor.jpg

      I would be glad if you guys have some thoughts on this projekt. Also maybe there is someone who already implemented such system into a 3D-Printer or have a differernt way to achive it.

      dc42 1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators @Philipp.R last edited by

        @Philipp-R said in Automatic Tool Z-Offset Correction:

        i want to use a "Tool Height Probe" (mechanical switch like in the picture below) to detect the actual Nozzle height for different tools at one 3D-Printer at a certain Temperature.
        I thought one possibillity to achive this is to override the Z-Offset in the config.g file at the selectet Tool.
        I would like to use G-Code Meta Commands: https://duet3d.dozuki.com/Wiki/GCode_Meta_Commands
        But im not sure if it is possible, because variable declaration and assignment is not implementet yet.
        Also i would like to know if ther is another posibility to change the Tool Z-Offset without going into the config.g file and the need to restar the firmware.

        Yes it's possible, and you don't need to use variables. The G10 command sets the trigger height, and object model variable sensors.probes[N].lastStopHeight will return the height at which the probe last triggered.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        jay_s_uk Philipp.R 2 Replies Last reply Reply Quote 0
        • jay_s_uk
          jay_s_uk @dc42 last edited by

          @dc42 is that line in the object model also applicable to G38.2 moves?

          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 0
          • Philipp.R
            Philipp.R @dc42 last edited by

            @dc42 thank you for the quick answer.
            Do i have to configure also the "Tool Heigt Probe" like the BL-Touch in the config.g with the M558 and G10 command.

            What i don't understand is were do i have to change the the Tool Z-Offset? directly in the config.g file or do i have override the value bevor printing?

            It would be great if you have more detailed information about this problem or also when tere is a thread who already a discussion is been made. Unfortunately i diddn't found the right information in the forum.

            1 Reply Last reply Reply Quote 0
            • Philipp.R
              Philipp.R last edited by

              By the way i have found one thread about this topic: https://forum.duet3d.com/topic/18942/calculating-tool-offset-cnc/3?_=1604994474624

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