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

    HELP! Duet 2 WiFi Configuration and DWC Upload???

    Scheduled Pinned Locked Moved
    Duet Web Control
    5
    203
    12.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.
    • PCNoobNeedsMajorHelpundefined
      PCNoobNeedsMajorHelp @Phaedrux
      last edited by

      @phaedrux

      Ignore that last reply. I guess the bed heats up first

      1 Reply Last reply Reply Quote 0
      • PCNoobNeedsMajorHelpundefined
        PCNoobNeedsMajorHelp @Phaedrux
        last edited by

        @phaedrux

        Just finished the first print. At the end of the print it went to the wrong corner (opposite of home positions) and then X and Y crashed violently.

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

          I don't see anything in your slicer end gcode that would move it like that at the end of the print. Can you share the gcode file itself?

          @pcnoobneedsmajorhelp said in HELP! Duet 2 WiFi Configuration and DWC Upload???:

          Is that just how it is now or can we change that.
          -So its starting the print from the front left instead of the back right (where in want it to start from)

          We set it up as a left hand coordinate system to match what the slicer uses. I'm not sure why Creality chose a mirrored X and Y for the Ender5. It makes no sense.

          If you really wanted to, it can be switched back, but requires changing the M574 endstop location and the homing directions.

          Z-Bot CoreXY Build | Thingiverse Profile

          PCNoobNeedsMajorHelpundefined 2 Replies Last reply Reply Quote 0
          • PCNoobNeedsMajorHelpundefined
            PCNoobNeedsMajorHelp @Phaedrux
            last edited by

            @phaedrux

            Before I switched to the Duet the X and Y wasn't mirrored.

            MirroredConfig Prob1.png
            MirroredConfig Prob2.png

            Phaedruxundefined 1 Reply Last reply Reply Quote 0
            • PCNoobNeedsMajorHelpundefined
              PCNoobNeedsMajorHelp @Phaedrux
              last edited by

              @phaedrux

              As long as it homes to the back right and starts prints from the back right, I'll change whatever needs to be changed

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

                @pcnoobneedsmajorhelp said in HELP! Duet 2 WiFi Configuration and DWC Upload???:

                Before I switched to the Duet the X and Y wasn't mirrored.

                They were, actually. Both of them. Which results in a 180 degree rotation, so that when looking at the front of the printer 0,0 is the back right, -X is to the right, +x is to the left, -Y is to the back, +y is to the front.

                What exactly is the problem right now that you want to change it?

                Z-Bot CoreXY Build | Thingiverse Profile

                PCNoobNeedsMajorHelpundefined 3 Replies Last reply Reply Quote 0
                • PCNoobNeedsMajorHelpundefined
                  PCNoobNeedsMajorHelp @Phaedrux
                  last edited by

                  @phaedrux

                  Well if it was mirrored before then that's the way I'd prefer it if possible but yes 0,0 in back/right (I think that's why I was so confused with the values being plugged in when we were originally homing everything)

                  The reason being 1: After its done with a print it crashes into the front/left (that's the biggest reason), 2: My home endstops are right there in the back/right corner, and 3: Although its only mere seconds my prints will take longer, if, before each print, X and Y have to home to the back/right from the front/left where the last print ended, and then go back to the front/left to start the new print. It's just a lot of wasted time and makes more sense to have it start the print at the corner that it's home at.

                  Phaedruxundefined 1 Reply Last reply Reply Quote 0
                  • PCNoobNeedsMajorHelpundefined
                    PCNoobNeedsMajorHelp @Phaedrux
                    last edited by

                    @phaedrux

                    Do I just change my M574 X2 Y2 to -X2 -Y2? or would that not work at all?

                    Or I can just start the whole setting up endstop process over again from scratch

                    1 Reply Last reply Reply Quote 0
                    • PCNoobNeedsMajorHelpundefined
                      PCNoobNeedsMajorHelp @Phaedrux
                      last edited by

                      @phaedrux

                      Or is it my drivers that I need to swap

                      or is it this.png

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

                        @pcnoobneedsmajorhelp said in HELP! Duet 2 WiFi Configuration and DWC Upload???:

                        1: After its done with a print it crashes into the front/left (that's the biggest reason)

                        Well the behaviour after the print is over should be controlled by the slicer end gcode. Please post a sliced gcode file so we can see what it's actually being commanded to do.

                        Have you updated the cura with the bed size we measured before and put in M208?

                        @pcnoobneedsmajorhelp said in HELP! Duet 2 WiFi Configuration and DWC Upload???:

                        My home endstops are right there in the back/right corner

                        Endstop location can be at the high end or the low end. It doesn't really matter.

                        @pcnoobneedsmajorhelp said in HELP! Duet 2 WiFi Configuration and DWC Upload???:

                        It's just a lot of wasted time and makes more sense to have it start the print at the corner that it's home at.

                        Prints are typically placed in the center, so the distance from one corner or the other should be the same. Do you mean it has to do a prime line first that's positioned at the opposite side? We can change the location of the prime line in the slicer start gcode.

                        But if you're really desperate to change it.

                        M574 X1 Y1 Z1 S1 ; change endstop from high end to low end

                        Change the homing move directions

                        ; homeall.g
                        ; called to home all axes
                        ;
                        ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat May 01 2021 17:31:12 GMT-0700 (Pacific Daylight Time)
                        G91                     ; relative positioning
                        G1 H2 Z5 F6000          ; lift Z relative to current position
                        G1 H1 X-240 Y-240 F3000 ; 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-240 Y-240 F240  ; move slowly to X and Y axis endstops once more (second pass)
                        G1 H1 Z-315 F240        ; move Z down stopping at the endstop
                        G90                     ; absolute positioning
                        
                        ; homex.g
                        ; called to home the X axis
                        ;
                        ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat May 01 2021 17:31:12 GMT-0700 (Pacific Daylight Time)
                        G91               ; relative positioning
                        G1 H2 Z5 F6000    ; lift Z relative to current position
                        G1 H1 X-240 F3000 ; move quickly to X axis endstop and stop there (first pass)
                        G1 H2 X5 F6000    ; go back a few mm
                        G1 H1 X-240 F240  ; move slowly to X axis endstop once more (second pass)
                        G1 H2 Z-5 F6000   ; lower Z again
                        G90               ; absolute positioning
                        
                        ; homey.g
                        ; called to home the Y axis
                        ;
                        ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat May 01 2021 17:31:12 GMT-0700 (Pacific Daylight Time)
                        G91               ; relative positioning
                        G1 H2 Z5 F6000    ; lift Z relative to current position
                        G1 H1 Y-240 F3000 ; move quickly to Y axis endstop and stop there (first pass)
                        G1 H2 Y5 F6000    ; go back a few mm
                        G1 H1 Y-240 F240  ; move slowly to Y axis endstop once more (second pass)
                        G1 H2 Z-5 F6000   ; lower Z again
                        G90  
                        

                        If you notice that after changing the directions that the axis is moving AWAY from the endstop instead of towards it, then change the rotation direction for the motor.

                        M569 P0 S1
                        M569 P1 S1

                        Z-Bot CoreXY Build | Thingiverse Profile

                        PCNoobNeedsMajorHelpundefined 1 Reply Last reply Reply Quote 0
                        • PCNoobNeedsMajorHelpundefined
                          PCNoobNeedsMajorHelp @Phaedrux
                          last edited by

                          @phaedrux

                          Ok. So.

                          -Yes, the axis limits are set up in Cura (Ok, cool, we'll change the end gcode)
                          -Prints are typically placed in the center, so the distance from one corner or the other should be the same. Do you mean it has to do a prime line first that's positioned at the opposite side? We can change the location of the prime line in the slicer start gcode.

                          1. Yes it's starting the prime line at the opposite side and then at the end, homes to the opposite side
                          2. So if that's the problem then yeah, I guess it would be in Cura. What lines would I have to change?
                          3. I think it homes fine but if the Cura changes don't fix it, I'll change those homing move directions and endstops in the firmware.

                          Slicer Gcode from print start and end.png

                          Thanks,

                          -Carson

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

                            For the prime line, where do you want it to start and end? Physically jog the nozzle to where you want it to start and end, and make note to the XY coordinates, then we can place those in the prime line.

                            For the end gcode, I don't see anything that would be moving it a large amount at the end of the print. It looks like it should be doing a retraction and then a small 5mm diagonal move to wipe the nozzle and then raise it. Can you maybe make a video showing what it's doing at the end of the print?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            PCNoobNeedsMajorHelpundefined 2 Replies Last reply Reply Quote 0
                            • PCNoobNeedsMajorHelpundefined
                              PCNoobNeedsMajorHelp @Phaedrux
                              last edited by

                              @phaedrux
                              Videos for start and end of prints as they are currently
                              https://www.dropbox.com/sh/urqhwgr6phs2uty/AAC8QKXjih9UCh5PN5P1vy8ia?dl=0
                              Picture of new coordinates for the start of the prime line
                              Prime line location to be set.jpg
                              Picture of printer head position for new coordinates to be entered^
                              Pic. of new prime line location.jpg

                              1 Reply Last reply Reply Quote 0
                              • PCNoobNeedsMajorHelpundefined
                                PCNoobNeedsMajorHelp @Phaedrux
                                last edited by

                                @phaedrux

                                Here's what I plugged in (what I think it might be).

                                -I won't run anything until I get the okay from you. Just wanted to try and be proactive.
                                New Start G-code
                                NEWSTARTGCODE.png
                                New End G-code 1 of 2
                                NEWENDGCODE1.png
                                New End G-code 2 of 2
                                NEWENDGCODE2.png

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

                                  The prime line location looks good.

                                  The end gcode has a problem though. You've changed the small wipe move of 5mm to a massive 230mm move. That's not what you want to happen.

                                  The "present print" bit could be removed entirely. Is that below the first part? I hadn't see that before. That might have been what was causing the crashing. That move would make more sense for a cartesian i3 style printer with a bed that moves back and forth. The idea being that it will slide the bed forwards for you to get at the print. In this case you really just want the print head to move out of the way. The safest way to do that would be to replace G1 230 Y230 ; present print with G28 X Y which will just home the X and Y axis to get the print head out of the way.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  PCNoobNeedsMajorHelpundefined 1 Reply Last reply Reply Quote 0
                                  • PCNoobNeedsMajorHelpundefined
                                    PCNoobNeedsMajorHelp @Phaedrux
                                    last edited by

                                    @phaedrux

                                    Yes, the second End G-code picture is below it when you scroll down

                                    Ok. I've fixed a few things. Let's see how this is.

                                    Start and End (Top Half)
                                    StartandEndGcode1 of 2.png

                                    Start and End (Bottom Half)
                                    StartandEndGcode 2 of 2.png

                                    If all this looks good, I'll run another test print

                                    Thanks,

                                    -Carson

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

                                      Yes that looks better.

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      PCNoobNeedsMajorHelpundefined 2 Replies Last reply Reply Quote 0
                                      • PCNoobNeedsMajorHelpundefined
                                        PCNoobNeedsMajorHelp @Phaedrux
                                        last edited by

                                        @phaedrux

                                        Everything looks good. After I get home from work tomorrow, I'll do a few different tests, other than the cube and just check everything out to be sure.

                                        Thanks again for all your help! I couldn't have done it without you!

                                        -A very Grateful Printer, Carson

                                        1 Reply Last reply Reply Quote 1
                                        • PCNoobNeedsMajorHelpundefined
                                          PCNoobNeedsMajorHelp
                                          last edited by

                                          @phaedrux

                                          So I'm back.

                                          3 questions.

                                          1. I swapped my extruder stepper motor with a .9° pancake. What settings do I need to change in my config file?
                                          2. When I pause a print it crashes into the front left corner. What do I need to change? the G90 command?
                                          3. I am ready to set up the BL Touch. How do I set it up in the config file? It's physically installed on the fan shroud, but I don't know what or if I need to set the offset. I also don't know where to plug it in on the duet. I have the Black and White wired to the Z Endstop. Where do I plug the yellow red and blue connector into?

                                          ERROR
                                          Something went wrong while parsing server response

                                          ^ I keep getting this when I try and upload screenshots of my files. Until I get it fixed let me know what you need and I can relay the info.

                                          Thanks,

                                          -Carson

                                          1 Reply Last reply Reply Quote 0
                                          • PCNoobNeedsMajorHelpundefined
                                            PCNoobNeedsMajorHelp @Phaedrux
                                            last edited by

                                            @phaedrux
                                            Fixed it. Here are screenshots of my files as they are currently set
                                            Config File for stepper.png
                                            Pause Crashing.png
                                            Config File for BLTouch.png

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