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

Homing issues on 2 delta printers after upgrading to 3.1.1

Scheduled Pinned Locked Moved
Firmware installation
5
36
1.7k
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
    dc42 administrators
    last edited by dc42 15 Jul 2020, 07:10

    @mhackney, after resetting, please run just these commands:

    G91
    G1 H1 X1000 Y1000 Z1000 F2500

    and then report what XYZ coordinates are reported.

    Also, please post the contents of config-override.g.

    PS - you could also try deleting config-override.g to see if that fixes the problem, then recreate it (using M500) after running auto calibration.

    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 15 Jul 2020, 13:44 Reply Quote 0
    • undefined
      sLpFhaWK @dc42
      last edited by 15 Jul 2020, 13:44

      @dc42

      So I tried this, I homed normal near my home position dropped 150mm and then reset the printer, my max home height is 452mm drops 15mm after home so everytime I reset the printer it thinks its at 437mm. After I run your commands, it stayed at the top and read 602mm and I had deleted the override file and I still got that error, without the override I got the same error even homing normally with it at it's correct height.

      ; This is a system-generated file - do not edit
      ; Delta parameters
      M665 L377.470 R206.427 H451.666 B140.0 X0.252 Y0.460 Z0.000
      M666 X0.578 Y-1.992 Z1.414 A-1.07 B-0.18
      ; Heater model parameters
      M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B1
      M307 H1 A512.9 C267.0 D9.0 S1.00 V0.0 B0
      M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0
      M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0
      M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
      M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
      M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0
      M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0

      -sLpFhaWK
      Ultibots K250v
      Rostock Max v2 Soon to be Full MetalMax
      Mini Kossel

      1 Reply Last reply Reply Quote 0
      • undefined
        dc42 administrators
        last edited by dc42 15 Jul 2020, 13:51

        Thanks, now we know why it's giving the error... but not why it thinks the height is 602mm after homing. Can you confirm that it has triggered all 3 homing switches? Confirm this by running those commands with the 3 carriages starting at different heights.

        PS - also, please run M665 and M666 without parameters, and confirm that it reports the same values as in your M665 and M666 commands in config.g.

        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 15 Jul 2020, 14:02 Reply Quote 0
        • undefined
          sLpFhaWK @dc42
          last edited by 15 Jul 2020, 14:02

          @dc42

          I can confirm that yes, all 3 switches are being triggered when they were all at different heights.

          367e333a-51c7-4882-b853-a60e6941ff20-image.png

          5926a597-6e02-422c-b7a5-5b602ed3e6f5-image.png

          -sLpFhaWK
          Ultibots K250v
          Rostock Max v2 Soon to be Full MetalMax
          Mini Kossel

          undefined 1 Reply Last reply 15 Jul 2020, 14:14 Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 15 Jul 2020, 14:11

            What XYZ coordinates does DWC or M114 report after running those 2 commands, with the towers starting at different heights?

            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 15 Jul 2020, 14:46 Reply Quote 0
            • undefined
              droftarts administrators @sLpFhaWK
              last edited by droftarts 15 Jul 2020, 14:14

              @sLpFhaWK
              Is this how your endstops are still set?

              M574 X1 S1 P"xstop" ; X min active high endstop switch
              M574 Y1 S1 P"ystop" ; Y min active high endstop switch
              M574 Z1 S1 P"zstop" ; Z min active high endstop switch

              If so, they are set as LOW END endstops, ie when axis is at minimum, with X1, Y1 and Z1! They should be X2, Y2 and Z2.

              You don't appear to have an M584 command in your config.g (which sets the drive mapping). Add:

              M584 X0 Y1 Z2 E3 ; Set drive mapping

              after the M665 and M666 lines, but before the M350 line, in your config.g. I don't think this is causing your issue, but it should be defined with RRF3.

              Also, might be worth setting axis limits with M208, something like:

              ; Axis Limits
              M208 Z-0.2 S1 ; Set minimum Z

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              undefined 1 Reply Last reply 15 Jul 2020, 14:50 Reply Quote 1
              • undefined
                droftarts administrators @sLpFhaWK
                last edited by 15 Jul 2020, 14:22

                @sLpFhaWK said in Homing issues on 2 delta printers after upgrading to 3.1.1:

                M350 X64 Y64 Z64 E16 I1

                Also, as you're using Duet 2 Wifi, you won't get interpolation (I1) with microstepping set to x64. The TMC2660 stepper drivers only provide interpolation at x16.

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                undefined undefined 2 Replies Last reply 15 Jul 2020, 14:53 Reply Quote 0
                • undefined
                  sLpFhaWK @dc42
                  last edited by 15 Jul 2020, 14:46

                  @dc42

                  This is where I started.

                  c5daa268-d72b-46b3-896c-d9a15f69f6fd-image.png

                  Then I'll run the 2 commands you set.

                  G91
                  G1 H1 X1000 Y1000 Z1000 F2500

                  This is what I got with the M114

                  bac0fc4d-7c51-414c-ad99-281fdd022bc8-image.png

                  -sLpFhaWK
                  Ultibots K250v
                  Rostock Max v2 Soon to be Full MetalMax
                  Mini Kossel

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    sLpFhaWK @droftarts
                    last edited by 15 Jul 2020, 14:50

                    @droftarts said in Homing issues on 2 delta printers after upgrading to 3.1.1:

                    @sLpFhaWK
                    Is this how your endstops are still set?

                    M574 X1 S1 P"xstop" ; X min active high endstop switch
                    M574 Y1 S1 P"ystop" ; Y min active high endstop switch
                    M574 Z1 S1 P"zstop" ; Z min active high endstop switch

                    If so, they are set as LOW END endstops, ie when axis is at minimum, with X1, Y1 and Z1! They should be X2, Y2 and Z2.

                    You don't appear to have an M584 command in your config.g (which sets the drive mapping). Add:

                    M584 X0 Y1 Z2 E3 ; Set drive mapping

                    after the M665 and M666 lines, but before the M350 line, in your config.g. I don't think this is causing your issue, but it should be defined with RRF3.

                    Also, might be worth setting axis limits with M208, something like:

                    ; Axis Limits
                    M208 Z-0.2 S1 ; Set minimum Z

                    Ian

                    Ian, I haven't touched anything in the config, so if that is where you pulled the code from they are indeed unchanged.

                    I'll add the M584 and change the XYZ from 1 to 2.

                    Also where in the config should the m208 go?

                    -sLpFhaWK
                    Ultibots K250v
                    Rostock Max v2 Soon to be Full MetalMax
                    Mini Kossel

                    undefined 1 Reply Last reply 15 Jul 2020, 15:01 Reply Quote 0
                    • undefined
                      sLpFhaWK @droftarts
                      last edited by 15 Jul 2020, 14:53

                      @droftarts said in Homing issues on 2 delta printers after upgrading to 3.1.1:

                      @sLpFhaWK said in Homing issues on 2 delta printers after upgrading to 3.1.1:

                      M350 X64 Y64 Z64 E16 I1

                      Also, as you're using Duet 2 Wifi, you won't get interpolation (I1) with microstepping set to x64. The TMC2660 stepper drivers only provide interpolation at x16.

                      Ian

                      Ian, so should I change the

                      M350 X64 Y64 Z64 E16 I1

                      to

                      M350 X16 Y16 Z16 E16 I1

                      or just remove

                      M350 X64 Y64 Z64 E16

                      I'm sorry I got help from Michael when he configured this printer for Brad, so I, and pretty much everyone else who bought one from Ultibots is running the same values.

                      -sLpFhaWK
                      Ultibots K250v
                      Rostock Max v2 Soon to be Full MetalMax
                      Mini Kossel

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        droftarts administrators @sLpFhaWK
                        last edited by 15 Jul 2020, 15:01

                        @sLpFhaWK said in Homing issues on 2 delta printers after upgrading to 3.1.1:

                        Also where in the config should the m208 go?

                        Usually after the motor settings, but before fans. But I'd think that the endstop configuration is the main problem.

                        Re microstepping: actually, M350 X64 Y64 Z64 E16 I1 is probably okay, it just means that you get interpolation on the E axis only. Using x64 on the other axes is fine, though the motors are likely to have a greater margin of error than even x16 microstepping. The advantage of interpolation is that it should make the movement between microsteps smoother and quieter, but changing from x64 to x16 might lose you a very small amount of accuracy.

                        Ian

                        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                        undefined 1 Reply Last reply 15 Jul 2020, 15:34 Reply Quote 0
                        • undefined
                          sLpFhaWK @droftarts
                          last edited by 15 Jul 2020, 15:34

                          @droftarts said in Homing issues on 2 delta printers after upgrading to 3.1.1:

                          @sLpFhaWK said in Homing issues on 2 delta printers after upgrading to 3.1.1:

                          Also where in the config should the m208 go?

                          Usually after the motor settings, but before fans. But I'd think that the endstop configuration is the main problem.

                          Re microstepping: actually, M350 X64 Y64 Z64 E16 I1 is probably okay, it just means that you get interpolation on the E axis only. Using x64 on the other axes is fine, though the motors are likely to have a greater margin of error than even x16 microstepping. The advantage of interpolation is that it should make the movement between microsteps smoother and quieter, but changing from x64 to x16 might lose you a very small amount of accuracy.

                          Ian

                          Well I am not sure what fixed it, but it seems to be working now.

                          If you noticed in my config file, before the end switches there was a line commented out.

                          0759a653-8ed4-44e5-99e1-aa39f9c66e76-image.png

                          We had them set to high before, but with the change in 3.0 where you had to define them I guess we just set them low somehow and that possibly was screwing it up.

                          When I home, and drop it say 200mm and I reset the board I will home it and it will know it's max height and won't add the 200mm giving me an error anymore. I'm going to revert back to X1 Y1 Z1 to test and see if that fixed the error.

                          So I can confirm, the X2 Y2 Z2 fixed the homing error.

                          Thank you for the help @droftarts and @dc42

                          -sLpFhaWK
                          Ultibots K250v
                          Rostock Max v2 Soon to be Full MetalMax
                          Mini Kossel

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            mhackney @droftarts
                            last edited by 17 Jul 2020, 14:38

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            33 out of 36
                            • First post
                              33/36
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA