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

    Large Format Dowell to Duet conversion

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    14
    362
    34.6k
    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.
    • T3P3Tonyundefined
      T3P3Tony administrators @Charles Fraser
      last edited by

      @charles-fraser yes that looks good.

      www.duet3d.com

      Charles Fraserundefined 2 Replies Last reply Reply Quote 0
      • Charles Fraserundefined
        Charles Fraser @T3P3Tony
        last edited by

        @t3p3tony

        Okay so I wired a switch up to the Z axis that should close if the bed comes up so far it pushes against the noz and changed the firmware and wiring so hopefully that's all good:

        ; Endstops
        M574 X1 S1 P"io1.in"                                            ; configure active-high endstop for low end on X via pin io1.in
        M574 Y1 S1 P"io2.in"                                            ; configure active-high endstop for low end on Y via pin io2.in
        M574 Z1 S1 P"io0.in"                                                       ; configure Z-probe endstop for low end on Z
        

        So when I run M119:

        28/10/2021, 19:30:54	M119
        Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: at min stop
        
        

        Then I tape down the end-stops one by one and run M119 in order to make sure it's all wired up right. The x endstop (at the left, homing end of the gantry corresponding to left right movement of the gantry when viewed from in-front. Y endstop at the front end of the machine corresponding to Y home & forward and backwards. Z axis on a spring behind the extruder that is closed if the extruder is pushed up by the bed.

        28/10/2021, 19:34:30	M119
        Endstops - X: at min stop, Y: at min stop, Z: at min stop, Z probe: at min stop
        
        1 Reply Last reply Reply Quote 0
        • Charles Fraserundefined
          Charles Fraser @T3P3Tony
          last edited by

          @t3p3tony

          I guess next is motors ๐Ÿ™‚

          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @Charles Fraser
            last edited by

            @charles-fraser yes. So if you have the gantry safely in the center of its motion, then send G92 X600 Y600 this will tell the printer it's rough position. The idea is to test movement is correct before testing homing.

            The use DWC to jog the X axis +/-50 and them Y +/-50 to confirm they move in the right direction.

            www.duet3d.com

            Charles Fraserundefined 2 Replies Last reply Reply Quote 0
            • Charles Fraserundefined
              Charles Fraser @T3P3Tony
              last edited by

              @t3p3tony said in Large Format Dowell to Duet conversion:

              G92 X600 Y600

              It works :))) it's bloody moving again!! Oh caloo calay!!!

              Okay I'll measure how much it is moving each time I send it 100 x and 100 y and try and work out the steps per mm like that should I? I don't think I can count the teeth on these pulleys.

              When I try and move the z axis I get:

              29/10/2021, 10:08:32	M120 G91 G1 Z-0.05 F6000 G90 M121
              Error: G0/G1: insufficient axes homed
              29/10/2021, 10:08:29	M120 G91 G1 Z0.05 F6000 G90 M121
              Error: G0/G1: insufficient axes homed
              
              1 Reply Last reply Reply Quote 0
              • Charles Fraserundefined
                Charles Fraser @T3P3Tony
                last edited by

                @t3p3tony

                Okay so I taped my digital callipers to the slide rail and for the Y axis a +100 mm command = c. +50mm translation (give or take 0.2mm based on the fact the tape is probably giving a bit when itโ€™s pushed back:

                30CC9696-F405-49FB-AB46-F73C2FEE343B.jpeg

                Then for the X axis a +100mm command = a +100mm translation with about the same margin of error:

                0FD69D81-C9D8-4FDD-9CCF-344DCFA1DBA3.jpeg

                Any quick tips on how to change the steps per mm for the Y axis? I guess I just double them right?

                T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                • T3P3Tonyundefined
                  T3P3Tony administrators @Charles Fraser
                  last edited by

                  @charles-fraser the command M92 is what you need to change in your config.g

                  M92 X80.00 Y80.00 Z400.00 E420.00

                  change to

                  M92 X80.00 Y160.00 Z400.00 E420.00

                  Generally its best to specify the axis steps/mm as they are calculated based on the stepper microstepping setting and the belt/leadscrew gearing. If measured dimensions then end up being different there is a mechanical issue. I assume you have some different gearing or different motors on X and Y?

                  once you have confirmed the M92 change and assuming motors are going in both directions correctly then testing homing is next. Please post your homing files (homex.g, home y.g and homeall.g)

                  www.duet3d.com

                  Charles Fraserundefined 2 Replies Last reply Reply Quote 0
                  • Charles Fraserundefined
                    Charles Fraser @T3P3Tony
                    last edited by

                    @t3p3tony

                    Okay I had a play around to try and keep it as quet as possible. At 16 microsteps and 80 steps per mm it is so super quiet which is amazing as this will be operating around the house. When I change it to 160 it gets pretty noisey so I tried doubling the microsteps and steps per mm again, this made it quieter so I pushed it up to 128 microsteps and 1280 steps per mm. It's still quite a bit noisier but quieter than 16 x 160. Please advise if this is okay or what the way to get it the quietest would be?

                    M350 X16 Y128 Z16 E16  I1                                ; configure microstepping with interpolation
                    M92 X80.00 Y1280.00 Z400.00 E420.00          ; set steps per mm
                    

                    I'll post the homing files next

                    T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                    • Charles Fraserundefined
                      Charles Fraser @T3P3Tony
                      last edited by

                      @t3p3tony

                      Home x.g

                      ; homex.g
                      ; called to home the X axis
                      ;
                      ; generated by RepRapFirmware Configuration Tool v3.3.3 on Fri Oct 01 2021 16:59:55 GMT+0100 (British Summer Time)
                      G91                ; relative positioning
                      G1 H2 Z100 F6000   ; lift Z relative to current position
                      G1 H1 X-1205 F1800 ; move quickly to X axis endstop and stop there (first pass)
                      G1 H2 X5 F6000     ; go back a few mm
                      G1 H1 X-1205 F360  ; move slowly to X axis endstop once more (second pass)
                      G1 H2 Z-100 F6000  ; lower Z again
                      G90                ; absolute positioning
                      

                      Homey.g

                      ; homey.g
                      ; called to home the Y axis
                      ;
                      ; generated by RepRapFirmware Configuration Tool v3.3.3 on Fri Oct 01 2021 16:59:55 GMT+0100 (British Summer Time)
                      G91                ; relative positioning
                      G1 H2 Z100 F6000   ; lift Z relative to current position
                      G1 H1 Y-2005 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                      G1 H2 Y5 F6000     ; go back a few mm
                      G1 H1 Y-2005 F360  ; move slowly to Y axis endstop once more (second pass)
                      G1 H2 Z-100 F6000  ; lower Z again
                      G90                ; absolute positioning
                      

                      Homeall.g

                      ; homeall.g
                      ; called to home all axes
                      ;
                      ; generated by RepRapFirmware Configuration Tool v3.3.3 on Fri Oct 01 2021 16:59:55 GMT+0100 (British Summer Time)
                      G91                       ; relative positioning
                      G1 H2 Z100 F6000          ; lift Z relative to current position
                      G1 H1 X-1205 Y-2005 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
                      G1 H2 X5 Y5 F6000         ; go back a few mm
                      G1 H1 X-1205 Y-2005 F360  ; move slowly to X and Y axis endstops once more (second pass)
                      G90                       ; absolute positioning
                      G1 X15 Y15 F6000          ; 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 Z100 F100             ; lift Z relative to current position
                      ;G90                      ; absolute positioning
                      
                      1 Reply Last reply Reply Quote 0
                      • T3P3Tonyundefined
                        T3P3Tony administrators @Charles Fraser
                        last edited by

                        @charles-fraser from a noise perspective there is not lightly to be much difference over 16 steps/mm with interpolation (the I1 in the M350 command). that is because interpolation is basically the stepper driver doing 16 microsteps in between each microstep the processor sends. That said every stepper motor and motion system is a bit different so you can run it like you have it if its quieter. The only caveat is that your maximum speed may be limited by the Duets maximum step rates. You are running a 6HC (high step rates) with a heavy extruder which will need lower XY speeds so in reality you may never see any issues.

                        I see that your X and Y home files have significant Y movements in them (makes sense if you have a big pellet extruder that needs to be clear of the bed) so before you do homing if those can you do the same tests with movement on your Z axis (direction, amount) and then we can ensure the Z movement will be safe before trying X and Y homing.

                        www.duet3d.com

                        Charles Fraserundefined 3 Replies Last reply Reply Quote 0
                        • Charles Fraserundefined
                          Charles Fraser @T3P3Tony
                          last edited by

                          @t3p3tony

                          Okay the z doesnt move when I send commands

                          1 Reply Last reply Reply Quote 0
                          • Charles Fraserundefined
                            Charles Fraser @T3P3Tony
                            last edited by

                            @t3p3tony

                            It says:

                            29/10/2021, 12:04:40	M120 G91 G1 Z50 F6000 G90 M121
                            Error: G0/G1: insufficient axes homed
                            
                            1 Reply Last reply Reply Quote 0
                            • Charles Fraserundefined
                              Charles Fraser @T3P3Tony
                              last edited by

                              @t3p3tony

                              I sent it

                              G92 X600 Y600 Z200
                              

                              And when I try to move the z -100 it makes a noise like a fan is going off and motors are locking but no movement

                              T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                              • T3P3Tonyundefined
                                T3P3Tony administrators @Charles Fraser
                                last edited by

                                @charles-fraser ok try much sorter moves like 0.1 and see if that works. you can observe if the Z motors are rotating smoothly. Also is the bed trammed level so the leadscrews are not binding?

                                www.duet3d.com

                                Charles Fraserundefined 2 Replies Last reply Reply Quote 0
                                • Charles Fraserundefined
                                  Charles Fraser @T3P3Tony
                                  last edited by

                                  @t3p3tony

                                  bed is super level, no movement just noises

                                  1 Reply Last reply Reply Quote 0
                                  • Charles Fraserundefined
                                    Charles Fraser @T3P3Tony
                                    last edited by

                                    @t3p3tony

                                    Could it be I should send higher mA to the drives?

                                    ; Drives
                                    M569 P0.0 S1                                                    ; physical drive 0.0 goes forwards
                                    M569 P0.1 S1                                                    ; physical drive 0.1 goes forwards
                                    M569 P0.2 S1                                                    ; physical drive 0.2 goes forwards
                                    M569 P0.3 S1                                                    ; physical drive 0.3 goes forwards
                                    M569 P0.4 S1                                                    ; physical drive 0.4 goes forwards
                                    M569 P0.5 S1                                                    ; physical drive 0.5 goes forwards
                                    M569 P1.0 S1                                                    ; physical drive 1.0 goes forwards
                                    M584 X0.0 Y0.1 Z0.2:0.4:0.5:0.3 E1.0
                                    M350 X16 Y128 Z16 E16  I1                                ; configure microstepping with interpolation
                                    M92 X80.00 Y1280.00 Z400.00 E420.00          ; set steps per mm
                                    M566 X900.00 Y900.00 Z60.00 E120.00        ; set maximum instantaneous speed changes (mm/min)
                                    M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
                                    M201 X500.00 Y500.00 Z20.00 E250.00        ; set accelerations (mm/s^2)
                                    M906 X2800 Y2800 Z1200 E1200 I30                      ; set motor currents (mA) and motor idle factor in per cent
                                    M84 S30                                                         ; Set idle timeout
                                    
                                    T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                                    • T3P3Tonyundefined
                                      T3P3Tony administrators @Charles Fraser
                                      last edited by

                                      @charles-fraser it could be, where did those values come from originally? What Z motors do you have? also are you sure your Z steps/mm are right?

                                      www.duet3d.com

                                      Charles Fraserundefined 1 Reply Last reply Reply Quote 0
                                      • Charles Fraserundefined
                                        Charles Fraser @T3P3Tony
                                        last edited by Charles Fraser

                                        @t3p3tony

                                        I just took standard NEMA17 1.6A power rating

                                        The actual motor spec I can't find anywhere:

                                        FC0444B4-A9FA-4970-B2CB-538C5CAEB69D.jpeg

                                        24F7875F-0297-4952-9242-6714B17A94E3.jpeg

                                        It's a screw with a lead of 5mm. It's defo not moving if I put +100 or +0.1 so is it really an issue with steps per mm ?

                                        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                                        • T3P3Tonyundefined
                                          T3P3Tony administrators @Charles Fraser
                                          last edited by

                                          @charles-fraser said in Large Format Dowell to Duet conversion:

                                          is it really an issue with steps per

                                          assuming the gearing of those pulleys is 1.8:1 then 400 is correct I think. Other wise is probably not so far of that nothing moves when you only move 0.1mm in ZWithe the power turned off can you disconnect a Z motor and check the continuity of the two coils with a multi meter. Of the the 4 pins on the plug that you are plugging into the duet there should be two pairs of wires with low resistance.

                                          www.duet3d.com

                                          Charles Fraserundefined 1 Reply Last reply Reply Quote 0
                                          • Charles Fraserundefined
                                            Charles Fraser @T3P3Tony
                                            last edited by

                                            @t3p3tony

                                            Hi Tody I checked the pairs when wiring but I will double check now

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