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

    Error: bad Command XXX W/RRF 3.2 and leveling issue

    Scheduled Pinned Locked Moved
    General Discussion
    9
    147
    10.3k
    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.
    • fcwiltundefined
      fcwilt @3DPrintingWorld
      last edited by

      @3DPrintingWorld said in Error: bad Command XXX W/RRF 3.2 and leveling issue:

      I call the G28 in the start script. My plan at first was to call them individually, but that way you cant start homing X and U at the same time.

      It's a trade off - optimizing homing versus code simplicity.

      My homeALL.g has always gone for simplicity:

      M98 P"homeZ.g"
      M98 P"homeX.g"
      M98 P"homeY.g"
      

      At first I went the more "traditional" route of having actual homing code in homeALL.g.

      But then as I considered the ratio of time spent homing and time spent printing the potential for optimization was discarded in favor of code simplicity.

      Your mileage may vary. 😉

      Frederick

      Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

      3DPrintingWorldundefined 1 Reply Last reply Reply Quote 0
      • 3DPrintingWorldundefined
        3DPrintingWorld @fcwilt
        last edited by

        @fcwilt At one point I tried that but I went back to having everything in the homeall because it really does save some time, epically considering that this printer has an additional U axis. It is really nice and clean though, maybe I'll revisit it once I get this mess figured out. 😉

        1 Reply Last reply Reply Quote 1
        • Guillaume G.undefined
          Guillaume G.
          last edited by

          I wonder why no-one replied about the fact that you get a different behaviour when starting from power off or when rebooting after loading config.g.
          Same thing about the upload and print function which causes crashes.
          I would have thought these hints would point towards a limited number of possible causes.
          I imagine some config detail could sometimes be overwritten depending on the sequence the config files or macro are loaded...

          I thought about something else:
          We have a difference in our M669 (kinematics type config).
          You have

          M669 K0 Y1:-1:0:1
          

          As I didn't really understand why there was a minus sign regarding Y to Y reaction, I didn't go for it and used this instead:

          M669 K0 Y1:1:0:1
          

          I think the only other implication is that I need to have my Y motor directions reversed compared to yours in the M569 statements.

          Speaking about it here in case the negative sign in M669 would be causing your issues somehow.

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

            @3DPrintingWorld I think we've hit the point where this thread is too sprawling to follow closely. IF you're still having some issues, please start a new thread with a summary of details and all the configs etc.

            Z-Bot CoreXY Build | Thingiverse Profile

            3DPrintingWorldundefined 1 Reply Last reply Reply Quote 0
            • martin7404undefined
              martin7404
              last edited by

              Might be a good idea to make a tread like "Duet wifi on MULDEX printer "
              What you think ?

              Muldex IDEX Duet2+Duex5
              Custom CoreXY 600x400 Hemera , Duet3+Toolboard+1HCL closed loop
              Sapphire Pro with Duet2, with closed-loop motors
              custom high temp E3D tool changer with Duet2+Duex

              1 Reply Last reply Reply Quote 0
              • martin7404undefined
                martin7404 @Guillaume G.
                last edited by

                @Guillaume-G
                I fail to understand the logic in M669

                Muldex IDEX Duet2+Duex5
                Custom CoreXY 600x400 Hemera , Duet3+Toolboard+1HCL closed loop
                Sapphire Pro with Duet2, with closed-loop motors
                custom high temp E3D tool changer with Duet2+Duex

                Guillaume G.undefined 3DPrintingWorldundefined 2 Replies Last reply Reply Quote 0
                • Guillaume G.undefined
                  Guillaume G. @martin7404
                  last edited by

                  @martin7404
                  Yes I took me some time to understand the matrix concept the M669 description refers to.

                  I use

                  M669 K0 Y1:1:0:1
                  

                  K0 is for Cartesian
                  The rest is about which axis interacts with which.

                  On the Muldex, Y movement causes X and U to move with a ratio of 1 and the other axes movements are considered independent.
                  This should speak better than words:
                  5c0db897-3ab9-4e84-a818-17e449504a5a-image.png

                  martin7404undefined 3DPrintingWorldundefined 4 Replies Last reply Reply Quote 0
                  • martin7404undefined
                    martin7404 @Guillaume G.
                    last edited by

                    @Guillaume-G Thank you Now I understand

                    Muldex IDEX Duet2+Duex5
                    Custom CoreXY 600x400 Hemera , Duet3+Toolboard+1HCL closed loop
                    Sapphire Pro with Duet2, with closed-loop motors
                    custom high temp E3D tool changer with Duet2+Duex

                    1 Reply Last reply Reply Quote 0
                    • 3DPrintingWorldundefined
                      3DPrintingWorld @martin7404
                      last edited by

                      @martin7404 said in Error: bad Command XXX W/RRF 3.2 and leveling issue:

                      I fail to understand the logic in M669

                      I did not understand the logic either. I found it defined on the forum somewhere but it did not work for me as written so I swamped the numbers around until it worked... I was hoping that I was not going to have to admit that.😉

                      1 Reply Last reply Reply Quote 0
                      • 3DPrintingWorldundefined
                        3DPrintingWorld @Guillaume G.
                        last edited by

                        @Guillaume-G Thanks for that, I studied the documentation for a while but could not understand it, now I do. I'll remove the negative.

                        1 Reply Last reply Reply Quote 0
                        • 3DPrintingWorldundefined
                          3DPrintingWorld @Guillaume G.
                          last edited by

                          @Guillaume-G
                          I found the original topic. You can see that DC has a negative number in the M669 he suggest for the user to use as well.

                          https://forum.duet3d.com/topic/7796/haq-xy/17?_=1614288039698

                          1 Reply Last reply Reply Quote 0
                          • 3DPrintingWorldundefined
                            3DPrintingWorld @Phaedrux
                            last edited by

                            @Phaedrux I plan on moving to a new thread and only cover one topic, I just wanted to try a couple things before I do but I have not had the chance.

                            1 Reply Last reply Reply Quote 1
                            • 3DPrintingWorldundefined
                              3DPrintingWorld @Guillaume G.
                              last edited by

                              @Guillaume-G said in Error: bad Command XXX W/RRF 3.2 and leveling issue:

                              I use
                              M669 K0 Y1:1:0:1

                              Gui, I was able to remove the negative by reversing the direction of both Y motors. Thanks!

                              martin7404undefined 1 Reply Last reply Reply Quote 0
                              • martin7404undefined
                                martin7404 @3DPrintingWorld
                                last edited by martin7404

                                @3DPrintingWorld Noted I will follow
                                BTW today assembled the original HIWIN MGN9Z0 ( by book it is 0 tolerance rail to balls) rail on the 2020 extrusion. I mounted the new carriage with 2 bolts and there is No play at all compared to LDO MGN9 that have. OF course, the real test will be when I swap the whole thing into the printer

                                Muldex IDEX Duet2+Duex5
                                Custom CoreXY 600x400 Hemera , Duet3+Toolboard+1HCL closed loop
                                Sapphire Pro with Duet2, with closed-loop motors
                                custom high temp E3D tool changer with Duet2+Duex

                                1 Reply Last reply Reply Quote 0
                                • 3DPrintingWorldundefined
                                  3DPrintingWorld @3DPrintingWorld
                                  last edited by

                                  @3DPrintingWorld said in Error: bad Command XXX W/RRF 3.2 and leveling issue:

                                  G1 H2 X5 U-5 F7500 ; go back a few mm

                                  I think I resolved the issue with the "Probe was not triggered" error. When I split the Y axis and home it to two different switches, this movement causes the U axis to move towards the endstop. I think if the Y axis is to much out of skew when the homing starts, it would cause the U axis to already be past the endstop switch.

                                  My guess is I only saw this issue when I uploaded changes to the config was because I recycled power which would allow the y-axis to relax and skew.

                                  I changed the line above to G1 H2 X5 U-10 F7500, and have not had it happen yet.

                                  3DPrintingWorldundefined 1 Reply Last reply Reply Quote 0
                                  • 3DPrintingWorldundefined
                                    3DPrintingWorld @3DPrintingWorld
                                    last edited by

                                    Scratch that, it still crashes... I thought testing it ten times was enough but it did it the right after writing the reply. lol

                                    Its so intermittent, its going to make it harder to catch.

                                    martin7404undefined 1 Reply Last reply Reply Quote 0
                                    • martin7404undefined
                                      martin7404 @3DPrintingWorld
                                      last edited by

                                      @3DPrintingWorld I remember that back off of Y before doing separate motor/endstop homing was causing crashing with mine. It was 5 mm in your config, I lowered it to 2 and never got a crash since

                                      Muldex IDEX Duet2+Duex5
                                      Custom CoreXY 600x400 Hemera , Duet3+Toolboard+1HCL closed loop
                                      Sapphire Pro with Duet2, with closed-loop motors
                                      custom high temp E3D tool changer with Duet2+Duex

                                      3DPrintingWorldundefined 1 Reply Last reply Reply Quote 0
                                      • 3DPrintingWorldundefined
                                        3DPrintingWorld @martin7404
                                        last edited by

                                        @martin7404 I'm not sure if this is the cause because I'm realizing that its the initial homing of U before it start homing Y where the issue lies. The crash happens while its homing Y but that's because U was not homed properly and is not in the correct position when the Y axis homing starts.

                                        I'm realizing that the issue started to happen when I added the filament sensors which is when I moved the U endstop to the Duex5. I'm going to remove the filament sensors and put the endstop back on the WIFI and see if that fixes the issue.

                                        1 Reply Last reply Reply Quote 0
                                        • 3DPrintingWorldundefined
                                          3DPrintingWorld
                                          last edited by

                                          Thats the issue!!! When I have the endstop on Duex5 I get a crash every 10-20 times, when its on wifi it works perfectly. I'll open a new issue on this but I think its related to the bed leveling issue as well because those motor are also on the duex 5. So is the Tool1 fan that turns on every other time for no reason.

                                          fcwiltundefined 1 Reply Last reply Reply Quote 0
                                          • martin7404undefined
                                            martin7404
                                            last edited by

                                            So last post here.
                                            mounted Hiwin MGn9Z0 and there is no play in a carriage at all.
                                            G29 mesh in cold is 0.07 less deviation Untitled.png

                                            Muldex IDEX Duet2+Duex5
                                            Custom CoreXY 600x400 Hemera , Duet3+Toolboard+1HCL closed loop
                                            Sapphire Pro with Duet2, with closed-loop motors
                                            custom high temp E3D tool changer with Duet2+Duex

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