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

3 Z steppers - can I move it individually?

Scheduled Pinned Locked Moved
Tuning and tweaking
4
20
1.5k
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
    Reefwarrior
    last edited by 8 May 2021, 07:40

    Hi,

    Sometimes due to mechanical reasons (and the wonderful accuracy of my build) I experience that some of the 3 Z axis goes out of 'alignment' - so it inadvertently tilts the bed. Is there perhaps a G-code that I can issue to let me move one of the Z stepper motors? I will make maintenance (greasing and cleaning the lead screws) a lot easier too!

    Any/all help appreciated!
    Tinus

    undefined undefined 2 Replies Last reply 8 May 2021, 07:57 Reply Quote 1
    • undefined
      dc42 administrators @Reefwarrior
      last edited by 8 May 2021, 07:57

      @reefwarrior you can do this automatically if you have a Z probe. See https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors.

      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

      undefined 1 Reply Last reply 10 May 2021, 13:26 Reply Quote 0
      • undefined
        fcwilt @Reefwarrior
        last edited by 8 May 2021, 13:25

        @reefwarrior

        In addition to the Z probe if you have a Z endstop for each Z stepper you can quickly home Z and get the bed nearly level.

        Then you use the Z probe with the auto leveling feature to fine tune the bed leveling.

        In this video you can see a grossly out of level bed homed and leveled:

        Homing and Leveling of 3 Z Stepper Printer

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        1 Reply Last reply Reply Quote 0
        • undefined
          Reefwarrior
          last edited by 10 May 2021, 13:25

          @fcwilt @fcwilt Hi! Thank you - yeah that seems 'better; than only relying on one sensor - it has happened where the offset between the three Z's were too much for the sensor to reach - and the nozzle ran into the bed. Specifically what am I looking for with regards to the 3 end stops? Configuration wise?

          undefined 1 Reply Last reply 10 May 2021, 14:51 Reply Quote 0
          • undefined
            Reefwarrior @dc42
            last edited by 10 May 2021, 13:26

            @dc42 Thank you! 🙂

            1 Reply Last reply Reply Quote 0
            • undefined
              fcwilt @Reefwarrior
              last edited by 10 May 2021, 14:51

              @reefwarrior said in 3 Z steppers - can I move it individually?:

              @fcwilt @fcwilt Hi! Thank you - yeah that seems 'better; than only relying on one sensor - it has happened where the offset between the three Z's were too much for the sensor to reach - and the nozzle ran into the bed. Specifically what am I looking for with regards to the 3 end stops? Configuration wise?

              Hi,

              All you need is this command:

              M574 Z1 S1 P"!duex.e2stop + !duex.e3stop + !duex.e4stop but for your actual Z endstop connections.

              They also must be in the same order as this command:

              M584 X0 Y1:2 Z5:6:7 E3

              So in this example:

              • duex.e2stop is for Z5
              • duex.e3stop is for Z6
              • duex.e4stop is for Z7

              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

              undefined 1 Reply Last reply 10 May 2021, 15:11 Reply Quote 0
              • undefined
                Reefwarrior @fcwilt
                last edited by 10 May 2021, 15:11

                @fcwilt Hi! Thank you! 🙂 Will try and implement ASAP - busy struggling with something else now again 🙂

                1 Reply Last reply Reply Quote 0
                • undefined
                  Reefwarrior
                  last edited by 12 May 2021, 06:25

                  Will the homing script basically remain the same, or is there something specific I need to do?

                  undefined 1 Reply Last reply 12 May 2021, 10:24 Reply Quote 0
                  • undefined
                    fcwilt @Reefwarrior
                    last edited by 12 May 2021, 10:24

                    @reefwarrior said in 3 Z steppers - can I move it individually?:

                    Will the homing script basically remain the same, or is there something specific I need to do?

                    You home normally - the same as you would if you only had one Z stepper.

                    When you have the M574 command with multiple endstops for Z the firmware knows how to handle them.

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    undefined 1 Reply Last reply 9 Jun 2021, 18:15 Reply Quote 0
                    • undefined
                      Reefwarrior @fcwilt
                      last edited by 9 Jun 2021, 18:15

                      @fcwilt Hi. I have now installed optical end stops; but I'm having issues with it - it only recognises a single optical end stop - and even if I trigger it; the z motor on that rail does not stop. Also; I have a BL Touch for bed probing - how do I define that; inclusive of the other 3 independent optical end stop....

                      undefined 1 Reply Last reply 9 Jun 2021, 18:31 Reply Quote 0
                      • undefined
                        fcwilt @Reefwarrior
                        last edited by 9 Jun 2021, 18:31

                        @reefwarrior said in 3 Z steppers - can I move it individually?:

                        @fcwilt Hi. I have now installed optical end stops; but I'm having issues with it - it only recognises a single optical end stop - and even if I trigger it; the z motor on that rail does not stop. Also; I have a BL Touch for bed probing - how do I define that; inclusive of the other 3 independent optical end stop....

                        You need to have an M574 command something like this (from my printer) ...

                        M574 Z1 S1 P"!duex.e2stop + !duex.e3stop + !duex.e4stop"*

                        ... where you specify each endstop in the order the matches the Z stepper assignments in the M584 command (from my printer)

                        M584 X0 Y1:2 Z5:6:7 E3

                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                        undefined 1 Reply Last reply 9 Jun 2021, 18:48 Reply Quote 0
                        • undefined
                          Reefwarrior @fcwilt
                          last edited by Reefwarrior 6 Sept 2021, 18:50 9 Jun 2021, 18:48

                          @fcwilt Hi; I will try again - but how do I now define the BL Touch; and as what?

                          I have this: M584 Z7 U5 V9 P3 --- the 3 Z motors are plugged in on 2 4 and 6. And They work in the order of 4 2 6 on the duex.

                          If I issue a M119; it tells me that there is no end stop for U and V....

                          undefined 1 Reply Last reply 9 Jun 2021, 18:54 Reply Quote 0
                          • undefined
                            fcwilt @Reefwarrior
                            last edited by 9 Jun 2021, 18:54

                            @reefwarrior said in 3 Z steppers - can I move it individually?:

                            @fcwilt Hi; I will try again - but how do I now define the BL Touch; and as what?

                            I have this: M584 Z7 U5 V9 P3 --- the 3 Z motors are plugged in on 2 4 and 6. And They work in the order of 4 2 6 on the duex.

                            If I issue a M119; it tells me that there is no end stop for U and V....

                            I do not understand your M584.

                            If the Z steppers are on 2,4,6 then the M584 should have Z2:4:6.

                            Why are you concerned with moving each Z stepper individually?

                            Frederick

                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                            undefined 1 Reply Last reply 9 Jun 2021, 18:57 Reply Quote 0
                            • undefined
                              Reefwarrior @fcwilt
                              last edited by 9 Jun 2021, 18:57

                              @fcwilt Hi; ok that was for maintenance purposes (cleaning and lubrication) to have each individual axis be able to move up and down.

                              It is 5 7 and 9; as drivers 0-4 are on the Duet2 Wifi; and then the Duex5 is 5-9 (I have used the first stepper plug; then left one open, used the next, one open, used next on the duex5).

                              According to documentation on the duet wiki; I need to 'split' the 3 motors; each must run to the end stop, and then need to be 'recombined' in the homez.g

                              undefined 1 Reply Last reply 9 Jun 2021, 19:37 Reply Quote 0
                              • undefined
                                fcwilt @Reefwarrior
                                last edited by fcwilt 6 Oct 2021, 00:25 9 Jun 2021, 19:37

                                @reefwarrior said in 3 Z steppers - can I move it individually?:

                                @fcwilt Hi; ok that was for maintenance purposes (cleaning and lubrication) to have each individual axis be able to move up and down.

                                It is 5 7 and 9; as drivers 0-4 are on the Duet2 Wifi; and then the Duex5 is 5-9 (I have used the first stepper plug; then left one open, used the next, one open, used next on the duex5).

                                According to documentation on the duet wiki; I need to 'split' the 3 motors; each must run to the end stop, and then need to be 'recombined' in the homez.g

                                If you keep the steppers combined Z5:7:9 with firmware 3.2.2 or later you can home the Z axis and each motor will run until the associated endstop is triggered.

                                I don't understand why you would need control each Z stepper individually for the purposes of cleaning/lubrication. I have not found the need to do that.

                                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator
                                  last edited by 9 Jun 2021, 19:55

                                  See here for some examples: https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors

                                  You can use both ways interchangeably. Combine all 3 drivers as a single Z axis and use the combined M574 endstop definition to home them at once as a group. Or if you wish you can have a separate macro that creates separate axis for each Z motor for individual control and movement.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  undefined 1 Reply Last reply 10 Jun 2021, 07:29 Reply Quote 0
                                  • undefined
                                    Reefwarrior @Phaedrux
                                    last edited by 10 Jun 2021, 07:29

                                    @phaedrux Thank you! Question still is how do I go about with the following:

                                    3 independent Z motors - each homing to an end stop (to get a rough levelling) and then using the BL touch to adjust each axis as required (homing using 3 z axis). I have had a couple of times now where there was some or other issue with regards to the BL Touch and I ended up smashing the bed into the nozzle....

                                    undefined Phaedruxundefined 2 Replies Last reply 10 Jun 2021, 10:59 Reply Quote 0
                                    • undefined
                                      Reefwarrior @Reefwarrior
                                      last edited by 10 Jun 2021, 10:59

                                      Think I may be on the point of having this completed. The individual homing works - just now the bl touch part...

                                      1 Reply Last reply Reply Quote 0
                                      • Phaedruxundefined
                                        Phaedrux Moderator @Reefwarrior
                                        last edited by 10 Jun 2021, 17:37

                                        @reefwarrior said in 3 Z steppers - can I move it individually?:

                                        3 independent Z motors - each homing to an end stop (to get a rough levelling)

                                        This part is automatic if you're using RRF3 and have the 3 z motor drivers combined as a single z axis and then home using the 3 endstops combined in M574. Using a G1 H1 move to home Z will move each motor until the endstop is hit.

                                        For doing independent leveling with the probe, you'll need to set that up in bed.g.

                                        All this and more is described with examples here: https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        undefined 1 Reply Last reply 10 Jun 2021, 18:49 Reply Quote 0
                                        • undefined
                                          Reefwarrior @Phaedrux
                                          last edited by 10 Jun 2021, 18:49

                                          @phaedrux Cool! 🙂 I suspected that it may be in a different file - seems I am finally grasping how this part works 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • undefined Jrow referenced this topic 6 Jun 2022, 09:49
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA