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

Core XY movement issues

Scheduled Pinned Locked Moved
Duet Hardware and wiring
10
103
14.2k
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
    OBELIKS @FxxToo
    last edited by 18 Jul 2018, 05:30

    @fxxtoo Hm, you get M350 before M92 if you use configurator. So that is also a problem with it.

    P3Steel Toolson mk2 - Duet 2 WiFi --> RatRig V-Core with Duet WiFi 1.03
    Original Prusa i3 MK3S

    undefined 1 Reply Last reply 18 Jul 2018, 16:03 Reply Quote 0
    • undefined
      deckingman @FxxToo
      last edited by 18 Jul 2018, 10:44

      @fxxtoo said in Core XY movement issues:

      PROBLEM SOLVED....
      To all that have tried to help me, I want to say thank you to all of you. Turns out that I made a silly mistake in my config.g. dc42 posted , you should put the M92 command before and the firmware will take care of the M350 when it sees it based on your M92 settings. If this can help someone else from making this mistake or helps some one figure out whats wrong, then the past month of frustration will be worth it. Thanks again for the support...and the patience for a noob.

      I made a choice between one of two boards for my printer. I most definitely choose the right one.
      thanks,
      RJ

      Err, well I glad you've solved your problem but something is very amiss. Whether M350 comes before or after M92 should result in the same thing providing the steps per mm match the micro-stepping setting - see here https://duet3d.dozuki.com/Wiki/GCode#Section_M350_Set_microstepping_mode

      Just for the hell of it, I tried both ways on my CoreXY and in both cases I get no Y movement when I ask for an X movement. I'm still on a earlier version of firmware (1.20.1 RC2) so maybe you've found a bug in later firmware???

      Ian
      https://somei3deas.wordpress.com/
      https://www.youtube.com/@deckingman

      undefined 2 Replies Last reply 18 Jul 2018, 11:19 Reply Quote 0
      • undefined
        JoergS5 @deckingman
        last edited by JoergS5 18 Jul 2018, 11:19

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • undefined
          JoergS5 @deckingman
          last edited by JoergS5 18 Jul 2018, 11:27

          @deckingman there is a comment in the cartesian type docu:

          The M92 commands to set steps/mm should either come after any M350 command to set microstepping, or else the M92 parameters should be correct for the default x16 microstepping. This is because when you change microstepping, the steps/mm are automatically adjusted to take account of the change in microstepping.

          https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter

          Maybe the information helps. But the original config setting would be ok after this description.

          undefined 1 Reply Last reply 18 Jul 2018, 12:51 Reply Quote 0
          • undefined
            deckingman @JoergS5
            last edited by 18 Jul 2018, 12:51

            @joergs5 Yes I know that. The link you gave has the same information as the link I supplied.

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            undefined 1 Reply Last reply 18 Jul 2018, 15:01 Reply Quote 0
            • undefined
              JoergS5 @deckingman
              last edited by 18 Jul 2018, 15:01

              @deckingman

              Independent of this thread, isn't it a problem if the two sides of the X axis are not connected stiff? If the tensions of the belts are not equal, there will be torsion forces in my understanding, which could lead to the 3 mm movements.

              undefined undefined 2 Replies Last reply 18 Jul 2018, 15:18 Reply Quote 0
              • undefined
                mrehorstdmd @JoergS5
                last edited by 18 Jul 2018, 15:18

                @joergs5 Nope. The belts and motors define the motion. As long as the tensions are set to keep the X axis perpendicular to the Y axis, it will operate smoothly and will not cause any extraneous motion.

                If the x axis guide rail weren't there, the motion would still work as it is supposed to.

                https://drmrehorst.blogspot.com/

                undefined 1 Reply Last reply 18 Jul 2018, 15:27 Reply Quote 0
                • undefined
                  JoergS5 @mrehorstdmd
                  last edited by JoergS5 18 Jul 2018, 15:27

                  @mrehorstdmd Thanks a lot, this was new to me! This gives me new innovative ideas to build a new printer!

                  I am thinking about a Corexy with wires, so the hotend needs only the z direction fixed.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    deckingman @JoergS5
                    last edited by 18 Jul 2018, 15:30

                    @joergs5 As @mrehorstdmd said. If the tensions aren't equal then the axes may not be at right angles and the printed parts might no be square. But commanding 100mm of X movement should not make the Y carriage move.

                    Ian
                    https://somei3deas.wordpress.com/
                    https://www.youtube.com/@deckingman

                    undefined 1 Reply Last reply 18 Jul 2018, 15:33 Reply Quote 0
                    • undefined
                      JoergS5 @deckingman
                      last edited by JoergS5 18 Jul 2018, 15:33

                      @deckingman Thanks Ian. To balance tension, I will try a seesaw, e.g. between the motors.
                      (after balancing I will fix it)

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        FxxToo @OBELIKS
                        last edited by 18 Jul 2018, 16:03

                        @obeliks
                        In all honesty, I started out with the config.g file from the configurator. In the beginning I wasn't keeping notes, on changes, problems, etc. I didn't notice the issue right away. I discovered it while getting the homing worked out.
                        So I could have put the M350 before the M92 statement when I started playing with micro stepping. So I would have to go back and use the configurator to find out if that is true or not.
                        RJ

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          FxxToo @JoergS5
                          last edited by 18 Jul 2018, 16:04

                          @joergs5 Thanks! If it can help someone else to Not do what I did ans save some frustration..Perfect! rj

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            FxxToo
                            last edited by 18 Jul 2018, 16:14

                            @ everyone
                            I just found a post that might clarify this subject!! Hope this helps clear it up
                            Quoted from dc42
                            Which way round do you have the M350 and M92 commands in config.g?

                            If you have the M92 command before the M350 command, you need to set the steps/mm as they would be for x16 microstepping. When the M350 command is processed, the steps/mm will automatically be adjusted for the new microstepping.

                            If you have the M92 command after the M350 command, then the values need to be correct for the microstepping you declare in M350.
                            link to it
                            https://forum.duet3d.com/topic/2396/calibration/7

                            undefined 1 Reply Last reply 18 Jul 2018, 16:27 Reply Quote 0
                            • undefined
                              JoergS5 @FxxToo
                              last edited by 18 Jul 2018, 16:27

                              @fxxtoo I don't understand why order is a problem, because 0 movement of the second stepper is 0, no matter how the microstepping setting is, whether correct or not.

                              I looked into the source, there are many variables like if it's a smart driver, if there is an additional extruder (bugfix), or whether one motor is stalled (homing).

                              undefined undefined 2 Replies Last reply 18 Jul 2018, 16:32 Reply Quote 0
                              • undefined
                                deckingman @JoergS5
                                last edited by 18 Jul 2018, 16:32

                                @joergs5 said in Core XY movement issues:

                                @fxxtoo I don't understand why order is a problem, because 0 movement of the second stepper is 0, no matter how the microstepping setting is, whether correct or not.
                                .................

                                Exactly! That's why I said something is seriously amiss. The "fix" doesn't make sense (even though it appears to have cured the OP's problem).

                                Ian
                                https://somei3deas.wordpress.com/
                                https://www.youtube.com/@deckingman

                                undefined 1 Reply Last reply 18 Jul 2018, 16:35 Reply Quote 0
                                • undefined
                                  FxxToo @JoergS5
                                  last edited by 18 Jul 2018, 16:32

                                  @joergs5
                                  II haven't looked at the source code, so can't comment on that. I think that the M350 uses the info from the M92 statement as the start of the calcs for the micro stepping. If a M92 comes after the M350 it might not clear something or miss something that the m350 set. Might be a question for dc42 or Tony. -RJ

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    FxxToo @deckingman
                                    last edited by 18 Jul 2018, 16:35

                                    @deckingman
                                    Maybe dc42 or Tony can explain this. I just know that my issue went away when I put the M92 for the proper setting for x16 microstepping and then set microstepping with M350, as per the post I read from dc42. Still have a lot to learn about this. -rj

                                    undefined 1 Reply Last reply 18 Jul 2018, 16:43 Reply Quote 0
                                    • undefined
                                      JoergS5 @FxxToo
                                      last edited by 18 Jul 2018, 16:43

                                      @fxxtoo maybe your problem reappears when you change to 1/64 stepping, because this was your original setting.

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        Phaedrux Moderator
                                        last edited by 18 Jul 2018, 16:57

                                        Yes I would be interested to see if you can now recreate the problem to verify the fix.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        undefined 1 Reply Last reply 18 Jul 2018, 17:10 Reply Quote 0
                                        • undefined
                                          FxxToo @Phaedrux
                                          last edited by 18 Jul 2018, 17:10

                                          @phaedrux , @joergs5
                                          I just tried this in my config.g
                                          M92 X80 Y80 Z80 E420 ; Set steps per mm x80 y80 z175 z80 z85
                                          M350 x64 y64 Z128 ; Configure microstepping with interpolation
                                          ;M92 Y320 Y320 Z1400 E420 ;mod to test 64 micro stepping This resulted in the normal movement.
                                          changed to this:
                                          ;M92 X80 Y80 Z80 E420 ; Set steps per mm x80 y80 z175 z80 z85
                                          M350 x64 y64 Z128 ; Configure microstepping with interpolation
                                          M92 Y320 Y320 Z1400 E420 ;mod to test this resulted in movement on the Y while doing a G1 x100
                                          So the answer is , Yes I can duplicate it.
                                          Other than my reply earlier, I have no clue why this is happening. I just know that I can move forward now..
                                          RJ

                                          undefined 1 Reply Last reply 18 Jul 2018, 17:32 Reply Quote 1
                                          66 out of 103
                                          • First post
                                            66/103
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA