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

I could use some help

Scheduled Pinned Locked Moved
Duet Hardware and wiring
11
682
63.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.
  • undefined
    fcwilt @A Former User
    last edited by 27 Jun 2022, 18:01

    @mac said in I could use some help:

    @fcwilt got it, ship me the X and Y code please. I'll test Z right now to confirm that the changes accomplished what I may have to use to correct X and Y if they aren't up to snuff.

    OK

    Homing X should look something like this:

    G91
    G1 H1 X-230 F3600
    G1 X15
    G1 H1 X-10 F360
    G90
    G1 X110 F3600 ; this just moves X to the centerline of the bed - doesn't matter where - it can be any place at all that suits you.

    Homing Y should look something like this:

    G91
    G1 H1 Y-230 F3600
    G1 Y15
    G1 H1 Y-10 F360
    G90
    G1 Y110 F3600 ; this just moves Y to the centerline of the bed - doesn't matter where - it can be any place at all that suits you.

    Now I would do homeall.g like this:

    M98 P"homeZ.g"
    M98 P"homeX.g"
    M98 P"homeY.g"

    It is not as efficient as it can be but it does re-use the code you already have in the other axis homing files.

    Now I have no idea what kinds of speeds your printer is capable off. I just used F3600 and F360 since they should be workable and safe. Feel free to pick other speeds as suits you.

    Frederick

    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

    ? 2 Replies Last reply 27 Jun 2022, 18:02 Reply Quote 0
    • ?
      A Former User @fcwilt
      last edited by 27 Jun 2022, 18:02

      @fcwilt thanks very much. hopefully, I'll be printing the next time we speak.

      undefined 1 Reply Last reply 27 Jun 2022, 18:07 Reply Quote 0
      • undefined
        fcwilt @A Former User
        last edited by 27 Jun 2022, 18:07

        @mac said in I could use some help:

        @fcwilt thanks very much. hopefully, I'll be printing the next time we speak.

        Did you get Z homing to work?

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        ? 1 Reply Last reply 27 Jun 2022, 18:10 Reply Quote 0
        • ?
          A Former User @fcwilt
          last edited by A Former User 27 Jun 2022, 18:10

          @fcwilt Let's talk later. If I make a video of it, I'll send you a link.

          ? 1 Reply Last reply 27 Jun 2022, 18:30 Reply Quote 0
          • ?
            A Former User @fcwilt
            last edited by A Former User 27 Jun 2022, 18:28

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @A Former User
              last edited by 27 Jun 2022, 18:30

              @fcwilt

              G91 ; relative positioning
              G1 H2 Z5 F3600 ; lift Z relative to current position
              G1 H1 X225 Y225 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
              G1 H2 X-5 Y-5 F3600 ; go back a few mm
              G1 H1 X225 Y225 F360 ; move slowly to X and Y axis endstops once more (second pass)
              G90 ; absolute positioning
              G1 X-10.875 Y4.375 F3600 ; go to first bed probe point and home Z
              G30 ; home Z by probing the bed

              This is the code that's in the system. It doesn't look like your suggestion? So I'm not sure how to proceed.

              undefined 1 Reply Last reply 27 Jun 2022, 18:32 Reply Quote 0
              • undefined
                fcwilt @A Former User
                last edited by 27 Jun 2022, 18:32

                @mac said in I could use some help:

                @fcwilt

                G91 ; relative positioning
                G1 H2 Z5 F3600 ; lift Z relative to current position
                G1 H1 X225 Y225 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
                G1 H2 X-5 Y-5 F3600 ; go back a few mm
                G1 H1 X225 Y225 F360 ; move slowly to X and Y axis endstops once more (second pass)
                G90 ; absolute positioning
                G1 X-10.875 Y4.375 F3600 ; go to first bed probe point and home Z
                G30 ; home Z by probing the bed

                This is the code that's in the system. It doesn't look like your suggestion? So I'm not sure how to proceed.

                As I mentioned that is the code for homing with a Z probe.

                You have a Z endstop switch as well so you can use that, instead of the Z probe, and get quicker and simpler homing.

                We discussed getting rid of that code and replacing it with my code.

                What happened to doing that?

                Frederick

                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                ? 2 Replies Last reply 27 Jun 2022, 18:34 Reply Quote 0
                • ?
                  A Former User @fcwilt
                  last edited by 27 Jun 2022, 18:34

                  @fcwilt

                  ; homeall.g
                  ; called to home all axes
                  ;
                  ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 06:45:01 GMT-0700 (Pacific Daylight Time)
                  M98 P"homeZ.g"
                  M98 P"homeX.g"
                  Mpo P"homeY.g"
                  ; Uncomment the following lines to lift Z after probing
                  ;G91 ; relative positioning
                  ;G1 Z5 F60 ; lift Z relative to current position
                  ;G90 ; absolute positioning

                  This is what I put in homeall.g's place.

                  undefined 1 Reply Last reply 27 Jun 2022, 18:39 Reply Quote 0
                  • ?
                    A Former User @fcwilt
                    last edited by A Former User 27 Jun 2022, 18:37

                    @fcwilt link text

                    The is Z homing again.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      fcwilt @A Former User
                      last edited by 27 Jun 2022, 18:39

                      @mac said in I could use some help:

                      @fcwilt

                      ; homeall.g
                      ; called to home all axes
                      ;
                      ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 06:45:01 GMT-0700 (Pacific Daylight Time)
                      M98 P"homeZ.g"
                      M98 P"homeX.g"
                      Mpo P"homeY.g"
                      ; Uncomment the following lines to lift Z after probing
                      ;G91 ; relative positioning
                      ;G1 Z5 F60 ; lift Z relative to current position
                      ;G90 ; absolute positioning

                      This is what I put in homeall.g's place.

                      So you where showing me the code from homeall.g - I misunderstood.

                      That code you now have will work fine IF the individual homing files work.

                      You can strip it down to this:

                      ; homeall.g
                      ; called to home all axes
                      M98 P"homeZ.g"
                      M98 P"homeX.g"
                      M98 P"homeY.g"

                      But don't test it until you have verified that homing each axis by itself is working.

                      Frederick

                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                      ? 1 Reply Last reply 27 Jun 2022, 18:40 Reply Quote 0
                      • ?
                        A Former User @fcwilt
                        last edited by 27 Jun 2022, 18:40

                        @fcwilt that's what I'm working on right now.

                        ? 1 Reply Last reply 27 Jun 2022, 18:51 Reply Quote 1
                        • ?
                          A Former User @A Former User
                          last edited by 27 Jun 2022, 18:51

                          @fcwilt

                          link text

                          This the first effort to home X and Y.

                          undefined undefined 2 Replies Last reply 27 Jun 2022, 18:59 Reply Quote 0
                          • undefined
                            fcwilt @A Former User
                            last edited by 27 Jun 2022, 18:59

                            @mac said in I could use some help:

                            @fcwilt

                            link text

                            This the first effort to home X and Y.

                            OK X is behaving very strangely.

                            But as to Y:

                            Is the Y endstop at the front of the machine or the back?

                            Frederick

                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                            ? 1 Reply Last reply 27 Jun 2022, 19:28 Reply Quote 0
                            • undefined
                              alankilian @A Former User
                              last edited by 27 Jun 2022, 19:26

                              @mac I see that the Duet Mini 5+ does not have on-PCB pullups on the IO pins.

                              You need to go to the RRF configurator and select "Active low with pullup" if you are using normally-open switches connected to ground as endstops.

                              Without a pullup, every time a stepper motor starts moving, your machine will start to get signals indicating the endstop switch is being pressed.

                              Capture.PNG

                              SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                              ? 1 Reply Last reply 27 Jun 2022, 19:38 Reply Quote 0
                              • ?
                                A Former User @fcwilt
                                last edited by 27 Jun 2022, 19:28

                                @fcwilt it’s at the back.

                                undefined 1 Reply Last reply 27 Jun 2022, 19:43 Reply Quote 0
                                • ?
                                  A Former User @alankilian
                                  last edited by 27 Jun 2022, 19:38

                                  @alankilian sorry to disappear, texting on this iPhone 8’s a bitch. I’ll make that change and post a video of the results do you can see the results.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    fcwilt @A Former User
                                    last edited by 27 Jun 2022, 19:43

                                    @mac said in I could use some help:

                                    @fcwilt it’s at the back.

                                    So you have a moving bed.

                                    To get to the max end of Y the bed moves toward the front?

                                    To get to the min end of Y the bed moves toward the back?

                                    But stepping Y by minus 10 caused it to move toward the front?

                                    Frederick

                                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                    undefined ? 2 Replies Last reply 27 Jun 2022, 19:57 Reply Quote 0
                                    • undefined
                                      elmoret @fcwilt
                                      last edited by 27 Jun 2022, 19:57

                                      273 posts! 😮

                                      undefined 1 Reply Last reply 27 Jun 2022, 19:59 Reply Quote 0
                                      • undefined
                                        fcwilt @elmoret
                                        last edited by 27 Jun 2022, 19:59

                                        @elmoret said in I could use some help:

                                        273 posts! 😮

                                        A lot I know. We will get mac sorted.

                                        Frederick

                                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                        1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User @fcwilt
                                          last edited by 27 Jun 2022, 20:03

                                          @fcwilt yes, that is what’s happening. The bed did touch the endstop and then back off; that’s an improvement.

                                          undefined 1 Reply Last reply 27 Jun 2022, 20:14 Reply Quote 0
                                          265 out of 682
                                          • First post
                                            265/682
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA