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

    CR10 S5 upgrade to Duet 2 Wifi

    Scheduled Pinned Locked Moved
    General Discussion
    4
    52
    2.5k
    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.
    • GT1Zaundefined
      GT1Za
      last edited by

      in the config.g:
      082d864b-4588-4b03-9c78-743d490f7f9d-image.png

      ; homeall.g
      ; called to home all axes
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Mar 20 2020 11:57:17 GMT+0200 (South Africa Standard Time)
      G91 ; relative positioning
      G1 H2 Z5 F6000 ; lift Z relative to current position
      G1 H1 X-515 Y-515 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-515 Y-515 F240 ; move slowly to X and Y axis endstops once more (second pass)
      G1 H1 Z-505 F240 ; 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 F100 ; lift Z relative to current position
      ;G90 ; absolute positioning

      ; homez.g
      ; called to home the Z axis
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Mar 20 2020 11:57:18 GMT+0200 (South Africa Standard Time)
      G91 ; relative positioning
      G1 H2 Z5 F6000 ; lift Z relative to current position
      G1 H1 Z-505 F3000 ; 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 F100 ; lift Z relative to current position
      ;G90 ; absolute positioning

      NexxCatundefined 1 Reply Last reply Reply Quote 0
      • NexxCatundefined
        NexxCat @GT1Za
        last edited by NexxCat

        @GT1Za
        Ok, the home macros aren't configured for a z-probe. Here are mine:

        ; homez.g
        ; called to home the Z axis
        ;
        M290 R0 S0	; Reset babystepping
        G91             ; relative positioning
        G1 Z5 F6000 S2  ; lift Z relative to current position
        G90             ; absolute positioning
        G1 X118 Y148 F6000      ; go to the bed centre and home Z
        G30             ; home Z by probing the bed
        
        ; homeall.g
        ; called to home all axes
        ;
        M290 R0 S0		; Reset babystepping
        G91                     ; relative positioning
        G1 Z5 F6000 S2          ; lift Z relative to current position
        G1 S1 X-305 Y-305 F3600 ; move quickly to X and Y axis endstops and stop there (first pass)
        G1 X5 Y5 F6000          ; go back a few mm
        G1 S1 X-305 Y-305 F360  ; move slowly to X and Y axis endstops once more (second pass)
        G90                     ; absolute positioning
        M98 Pdeployprobe.g      ; deploy mechanical Z probe
        G1 X118 Y148 F6000      ; go to the bed centre and home Z
        G30                     ; home Z by probing the bed
        M98 Pretractprobe.g     ; retract mechanical Z probe
        

        You'll need to adjust X and Y in both for your printer because you are 500x500.

        1 Reply Last reply Reply Quote 0
        • GT1Zaundefined
          GT1Za
          last edited by GT1Za

          wow ok a whole new issue

          in homez.g
          G1 X118 Y148 F6000 ; go to the bed centre and home Z

          I changed to:
          G1 X250 Y250 F6000 ; go to the bed centre and home Z

          this should be the center of the bed. but it tried to send it way off and I had to hit stop.

          The Y steps dont seem to be right as 150 is taking me just short of center. 250 basically made it travel off and I had to hit stop.
          The good news is the probe worked!

          NexxCatundefined 1 Reply Last reply Reply Quote 0
          • NexxCatundefined
            NexxCat @GT1Za
            last edited by

            @GT1Za
            Did you also adjust:

            G1 S1 X-305 Y-305 F3600
            

            to

            G1 S1 X-515 Y-515 F3600
            

            and

            G1 S1 X-305 Y-305 F360
            

            to

            G1 S1 X-515 Y-515 F360
            
            1 Reply Last reply Reply Quote 0
            • GT1Zaundefined
              GT1Za
              last edited by

              Yes I did.
              The Y is just going too far. Everything else is as its meant to be

              NexxCatundefined 1 Reply Last reply Reply Quote 0
              • NexxCatundefined
                NexxCat @GT1Za
                last edited by

                @GT1Za
                What happens if you manually home X and Y in the web UI, then use the jog controls to move them. Do they move the expected distance?

                1 Reply Last reply Reply Quote 0
                • GT1Zaundefined
                  GT1Za
                  last edited by

                  No, Y is only moving to roughly 220 before it maxes

                  NexxCatundefined 1 Reply Last reply Reply Quote 0
                  • NexxCatundefined
                    NexxCat @GT1Za
                    last edited by

                    @GT1Za
                    When it hits the maximum distance, what does the web UI say for the Y co-ordinate? You've got 80 steps/mm in the config, so that would be right for a 1.8 degree stepper with a 20 tooth GT2 pulley.

                    1 Reply Last reply Reply Quote 0
                    • GT1Zaundefined
                      GT1Za
                      last edited by GT1Za

                      @NexxCat
                      2961531c-b1f6-490c-9c23-5be8886c3aa1-image.png

                      coords show the Y at 220, and you could here it slipping for like a second.

                      NexxCatundefined 1 Reply Last reply Reply Quote 0
                      • NexxCatundefined
                        NexxCat @GT1Za
                        last edited by

                        @GT1Za
                        I'm assuming when you home Y, it does home correctly and the Y co-ordinate is reported as 0?

                        1 Reply Last reply Reply Quote 0
                        • GT1Zaundefined
                          GT1Za
                          last edited by

                          @NexxCat yes the homing works fine and reports 0

                          NexxCatundefined 1 Reply Last reply Reply Quote 0
                          • NexxCatundefined
                            NexxCat @GT1Za
                            last edited by

                            @GT1Za
                            and just so I've got this right in my head. Starting from Y home, you move the bed using the jog controls and when Y is reported at 220, the bed is actually at the end of it's travel (IE, at 510)?

                            1 Reply Last reply Reply Quote 0
                            • GT1Zaundefined
                              GT1Za
                              last edited by GT1Za

                              @NexxCat
                              thats correct
                              abeb81eb-3f03-497a-84de-e5783bc4b16b-image.png

                              I havent homed the other axis so they are reporting 0 here.

                              NexxCatundefined 1 Reply Last reply Reply Quote 0
                              • NexxCatundefined
                                NexxCat @GT1Za
                                last edited by

                                @GT1Za
                                The only explanation I have for that is that the Y axis steps/mm aren't correct. Can you take a photo of the Y axis motor and pulley? I'll see if I can tell whether it's a 20T or not.

                                GT1Zaundefined 1 Reply Last reply Reply Quote 0
                                • GT1Zaundefined
                                  GT1Za @NexxCat
                                  last edited by GT1Za

                                  @NexxCat
                                  Y stepper.jpg

                                  not sure if that helps. Pretty tough getting to the back of this printer.

                                  The motor is about double the height of the normal ones, but its the standard S5 motor.
                                  https://3dprinting.stackexchange.com/questions/7692/stepper-motor-for-cr10-s5-y-axis

                                  NexxCatundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                                  • NexxCatundefined
                                    NexxCat @GT1Za
                                    last edited by

                                    @GT1Za
                                    I'm afraid I'm stumped on this one. That looks like a normal 20 tooth pulley and I've checked the Marlin source for the CR10 S5. It definitely uses 80 steps/mm.

                                    If the bed was moving an insufficient distance, I'd say maybe the stepper was skipping, or the belt was loose, but it's moving too much which doesn't make sense.

                                    Probably a stupid question, but have you tried powering the Duet off and on again, letting it re-load config.g?

                                    GT1Zaundefined 1 Reply Last reply Reply Quote 0
                                    • GT1Zaundefined
                                      GT1Za @NexxCat
                                      last edited by

                                      @NexxCat Ill give it a shot now

                                      1 Reply Last reply Reply Quote 0
                                      • GT1Zaundefined
                                        GT1Za
                                        last edited by

                                        @NexxCat Restart made no difference.

                                        NexxCatundefined 1 Reply Last reply Reply Quote 0
                                        • NexxCatundefined
                                          NexxCat @GT1Za
                                          last edited by

                                          @GT1Za
                                          Was it doing this prior to us changing stuff to get the BLTouch working? or hadn't it been tested?

                                          GT1Zaundefined 1 Reply Last reply Reply Quote 0
                                          • GT1Zaundefined
                                            GT1Za @NexxCat
                                            last edited by

                                            @NexxCat never tested it, I had just checked that there was movement.

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