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

    Need help with Ender-6 core xy motor movement

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    3
    27
    1.8k
    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.
    • davidewenundefined
      davidewen @peter247
      last edited by

      @peter247
      Thanks for the response.

      I've tried these configs.

      M569 P0.0 S0 ; physical drive 0.0 goes backwards
      M569 P0.1 S1 ; physical drive 0.1 goes forwards
      Y homes correctly

      M569 P0.0 S1 ; physical drive 0.0 goes forwards
      M569 P0.1 S1 ; physical drive 0.1 goes forwards
      X homes towards Y front

      M569 P0.0 S0 ; physical drive 0.0 goes backwards
      M569 P0.1 S0 ; physical drive 0.1 goes backwards
      X homes towards Y endstop in rear

      M569 P0.0 S1 ; physical drive 0.0 goes forwards
      M569 P0.1 S0 ; physical drive 0.1 goes backwards
      X homes correctly

      David

      peter247undefined 2 Replies Last reply Reply Quote 0
      • peter247undefined
        peter247 @davidewen
        last edited by peter247

        @davidewen said in [Need help with Ender-6 core xy motor movement]

        Just make sure it is moving correct .

        You may have problem with the homing files or other configs .

        Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

        1 Reply Last reply Reply Quote 0
        • peter247undefined
          peter247 @davidewen
          last edited by

          @davidewen

          post homeall.g

          Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

          davidewenundefined 1 Reply Last reply Reply Quote 0
          • davidewenundefined
            davidewen @peter247
            last edited by

            @peter247

            homeall.g attached
            homeall.g

            peter247undefined 1 Reply Last reply Reply Quote 0
            • peter247undefined
              peter247 @davidewen
              last edited by peter247

              @davidewen

              ; homeall.g
              ; called to home all axes
              ;
              ; generated by RepRapFirmware Configuration Tool v3.2.3 on Fri Jul 23 2021 13:25:10 GMT-0700 (Pacific Daylight Time)
              G91                  ; relative positioning
              G1 H2 Z5 F12000      ; lift Z relative to current position
              G1 H1 X255 Y255 F900 ; move quickly to X or Y endstop and stop there (first pass)
              G1 H1 X255           ; home X axis
              G1 H1 Y255           ; home Y axis
              G1 X-5 Y-5 F12000    ; go back a few mm
              G1 H1 X255 F450      ; move slowly to X axis endstop once more (second pass)
              G1 H1 Y255           ; then move slowly to Y axis endstop
              G90                  ; absolute positioning
              G1 X47 Y15 F12000    ; go to first bed probe point and home Z
              G30                  ; home Z by probing the bed
              
              ; Uncomment the following lines to lift Z after probing
              ;G91                 ; relative positioning
              ;G1 Z5 F200          ; lift Z relative to current position
              ;G90                 ; absolute positioning
              

              Confused , why are you lift the tool head , homing twice , lower the tool head and homing again .

              M913 X50 Y50 Z50 ; set X Y Z motors to 50% of their normal current
              G91               ; relative positioning
              G1 H2 Z5 F6000    ; lift Z relative to current position
              G1 H1 X 330 F3000 ; move quickly to X axis endstop and stop there (first pass)
              G1 H1 Y 330 F3000 ; move quickly to Y axis endstop and stop there (first pass)
              ;G1 H2 Z-5 F6000   ; lower Z again
              G90               ; absolute positioning
              M913 X100 Y100 Z100 ; 
              

              This is my X Y part of homeall.g

              Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

              davidewenundefined 1 Reply Last reply Reply Quote 0
              • davidewenundefined
                davidewen @peter247
                last edited by davidewen

                @peter247

                Peter,
                This is all from the RRF Config Tool. https://configtool.reprapfirmware.org

                I have not written any of the code.

                I'm guessing that is for the EZAble Z-probe. Similar to the Prusa z-probe.

                peter247undefined 1 Reply Last reply Reply Quote 0
                • peter247undefined
                  peter247 @davidewen
                  last edited by

                  @davidewen Homeall.g is crazy but it still should home in the right direction .

                  Have you tried swapping the x , y stepper motors wires and tried the 4 motor possibilities ?

                  Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                  davidewenundefined 1 Reply Last reply Reply Quote 0
                  • davidewenundefined
                    davidewen @peter247
                    last edited by

                    @peter247

                    I have not swapped wires.
                    Correct me if I'm wrong, but isn't changing motor direction the same as changing the wires? So that would be redundant.

                    peter247undefined 1 Reply Last reply Reply Quote 0
                    • peter247undefined
                      peter247 @davidewen
                      last edited by peter247

                      @davidewen True , but you are also changing X , Y to Y , X
                      I don't mean change the wires of each motor , but swap left to right motor.

                      Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                      davidewenundefined 1 Reply Last reply Reply Quote 0
                      • davidewenundefined
                        davidewen @peter247
                        last edited by

                        @peter247

                        Again, that would give me the same results, but with added effort of changing code.

                        I've done a little more testing. This time by phyiscal force.
                        I manually moved the X / Y axis and watched the motor directions.

                        X - both motors move in the same direction
                        Y - motors move opposite of each other

                        So, somehow I need to figure out how to make Duet do the same.

                        peter247undefined 1 Reply Last reply Reply Quote 0
                        • peter247undefined
                          peter247 @davidewen
                          last edited by

                          @davidewen Yes , mine is in the same direction on both motors .
                          But you still may need to swap motors .

                          Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

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

                            Check out these two posts they might help you get things straightened out.

                            https://forum.duet3d.com/topic/14971/vcore-pro-core-xy-the-x-and-y-axis-home-issue/4

                            https://forum.duet3d.com/topic/12676/mirrored-x-axis/9

                            The gist of it is to choose where the front of your printer is when looking at it straight on. 0,0 is the front left corner. X+ moves to the right, X- moved to the left, Y+ moves to the back, Y- moves to the front. That is the way it should be. If it's not like that yet, don't worry, we will make it that way. this is to match the slicer and CAD coordinate systems.

                            Then your endstop location is fixed either at the low end or high end of travel. That determines your M574 commands.

                            Then your homing directions will be positive or negative o move the head towards the endstops.

                            Now with all that fixed you can do the motor direction test in the corexy setup guide to determine what to do next.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            davidewenundefined 1 Reply Last reply Reply Quote 0
                            • davidewenundefined
                              davidewen @Phaedrux
                              last edited by

                              @phaedrux
                              Thank you for your help.
                              Sorry for my delayed response. I was on vacation last week.

                              Ender 6 physical setup
                              X & Y motors @ rear
                              X & Y stops @ max

                              NOTE: I had to swap X & Y at the Duet board to get the correct movement.

                              I have the X & Y axis moving correctly per your referenced link
                              https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter

                              X homes correctly.
                              Y homes correctly.

                              Thanks again!

                              David

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

                                Just to double check, try printing some text to see if anything is mirrored.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                davidewenundefined 2 Replies Last reply Reply Quote 0
                                • davidewenundefined
                                  davidewen @Phaedrux
                                  last edited by

                                  @phaedrux
                                  I'm not to the point of printing yet. I don't even know how to load a file yet.

                                  I'm still trying to figure out the rest of the config.

                                  I'm currently working on the Extruder.
                                  I installed a Bondtech extruder. So far it's working, but not loading filament all the way, so I must have some parameters incorrectly set.

                                  So far I have the X, Y & Z axis moving in the correct directions and the endstops working.

                                  The EZAble seems to be around 15mm off to the + side even though I have it set to +2mm.

                                  1 Reply Last reply Reply Quote 0
                                  • davidewenundefined
                                    davidewen @Phaedrux
                                    last edited by

                                    @phaedrux

                                    First print completed.
                                    I printed text to confirm no mirroring was happening.

                                    I had 2 problems.
                                    1: 1st layer was crushed against the build plate. I had to babystep by 2.8 mm to get filament to come out. Homing Z works everytime. I used Cura to slice.

                                    2: print was horribly slow. It took 38m 27s to print "Duet 3 mini 5+" @ 0.6mm thickness.

                                    I'm using mesh compensation, and it maps out the surface.

                                    Printer is capable of moving 200mm/s.

                                    Any suggestions for solving these 2 problems?

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

                                      @davidewen said in Need help with Ender-6 core xy motor movement:

                                      1: 1st layer was crushed against the build plate. I had to babystep by 2.8 mm to get filament to come out. Homing Z works everytime.

                                      Calibrate your probe offsets.

                                      https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe#Section_Calibrate_the_Z_probe_trigger_height

                                      @davidewen said in Need help with Ender-6 core xy motor movement:

                                      2: print was horribly slow.

                                      Check your cura start gcode section for any speed commands that may be there overriding your config.g settings. Also make sure you're set to use RepRap Gcode flavour.

                                      Post a sliced gcode file here if you're unsure.

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      davidewenundefined 1 Reply Last reply Reply Quote 0
                                      • davidewenundefined
                                        davidewen @Phaedrux
                                        last edited by

                                        @phaedrux

                                        Thanks. I'll calibrate the probe offsets.

                                        I'm not sure about the RepRap flavor.
                                        Here's the gcode that I ran.
                                        Duet 3 mini 5.gcode

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

                                          ;FLAVOR:RepRap
                                          ;TIME:388
                                          ;Filament used: 0.145903m
                                          ;Layer height: 0.2
                                          ;MINX:67.247
                                          ;MINY:108.91
                                          ;MINZ:0.2
                                          ;MAXX:182.753
                                          ;MAXY:141.085
                                          ;MAXZ:0.8
                                          ;Generated with Cura_SteamEngine 4.10.0
                                          T0
                                          M190 S50
                                          M104 S200
                                          M109 S200
                                          M82 ;absolute extrusion mode
                                          M201 X500.00 Y500.00 Z100.00 E5000.00 ;Setup machine max acceleration
                                          M203 X500.00 Y500.00 Z10.00 E50.00 ;Setup machine max feedrate
                                          M204 P500.00 R1000.00 T500.00 ;Setup Print/Retract/Travel acceleration
                                          M205 X8.00 Y8.00 Z0.40 E5.00 ;Setup Jerk
                                          M220 S100 ;Reset Feedrate
                                          M221 S100 ;Reset Flowrate
                                          

                                          You're ok for reprap flavor.

                                          And as expected, these lines are causing the speeds to be slow.

                                          M201 X500.00 Y500.00 Z100.00 E5000.00 ;Setup machine max acceleration
                                          M203 X500.00 Y500.00 Z10.00 E50.00 ;Setup machine max feedrate
                                          M204 P500.00 R1000.00 T500.00 ;Setup Print/Retract/Travel acceleration
                                          M205 X8.00 Y8.00 Z0.40 E5.00 ;Setup Jerk
                                          

                                          Delete them from your start gcode.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          davidewenundefined 1 Reply Last reply Reply Quote 0
                                          • davidewenundefined
                                            davidewen @Phaedrux
                                            last edited by

                                            @phaedrux

                                            I removed the starting gcode info and the print was much faster.
                                            Thanks for that!

                                            Regarding the probe calibration.
                                            I had run that previously.
                                            But, I ran it again anyway.
                                            Even after running it again, I had to babystep +0.6mm to get filament to flow.

                                            Is there someway to make the baby steps permanent?
                                            I have to adjust for every print.

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