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

    Jubilee tool changer knobprobe macro

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    6
    242
    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.
    • jens55undefined
      jens55
      last edited by

      Would somebody be willing to share a macro to determine tool height offset with a knobprobe (https://www.printables.com/model/120147) on a jubilee tool changer please? I just can't get it right.

      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators @jens55
        last edited by

        @jens55 if no one else has one already, please post how far you have got and we can possibly help.

        www.duet3d.com

        jens55undefined 1 Reply Last reply Reply Quote 0
        • jens55undefined
          jens55 @T3P3Tony
          last edited by

          @T3P3Tony, thanks for chiming in. I have managed to figure out what is happening and have a working macro with the exception of an unnecessary tilt correction as per my other thread.

          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @jens55
            last edited by

            @jens55 ahh ok thanks for confirming!. In that case please.post it here for others!

            www.duet3d.com

            jens55undefined 1 Reply Last reply Reply Quote 0
            • jens55undefined
              jens55 @T3P3Tony
              last edited by

              @T3P3Tony, as per request:
              ; This macro determines z height offset for a given tool with the help of an external height probe (knobprobe)
              ; based on https://www.printables.com/model/120147-knobprobe-z-offset-probe-between-z-probe-and-nozzl
              ; It uses the center of a 300 x 300 mm bed as the probe position, the knoobprobe is connected to io8.in and ground (on io8)
              ; it is meant for a Jubilee tool changer, each tool has it's own macro

              T-1 ; Make sure no tool is active / loaded
              M561 ; Disable any Mesh Bed Compensation
              G0 X150 Y150 Z85 ; Move to the center of the bed and down enough to clear probe

              M291 P"Connect height probe to IO 8, adjust z and place probe under Z limit switch, Nozzle should be below printing temp to avoid oozing and clean" S2
              M291 P"Warning !!!! Do not run this unless the probe is connected and filament is loaded (to avoid error)" S2

              G30 ; Probe once, set z=0 this probe run measures the height setter position with the carriage z probe

              M558 P8 C"io8.in" F60 H5 ; Set up height probe as active Z probe ... Probe connected to IO8.in, Feedrate 60, Probe Hight 5mm.
              G31 Z0 ; Set probe trigger height as 0 because it activates when touching the probe (config.g previously set trigger height to -2)
              ; note that this only sets the trigger height of the probe but doesn't do anything else. When probe gets triggered the printer knows it is at z=0

                                          ;Height probe is active but no tool loaded yet
              

              ; ---------------- Fourth Tool ----------------
              G0 Z5 ; Go 5mm over probe. ; give another 5 mm of clearance
              T3 ; Load fourth tool.

              ; set tool offset to -1, we were at z=5 .... z offset ????? ... original reason unknown
              G10 P3 Z-1 ; Reset tool Z offset

              G0 x150 y150 ; Go to the center of the bed with the tool, center it over height probe

              ; height probe is active, tool is loaded and nozzle is over the tool setter
              ; we have the z=0 position measured from the tool height gauge top via carriage z switch
              ; must now measure nozzle tip with height gauge

              G30 S-2 ; Probe the bed at the current XY position. When the probe is triggered, adjust the Z offset of the current tool to make the current position Z=0.

              ; tool offset is now in the system but must still be made permanent with M500

              G0 Z5 ; increase Z clearance for safety
              G10 P3 ; Print out the offsets for operator to see

              M500 ; Save offsets in default config-override.g

              ;
              ; ---------------- Final Check ----------------

              T-1 ; Unload tools in order to re-check if tool height gauge is still at same height as when we started
              ; unloading tool also makes sure that height probe is under z carriage switch as it resets all offsets
              M558 P8 C"io1.in" H3 F360 T6000 ; Return carriage Z probe as active probe again H = dive height F probe speed T travel speed .... from config.g
              g31 z-2 ; reset trigger point as it is in config.g

              G0 X150 Y150 F24000 ; Move to the center of the bed

              ; carriage z probe is active again, tool has been unloaded

              ;M118 S"If the last height is not -1 as stated by probe height then the probe bed has moved during nozzle probes." .... note: -2 and NOT -1

              G30 S-1 ; Probe the bed at the current XY position. When the probe is triggered, do not adjust the Z coordinate, just report the machine height at which the probe was triggered.

              G0 Z5 ; increase Z height for safety

              M291 P"Remove the height probe from bed" S2
              G29 S1 ; re-load the mesh bed
              G28 Z ; re-do z zero .... must have height probe removed from bed

              ; G28 Z does an unnecessary tilt correction as done in the regular homez.g macro

              Note that the two M558 lines need to be adjusted for the particular printer in use

              T3P3Tonyundefined 1 Reply Last reply Reply Quote 1
              • T3P3Tonyundefined
                T3P3Tony administrators @jens55
                last edited by

                @jens55 thanks!

                www.duet3d.com

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