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

    Please help I'm having trouble setting up my Duet2 3D printer.

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    16
    761
    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.
    • kotuoundefined
      kotuo
      last edited by kotuo

      Thank you. Jump with both feet.
      This is my current setup.
      In the return to origin file, are all, s,y,z all?

      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.1 on Sun Jan 17 2021 00:53:52 GMT+0900 (日本標準時)
      
      ; General preferences
      G90                                            ; send absolute coordinates...
      M83                                            ; ...but relative extruder moves
      M550 P"homePrinter"                            ; set printer name
      
      ; Network
      M552 P0.0.0.0 S1                               ; enable network and acquire dynamic address via DHCP
      M586 P0 S1                                     ; enable HTTP
      M586 P1 S0                                     ; disable FTP
      M586 P2 S0                                     ; disable Telnet
      
      ; Drives
      M569 P0 S1                                     ; physical drive 0 goes forwards
      M569 P1 S1                                     ; physical drive 1 goes forwards
      M569 P2 S1                                     ; physical drive 2 goes forwards
      M569 P3 S1                                     ; physical drive 3 goes forwards
      M584 X0 Y1 Z2 E3                               ; set drive mapping
      M350 X256 Y256 Z256 E256 I0                    ; configure microstepping without interpolation
      M92 X80.00 Y80.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 X2400.00 Y2400.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 X800 Y800 Z800 E800 I30                   ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                        ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z0 S1                               ; set axis minima
      M208 X300 Y300 Z300 S0                         ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"xstop"                            ; configure active-high endstop for low end on X via pin xstop
      M574 Y1 S1 P"ystop"                            ; configure active-high endstop for low end on Y via pin ystop
      M574 Z1 S1 P"zstop"                            ; configure active-high endstop for low end on Z via pin zstop
      
      ; Z-Probe
      M558 P0 H5 F120 T2400                          ; disable Z probe but set dive height, probe speed and travel speed
      M557 X15:215 Y15:195 S20                       ; define mesh grid
      
      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bedheat" T0                          ; create bed heater output on bedheat and map it to sensor 0
      M307 H0 B1 S1.00                               ; enable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                        ; map heated bed to heater 0
      M143 H0 S120                                   ; set temperature limit for heater 0 to 120C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4138  ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1                           ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H1 B0 S1.00                               ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S280                                   ; set temperature limit for heater 1 to 280C
      
      ; Fans
      M950 F0 C"fan0" Q500                           ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H-1                                 ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"fan1" Q500                           ; create fan 1 on pin fan1 and set its frequency
      M106 P1 S1 H1 T45                              ; set fan 1 value. Thermostatic control is turned on
      
      ; Tools
      M563 P0 D0 H1 F0                               ; define tool 0
      G10 P0 X0 Y0 Z0                                ; set tool 0 axis offsets
      G10 P0 R0 S0                                   ; set initial tool 0 active and standby temperatures to 0C
      
      ; Custom settings are not defined
      
      ; Miscellaneous
      M501         
      
      1 Reply Last reply Reply Quote 0
      • DIY-O-Sphereundefined
        DIY-O-Sphere
        last edited by DIY-O-Sphere

        @kotuo said in Please help I'm having trouble setting up my Duet2 3D printer.:

        M350 X256 Y256 Z256 E256 I0

        Reduce the microstepping to 16 with Interpolation
        M350 X16 Y16 Z16 E16 I1

        Edit:
        By reducing the microstepping normaly you have to increase the steppings in M92. Related to the mechanical components.
        You can calculate them in the config tool on the "Motor" tab.
        Click into the "Steps per mm" field. Enter all required data.
        For the X and Y they seam to be right.

        Also all speed settings for the extruder are low

        (UTC+1)

        kotuoundefined 1 Reply Last reply Reply Quote 0
        • kotuoundefined
          kotuo @DIY-O-Sphere
          last edited by

          @DIY-O-Sphere
          Thank you very much.
          I ran M350X16 Y16 Z16 E16 I1 on my DWC console.

          1 Reply Last reply Reply Quote 0
          • kotuoundefined
            kotuo
            last edited by

            @kotuo said in Please help I'm having trouble setting up my Duet2 3D printer.:

            These are my current homing files.
            Homeall.g

            ; homeall.g
            ; called to home all axes
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.1 on Sun Jan 17 2021 00:53:52 GMT+0900 (日本標準時)
            G91                     ; relative positioning
            G1 H2 Z5 F2400          ; lift Z relative to current position
            G1 H1 X-305 Y-305 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
            G1 H2 X5 Y5 F2400       ; go back a few mm
            G1 H1 X-305 Y-305 F360  ; move slowly to X and Y axis endstops once more (second pass)
            G1 H1 Z-305 F360        ; move Z down stopping at the endstop
            G90                     ; absolute positioning
            G92 Z0                  ; set Z position to axis minimum (you may want to adjust this)
            
            ; Uncomment the following lines to lift Z after probing
            ;G91                    ; relative positioning
            ;G1 Z5 F40              ; lift Z relative to current position
            ;G90                    ; absolute positioning
            

            homex.g

            ; homex.g
            ; called to home the X axis
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.1 on Sun Jan 17 2021 00:53:52 GMT+0900 (日本標準時)
            G91               ; relative positioning
            G1 H2 Z5 F2400    ; lift Z relative to current position
            G1 H1 X-305 F1800 ; move quickly to X axis endstop and stop there (first pass)
            G1 H2 X5 F2400    ; go back a few mm
            G1 H1 X-305 F360  ; move slowly to X axis endstop once more (second pass)
            G1 H2 Z-5 F2400   ; lower Z again
            G90               ; absolute positioning
            

            homey.g

            ; homey.g
            ; called to home the Y axis
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.1 on Sun Jan 17 2021 00:53:52 GMT+0900 (日本標準時)
            G91               ; relative positioning
            G1 H2 Z5 F2400    ; lift Z relative to current position
            G1 H1 Y-305 F1800 ; move quickly to Y axis endstop and stop there (first pass)
            G1 H2 Y5 F2400    ; go back a few mm
            G1 H1 Y-305 F360  ; move slowly to Y axis endstop once more (second pass)
            G1 H2 Z-5 F2400   ; lower Z again
            G90               ; absolute positioning
            
            

            homez.g

            ; homez.g
            ; called to home the Z axis
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.1 on Sun Jan 17 2021 00:53:52 GMT+0900 (日本標準時)
            G91               ; relative positioning
            G1 H2 Z5 F2400    ; lift Z relative to current position
            G1 H1 Z-305 F1800 ; move Z down until the endstop is triggered
            G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
            
            ; Uncomment the following lines to lift Z after probing
            ;G91              ; relative positioning
            ;G1 Z5 F40        ; lift Z relative to current position
            ;G90              ; absolute positioning```
            1 Reply Last reply Reply Quote 0
            • kotuoundefined
              kotuo
              last edited by

              Thank you for waiting.
              I have now configured the motor using RRF.
              Here is the Config.g now.

               Configuration file for Duet WiFi (firmware version 3)
              ; executed by the firmware on start-up
              ;
              ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 02:47:06 GMT+0900 (日本標準時)
              
              ; General preferences
              G90                                            ; send absolute coordinates...
              M83                                            ; ...but relative extruder moves
              M550 P"My Printer"                             ; set printer name
              
              ; Network
              M552 S1                                        ; enable network
              M586 P0 S1                                     ; enable HTTP
              M586 P1 S0                                     ; disable FTP
              M586 P2 S0                                     ; disable Telnet
              
              ; Drives
              M569 P0 S1                                     ; physical drive 0 goes forwards
              M569 P1 S1                                     ; physical drive 1 goes forwards
              M569 P2 S1                                     ; physical drive 2 goes forwards
              M569 P3 S1                                     ; physical drive 3 goes forwards
              M584 X0 Y1 Z2 E3                               ; set drive mapping
              M350 X16 Y16 Z16 E16 I1                        ; configure microstepping with interpolation
              M92 X80.00 Y4000.00 Z80.00 E436.54             ; set steps per mm
              M566 X900.00 Y900.00 Z60.00 E120.00            ; set maximum instantaneous speed changes (mm/min)
              M203 X2400.00 Y2400.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 X800 Y800 Z800 E800 I30                   ; set motor currents (mA) and motor idle factor in per cent
              M84 S30                                        ; Set idle timeout
              
              ; Axis Limits
              M208 X0 Y0 Z0 S1                               ; set axis minima
              M208 X300 Y300 Z300 S0                         ; set axis maxima
              
              ; Endstops
              M574 X1 S1 P"xstop"                            ; configure active-high endstop for low end on X via pin xstop
              M574 Y1 S1 P"ystop"                            ; configure active-high endstop for low end on Y via pin ystop
              M574 Z1 S1 P"zstop"                            ; configure active-high endstop for low end on Z via pin zstop
              
              ; Z-Probe
              M558 P0 H5 F120 T6000                          ; disable Z probe but set dive height, probe speed and travel speed
              M557 X15:215 Y15:195 S20                       ; define mesh grid
              
              ; Heaters
              M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
              M950 H0 C"bedheat" T0                          ; create bed heater output on bedheat and map it to sensor 0
              M307 H0 B1 S1.00                               ; enable bang-bang mode for the bed heater and set PWM limit
              M140 H0                                        ; map heated bed to heater 0
              M143 H0 S120                                   ; set temperature limit for heater 0 to 120C
              M308 S1 P"e0temp" Y"thermistor" T100000 B4138  ; configure sensor 1 as thermistor on pin e0temp
              M950 H1 C"e0heat" T1                           ; create nozzle heater output on e0heat and map it to sensor 1
              M307 H1 B0 S1.00                               ; disable bang-bang mode for heater  and set PWM limit
              M143 H1 S280                                   ; set temperature limit for heater 1 to 280C
              
              ; Fans
              M950 F0 C"fan0" Q500                           ; create fan 0 on pin fan0 and set its frequency
              M106 P0 S0 H-1                                 ; set fan 0 value. Thermostatic control is turned off
              M950 F1 C"fan1" Q500                           ; create fan 1 on pin fan1 and set its frequency
              M106 P1 S1 H1 T45                              ; set fan 1 value. Thermostatic control is turned on
              
              ; Tools
              M563 P0 D0 H1 F0                               ; define tool 0
              G10 P0 X0 Y0 Z0                                ; set tool 0 axis offsets
              G10 P0 R0 S0                                   ; set initial tool 0 active and standby temperatures to 0C
              
              ; Custom settings are not defined
              
              1 Reply Last reply Reply Quote 0
              • Vetiundefined
                Veti
                last edited by

                @kotuo said in Please help I'm having trouble setting up my Duet2 3D printer.:

                M92 X80.00 Y4000.00 Z80.00 E436.54 ; set steps per mm

                this seems wrong. why is y 4000? and z 80?

                M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent

                those should be 75% of the rated current.

                M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
                M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp

                B4138 is the default and incorrect for your thermistor. find the correct value in your thermistor documentation.

                also you might want to add a T0 at the end of your config.

                kotuoundefined 1 Reply Last reply Reply Quote 0
                • kotuoundefined
                  kotuo @Veti
                  last edited by

                  @Veti Thank you very much.
                  I'll go check again.

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

                    @kotuo said in Please help I'm having trouble setting up my Duet2 3D printer.:

                    However, when I run Home X Y Z in Duet Web Control, the motor moves left and right in small increments, makes strange noises, and stops working.

                    Can you be more specific about what exactly it does? Video? It could be mechanical. What stops working?

                    In your homing files remove all of the H2 on the G1 XY moves. Except for the ones on the Z moves. Those are ok. then try homing again.

                    If you move print head and bed to the center of the X Y by hand with the printer off and then power on and send G92 X100 Y100 to force them into a homed state. Now use the jog buttons to verify that -x moves left, +x moves right, -y moves the bed back, +y moves the bed forwards.

                    ; Endstops
                    M574 X1 S1 P"xstop"                            ; configure active-high endstop for low end on X via pin xstop
                    M574 Y1 S1 P"ystop"                            ; configure active-high endstop for low end on Y via pin ystop
                    M574 Z1 S1 P"zstop"                            ; configure active-high endstop for low end on Z via pin zstop
                    

                    This says your endstops are all at the low end of travel. Is that correct?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    kotuoundefined 1 Reply Last reply Reply Quote 0
                    • kotuoundefined
                      kotuo @Phaedrux
                      last edited by kotuo

                      @Phaedrux Thank you for your reply.
                      I removed the motor and the end-stop switch beforehand because of the possibility of damaging the parts before production.
                      Should I install them in the printer once?
                      I just ran the motor to get a video of the current situation and the error message came up for the first time.
                      G32
                      Warning: motor phase B may be disconnected reported by driver(s) 1
                      Warning: motor phase A may be disconnected reported by driver(s) 1

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

                        Well if you disconnected the motor and tried to move it that error message makes a lot of sense. It's saying the motor is disconnected.

                        And a video of a disconnected motor won't show any of the motion we wish to see.

                        How about the rest of my questions from my previous post?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • kotuoundefined
                          kotuo
                          last edited by

                          I'm sorry for the delay in replying.
                          I've been busy and had to stop working on the printer.
                          I installed all the parts in the printer and used Home X, Y and Z once.
                          But there is no change in the situation.
                          2021/1/21 23:41:23
                          G28 X
                          Warning: motor phase A may be disconnected reported by driver(s) 0
                          Warning: motor phase B may be disconnected reported by driver(s) 0
                          (Same as Y and Z)
                          The photo shows the Duet2 Ethernet wiring.

                          20210121_235414-min.jpg
                          How can I upload my video?
                          Do I upload to YouTube?

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

                            Can you verify your motor wiring phases are connected correctly?

                            https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Identifying_the_stepper_motor_phases

                            What are the specs on the connected motors?

                            It's a little concerning that the motors went from small noisy movements to reporting disconnected.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            kotuoundefined 1 Reply Last reply Reply Quote 0
                            • kotuoundefined
                              kotuo @Phaedrux
                              last edited by

                              @Phaedrux  Thank you very much.
                              I had misunderstood the phase wiring.
                              I connected it correctly again using a multimeter and jumper wires and was able to get all the motors running.
                              It looks like there is probably no damage to the motor drivers.

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

                                That's great to hear.

                                Z-Bot CoreXY Build | Thingiverse Profile

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