Duet3D Logo

    Duet3D

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

    Basic Starter Problems

    Using Duet Controllers
    2
    14
    92
    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.
    • sunToxx
      sunToxx last edited by sunToxx

      I am using a CaribouDuet now and loving it so far. It's my first printer and I received it assembled and calibrated, so my knowledge is very limited. The results so far are very good. Now I adjusted the babysteps and checked the config files and macros and I am wondering about some things.

      If I understand it correctly, I can permanently save the babysteps by entering M500 after the print. In which config file does it get saved then, config.override? If it is a override, it is not permanent, is it?

      And can I create Makros to quickly change between different configs, like nozzle and print sheet combos? I read the Save Baby Steps macro and it seems to say that i can, but I do not quite understand the instructions given. It seems I am lacking information required to exactly understand the following:

      ; If this is for a specific nozzle / sheet combination it is recommended to save the
      ; value like G31 0.234, where 0.234 repesents the display number into the nozzle / sheet
      ; config files under 0:/macros/02-Print_Surface_Handling or 0:/macros/02-Nozzle_Handling
      ; (depending on what z-probe you are using). Whenever this combination chnages execute
      ; the corresponding macros for the combination.

      ; If this is for a specific filament type, recommend placing this yielded information in
      ; the filament's config.g -
      ;
      ; Ensure M501 exists in 0:/sys/config.g !!!

      Seems a bit confusing:

      -G31 0.234, where 0.234 repesents the display number into the...
      

      Why is there only a single value, doesnt this gcode define all 3 axis? Display number??

      ...the display number into the nozzle / sheet
      ; config files under 0:/macros/02-	Print_Surface_Handling or 0:/macros/02-Nozzle_Handling
      ; (depending on what z-probe you are using).
      

      What Z-Probe am I using? No idea. A BL Touch is not the correct answer I suppose? Also not sure what exactly they are saying here. I am supposed to create a new macro in on of those folders depending on my z-probe?

      Phaedrux 1 Reply Last reply Reply Quote 0
      • Phaedrux
        Phaedrux Moderator @sunToxx last edited by

        @suntoxx said in Basic Starter Problems:

        If I understand it correctly, I can permanently save the babysteps by entering M500 after the print. In which config file does it get saved then, config.override? If it is a override, it is not permanent, is it?

        No, baby steps are not saved and made permanent. If you want to make a permanent adjustment to the Z position you need to adjust the Z probe offset in G31 Z in config.g The larger the Z offset, the closer the nozzle will be to the bed.

        I'm not sure what the macros you show are actually doing. Is there more to it?

        Do you know what type of probe you have? Regardless, the process for measuring the offset is the same.

        https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_testing

        Z-Bot CoreXY Build | Thingiverse Profile

        sunToxx 1 Reply Last reply Reply Quote 0
        • sunToxx
          sunToxx @Phaedrux last edited by sunToxx

          @phaedrux i do have a BL Touch on the printer, if that is what probe is refering to.

          Doesn't it specifically say that the Z value does not go into the config.g?

          Offsets - place off-sets for x and y here. z-offsets are handled in the print sheet macros
          ;
          G31 X31.6 Y-10.1
          ;
          

          I suppose that is a CaribouDuet specific thing?

          1 Reply Last reply Reply Quote 0
          • Phaedrux
            Phaedrux Moderator last edited by

            Does Caribou have any guides or documentation? You've got some custom macros from them. I'm sure they work, but I don't have them to look at or understand the intent like they would.

            Z-Bot CoreXY Build | Thingiverse Profile

            sunToxx 1 Reply Last reply Reply Quote 0
            • sunToxx
              sunToxx @Phaedrux last edited by

              @phaedrux the intend of using macros appears to be, to be able to easily switch between different sheet/nozzle combos. There is documentation and the system itself does not seem overly complicated, but the explanations didn't realy help me so far, leaving me with more questions than i started with. Maybe I should just ask for some examples and skip trying to understand the instructions. That's usually easier anyway.

              Yes, there is a documentation, however at my level of knowledge it is not too helpful in regard to the macros.

              https://caribou3d.dozuki.com/c/Caribou_Duet

              sunToxx 1 Reply Last reply Reply Quote 0
              • sunToxx
                sunToxx @sunToxx last edited by

                @suntoxx thats the save baby steps macro

                if state.status != "processing"                                      ; printer is not currently printing!
                
                   if move.axes[2].babystep !=0                                      ; if no babysteps are currently adjusted - exit routine
                      M291 R{"z-Trigger Height"} P{"Current: " ^ sensors.probes[0].triggerHeight ^ ", Babysteps:" ^ move.axes[2].babystep ^ ", New: " ^ sensors.probes[0].triggerHeight - move.axes[2].babystep} S2
                      M291 P{"Press OK to continue or CANCEL to abort."} R{"Setting z-probe offset to " ^ sensors.probes[0].triggerHeight - move.axes[2].babystep ^ "?"}  S3
                      M400                                                           ; finish all current moves / clear the buffer
                      G31 Z{sensors.probes[0].triggerHeight - move.axes[2].babystep} ; set G31 Z offset to corrected
                      M500 P10:31                                                    ; save settings to config-overide.g - G31 P31 saves trigger height
                      M290 R0 S0                                                     ; set babystep to 0mm absolute
                      G28
                   else
                      M291 P"Babysteps are 0.000. z-trigger height will not be changed." S1
                else
                   M291 S2 P"z-Trigger height cannot be changed during an ongoing print. Please run this macro when the print is finished, and the bed is clear and ready!" R"WARNING!"
                ;
                
                sunToxx 1 Reply Last reply Reply Quote 0
                • sunToxx
                  sunToxx @sunToxx last edited by

                  @suntoxx Quote:

                  This macro displays the current z-trigger, babysteps, and the difference between
                  ; the new numbers which represents the new trigger height.
                  ;
                  ; It clears the current baby-stepping and then rehomes the machine to make the new
                  ; z-offset effective.
                  ;
                  ; If this is for a specific nozzle / sheet combination it is recommended to save the
                  ; value like G31 0.234, where 0.234 repesents the display number into the nozzle / sheet
                  ; config files under 0:/macros/02-Print_Surface_Handling or 0:/macros/02-Nozzle_Handling
                  ; (depending on what z-probe you are using). Whenever this combination chnages execute
                  ; the corresponding macros for the combination.

                  ; If this is for a specific filament type, recommend placing this yielded information in
                  ; the filament's config.g -
                  ;
                  ; Ensure M501 exists in 0:/sys/config.g !!!
                  ;

                  sunToxx 1 Reply Last reply Reply Quote 0
                  • Phaedrux
                    Phaedrux Moderator last edited by

                    @suntoxx said in Basic Starter Problems:

                    Ok that helps to see the macro. It should work as advertised. Have you tried to run it and follow the prompts?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    sunToxx 1 Reply Last reply Reply Quote 0
                    • sunToxx
                      sunToxx @sunToxx last edited by

                      @suntoxx the question there is, how do i perceive this "save babysteps"? Is that a permanent thing or would i manually enter the value elsewhere if i do not use the macros yet and how would i do it via a macro? But I assume I should take those question to the Caribou group, as this way of handling it appears to be a caribou specific approach as i know now.

                      1 Reply Last reply Reply Quote 0
                      • sunToxx
                        sunToxx @Phaedrux last edited by

                        @phaedrux no, i have not used the m500 command or the macro yet, as i would like to understand everything first.

                        sunToxx 1 Reply Last reply Reply Quote 0
                        • sunToxx
                          sunToxx @sunToxx last edited by

                          @suntoxx for example, how is the relationship between the saved babystep and a z value in a sheet or nozzle macro. And would i use nozzle or surface handling macros, and why.

                          1 Reply Last reply Reply Quote 0
                          • Phaedrux
                            Phaedrux Moderator last edited by

                            Well in this case the use of the term "babysteps" is a little different than it would normally be used in reprap firmware.

                            Typically, baby steps would be used at the start of a print to make a fine adjustment to the nozzle position and it wouldn't be carried over.

                            This macro takes the concept of baby stepping, but has you use a different mechanism to apply it. Then using the value to modify the permanent probe offset. It's a clever way to do it.

                            It's using conditional gcode

                            Z-Bot CoreXY Build | Thingiverse Profile

                            sunToxx 1 Reply Last reply Reply Quote 0
                            • sunToxx
                              sunToxx @Phaedrux last edited by sunToxx

                              @phaedrux so m500 turns the baby steps into a permanent condition and the main value for Z is stored in the config.override instead of config.g that people use normally? Is there an obvious reason to not saving it in config.g? Would manually chaning the value break the macro? Or most likely just to make clear that it's not meant to be changed manually?

                              1 Reply Last reply Reply Quote 0
                              • Phaedrux
                                Phaedrux Moderator last edited by

                                you can't directly edit config.g with a command. Config-override exists to save those sorts of values and it does that by writing out all the values that it can save to a new file each time.

                                So it's taking the babystep amount and using that number in the G31 Z probe offset to make it permanent because G31 gets saved to config-override.

                                Z-Bot CoreXY Build | Thingiverse Profile

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