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

Possibilities to adjust the z-offset (without the config.g file)

Scheduled Pinned Locked Moved
General Discussion
6
19
711
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
    CR3D
    last edited by 4 Jun 2020, 15:49

    @Phaedrux

    Thanks for your answers. I have a configur.g file and of course the Z-Probe is also tried. Everything works fine. But it is all that is configured, the printer is running and now the board that is configured (because there is no internet, the printer is gone) is gone and you should still feel the Z offset. How would you do it

    @zapta

    That is exactly my question, can I read out the current Z offset via USB and then write and save it again? That would be my wish ...

    Christian from CR-3D
    Homepage:
    www.cr-3d.de

    Facebook:
    https://www.facebook.com/cr3d.official

    Our Discord Server
    https://discord.gg/SxRaPNuRdA

    Thingiverse Profile:
    https://www.thingiverse.com/cr-3d_official/about

    1 Reply Last reply Reply Quote 0
    • undefined
      bot
      last edited by 4 Jun 2020, 18:52

      How did you become in the position to commission a printer for a business, presumably for compensation, without the knowledge of how to commission said printer?

      Moreover, how did you not consider the use of the printer before accepting the duty to commission it?

      The Z offset really can be set many ways, permanently or temporarily...

      Have you looked at the list of GCodes in the documentation? https://duet3d.dozuki.com/Wiki/Gcode

      *not actually a robot

      undefined 1 Reply Last reply 4 Jun 2020, 19:14 Reply Quote 0
      • undefined
        CR3D @bot
        last edited by 4 Jun 2020, 19:14

        @bot

        the printers all run flawlessly and i constantly deal with the matter. this special question has arisen again and again in the course of time. I basically know how to adjust the Z offset. For printers with a complete Duet setup, I always do this via the config.g file. However, the special way via USB is unfortunately not known to me. and I unfortunately only have the option of this setup via USB. Is there an option here? Then I would be very grateful for help!

        And yes, I know the GCode list very well!

        Christian from CR-3D
        Homepage:
        www.cr-3d.de

        Facebook:
        https://www.facebook.com/cr3d.official

        Our Discord Server
        https://discord.gg/SxRaPNuRdA

        Thingiverse Profile:
        https://www.thingiverse.com/cr-3d_official/about

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 4 Jun 2020, 19:16

          I'm not really sure what you mean. But if you send G31 by itself it will respond with what the currently set value is.

          To measure the current trigger height a macro could be created that prompts the user to jog the nozzle to touch the bed and then uses G30 S-1 to report it to the console, or you can use G30 S-3 in the same way with the difference that it sets the trigger height immediately without having to chnage config.g. That value can be saved to config-override with M500 P31.

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 2 Replies Last reply 4 Jun 2020, 19:25 Reply Quote 0
          • undefined
            CR3D @Phaedrux
            last edited by 4 Jun 2020, 19:25

            @Phaedrux Ok thank you!

            Where is the definition of the G30 "S" parameters? i have never read something about "S-3"
            Thank you a lot!

            Christian from CR-3D
            Homepage:
            www.cr-3d.de

            Facebook:
            https://www.facebook.com/cr3d.official

            Our Discord Server
            https://discord.gg/SxRaPNuRdA

            Thingiverse Profile:
            https://www.thingiverse.com/cr-3d_official/about

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

              I thought you knew the gcode list very well! 😁

              https://duet3d.dozuki.com/Wiki/Gcode#Section_G30_Single_Z_Probe

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 4 Jun 2020, 19:30 Reply Quote 1
              • undefined
                CR3D @Phaedrux
                last edited by 4 Jun 2020, 19:30

                @Phaedrux

                Oh my mistake! πŸ˜„

                I was there... the general G code overview
                https://reprap.org/wiki/G-code

                Thanks... I will test it!

                Christian from CR-3D
                Homepage:
                www.cr-3d.de

                Facebook:
                https://www.facebook.com/cr3d.official

                Our Discord Server
                https://discord.gg/SxRaPNuRdA

                Thingiverse Profile:
                https://www.thingiverse.com/cr-3d_official/about

                undefined 1 Reply Last reply 4 Jun 2020, 19:39 Reply Quote 0
                • undefined
                  zapta @CR3D
                  last edited by 4 Jun 2020, 19:39

                  @CR3D, what you will need is to have the ability to send gcodes over the USB and to retrieve their response, using some script or software. Once you will have that capability, you will have very good control over the printer.

                  undefined 1 Reply Last reply 5 Jun 2020, 14:37 Reply Quote 0
                  • undefined
                    CR3D @zapta
                    last edited by 5 Jun 2020, 14:37

                    @zapta

                    Yes I can send Commands and I can receive Messages from the Duet.
                    I will test and report πŸ™‚

                    Thanks!

                    Christian from CR-3D
                    Homepage:
                    www.cr-3d.de

                    Facebook:
                    https://www.facebook.com/cr3d.official

                    Our Discord Server
                    https://discord.gg/SxRaPNuRdA

                    Thingiverse Profile:
                    https://www.thingiverse.com/cr-3d_official/about

                    undefined 1 Reply Last reply 5 Jun 2020, 14:57 Reply Quote 0
                    • undefined
                      mrehorstdmd @CR3D
                      last edited by 5 Jun 2020, 14:57

                      @CR3D You could always implement an adjustable Z=0 endstop... See: https://drmrehorst.blogspot.com/2020/03/a-new-z-axis-optical-endstop-design-for.html

                      alt text

                      https://drmrehorst.blogspot.com/

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        CR3D @Phaedrux
                        last edited by 5 Jun 2020, 15:46

                        @Phaedrux

                        Ok thank you for your answers...

                        I will test it now.

                        Must the z offset be configurated in the config.override that i can change it?

                        @mrehorstdmd thatΒ΄s not possible, because it is fixed on the toolhead directly

                        Christian from CR-3D
                        Homepage:
                        www.cr-3d.de

                        Facebook:
                        https://www.facebook.com/cr3d.official

                        Our Discord Server
                        https://discord.gg/SxRaPNuRdA

                        Thingiverse Profile:
                        https://www.thingiverse.com/cr-3d_official/about

                        ? 1 Reply Last reply 5 Jun 2020, 15:51 Reply Quote 0
                        • ?
                          A Former User @CR3D
                          last edited by 5 Jun 2020, 15:51

                          @CR3D said in Possibilities to adjust the z-offset (without the config.g file):

                          Must the z offset be configurated in the config.override that i can change it?

                          if it is in config-overrigde.g that is where you need to update it (as it would otherwise override you do in config.g)

                          if its not already in config-override.g it doesn't matter where you put it; but if you intend on using M500 it will be saved to config-override.g

                          undefined 1 Reply Last reply 6 Jun 2020, 20:57 Reply Quote 0
                          • undefined
                            zapta @A Former User
                            last edited by 6 Jun 2020, 20:57

                            @bearer, it is possible to read/write a duet file (e.g. a macro) using the USB/Serial port?

                            (If so, any configuration can be saved in a file that is invoked by the standard config.)

                            ? 1 Reply Last reply 6 Jun 2020, 20:59 Reply Quote 0
                            • ?
                              A Former User @zapta
                              last edited by 6 Jun 2020, 20:59

                              @zapta haven't tried tbh, but afaik you can use g-code and that shouldn't matter which channel is in use

                              https://duet3d.dozuki.com/Wiki/Gcode#Section_M28_Begin_write_to_SD_card

                              (you can't read and parse the file, but ofc executing it should achieve the same thing)

                              undefined 1 Reply Last reply 7 Jun 2020, 15:29 Reply Quote 0
                              • undefined
                                CR3D
                                last edited by 7 Jun 2020, 15:15

                                Thank you everybody for your help! πŸ™‚

                                My solution is following:

                                1. Read out my z-offset with G31 via serial command in the console of my server
                                2. Change my Z-Offset with G31 Z?.?
                                3. Save settings with M500 G31

                                This is working well for me πŸ™‚

                                Thank you!

                                Christian from CR-3D
                                Homepage:
                                www.cr-3d.de

                                Facebook:
                                https://www.facebook.com/cr3d.official

                                Our Discord Server
                                https://discord.gg/SxRaPNuRdA

                                Thingiverse Profile:
                                https://www.thingiverse.com/cr-3d_official/about

                                1 Reply Last reply Reply Quote 1
                                • undefined
                                  CR3D @A Former User
                                  last edited by 7 Jun 2020, 15:29

                                  @bearer

                                  The M98 command also works via Serial Port. This also would be one solution!

                                  The M28 command i never tested till yet...

                                  Christian from CR-3D
                                  Homepage:
                                  www.cr-3d.de

                                  Facebook:
                                  https://www.facebook.com/cr3d.official

                                  Our Discord Server
                                  https://discord.gg/SxRaPNuRdA

                                  Thingiverse Profile:
                                  https://www.thingiverse.com/cr-3d_official/about

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