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

    Banging head against a brick wall Request Help!

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    4
    13
    772
    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.
    • Oscarundefined
      Oscar
      last edited by

      Hello All,

      I'm new to the forum and Duet 3d.

      I recently purchased a duet wifi board for my Ender 5, and for the last 3 days I've been trying to get it working. It took me two days to get it to home correctly and now the current situation is that it homes, but when I start a print (using Cura 4.1) it heats up correctly it then lifts then lowers the bed slightly to purge head, it then starts to draw a line BUT it doesn't stop the X keeps going to the end of the frame and i have to hit the emergency stop!

      I have been searching but can find very little on the Ender 5 with a Duet board. I have tried changing my start code in Cura and I have used a Ender 3 profile in case it was the Creawesome Ender 5 profile causing the issue, all do the same.

      Here is my config:

      ; Configuration file for Duet WiFi (firmware version 1.21)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2 on Sat Jun 29 2019 12:25:11 GMT+0100 (British Summer Time)

      ; General preferences
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves

      ; Network
      M550 P"Ender 5" ; Set machine name
      M551 P"r35d" ; Set password
      M552 S1 ; Enable network
      M587 S"WiFi" P"Password" ; Configure access point. You can delete this line once connected
      M586 P0 S1 ; Enable HTTP
      M586 P1 S0 ; Disable FTP
      M586 P2 S0 ; Disable Telnet

      ; Drives
      M569 P0 S0 ; Physical drive 0 goes forwards
      M569 P1 S1 ; Physical drive 1 goes forwards
      M569 P2 S0 ; Physical drive 2 goes backwards
      M569 P3 S1 ; Physical drive 3 goes forwards
      M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
      M92 X160.00 Y160.00 Z400.00 E450.00 ; Set steps per mm
      M566 X600.00 Y600.00 Z60.00 E300.00 ; Set maximum instantaneous speed changes (mm/min)
      M203 X30000.00 Y30000.00 Z600.00 E600.00 ; Set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z200.00 E4000.00 ; Set accelerations (mm/s^2)
      M906 X850.00 Y800.00 Z700.00 E800.00 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 X220 Y220 Z300 S0 ; Set axis maxima

      ; Endstops
      M574 X1 Y1 Z1 S1 ; Set active high endstops

      ; Z-Probe
      M558 P0 H5 F0 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
      M557 X15:220 Y15:220 S40 ; Define mesh grid

      ; Heaters
      M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
      M143 H0 S120 ; Set temperature limit for heater 0 to 120C
      M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
      M143 H1 S280 ; Set temperature limit for heater 1 to 280C

      ; Fans
      M106 P0 S1 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
      M106 P2 S0.5 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

      ; Tools
      M563 P0 D0 H1 ; 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

      ; Automatic saving after power loss is not enabled

      ; Custom settings are not configured

      And here is my current start code:
      (Ender 3 Profile)
      G28 ;Home
      G1 Z15.0 F6000 ;Move the platform down 15mm
      ;Prime the extruder
      G92 E0
      G1 F200 E3
      G92 E0

      (Ender 5 Profile)

      G28 ; home all axes
      M117 Purge extruder
      G92 E0; reset extruder G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
      G1 X0.1 Y20 Z0.3 F5000.0 ; move to start-line position
      G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; draw 1st line
      G1 X0.4 Y200.0 Z0.3 F5000.0 ; move to side a little
      G1 X0.4 Y20 Z0.3 F1500.0 E30 ; draw 2nd line
      G92 E0 ; reset extruder
      G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
      M117 All systems go!

      Please help

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        Your X and Y steps/mm are both 160 which implies that you are using 0.9deg motors. Is that correct? Do the axes move by the correct amounts?

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • Oscarundefined
          Oscar
          last edited by

          Thanks for the reply.

          My motors are standard which I presume are 1.8. This is my first time getting in depth with G code. I should also note that the head is moving a lot slower than when it was running Marlin.

          1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti
            last edited by

            @oscar said in Banging head against a brick wall Request Help!:

            M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
            M143 H0 S120 ; Set temperature limit for heater 0 to 120C
            M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1

            these are incorrect for the ender 3 and 5.

            see the ender 3 guide. (ender 5 is basically a more stable ender 3)

            https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+2:+Configuration/38

            1 Reply Last reply Reply Quote 1
            • Oscarundefined
              Oscar
              last edited by

              Thanks, I'll take a look

              1 Reply Last reply Reply Quote 0
              • Oscarundefined
                Oscar
                last edited by

                I followed the guide, thanks. However when I tried a test print, small overhang scale, it immediately started to print in the homing corner and didn't extrude anything. Am I right in thinking that this is possibly to do with the cura settings? As the machine now homes perfectly.

                1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators
                  last edited by

                  It's up to you whether to make X0 Y0 the centre of the bed (which is what I do) or to make it one corner of the bed. See https://duet3d.dozuki.com/Wiki/Centering_the_bed_or_setting_the_bed_origin. You need to configure your slicer (Cura) accordingly. It sounds to me that you have configured X0 Y0 to be one corner of the bed but configured Cura to centre the print on X0 Y0.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

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

                    You may want to go through the rest of that configuration and commissioning guide for the Ender 3. It also includes a profile for Cura for the Ender 3 which should have everything setup correctly for orientation. I think you might also have a motor direction or homing direction flipped. The guide would help you identify it.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    Oscarundefined 1 Reply Last reply Reply Quote 0
                    • Oscarundefined
                      Oscar @Phaedrux
                      last edited by

                      @phaedrux thanks will do

                      1 Reply Last reply Reply Quote 0
                      • Oscarundefined
                        Oscar
                        last edited by Oscar

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator
                          last edited by

                          Can you post your full config?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          Oscarundefined 1 Reply Last reply Reply Quote 0
                          • Oscarundefined
                            Oscar @Phaedrux
                            last edited by

                            @phaedrux Thanks for the swift reply phaedrux. I'm glad to say that the action of copying my heater config into chat made me realise the figures were wrong, so I popped into config and changed them. It appears to be working fine now, I'm just running a M307.

                            I am grateful for the help. It's good to know that there is a place for advice, I'm currently suffering from a psychological disorder that makes it hard for me to concentrate for large periods of time and also makes it difficult to problem solve.

                            So your help is appreciated.

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

                              Glad you got it figured out. There's always great support from many people here, so come on back whenever you get stuck.

                              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